Jump to content
axafarm

Dissable add to cart in anumite categorii

Recommended Posts

Salut,

As dori sa scot add to cart pentru anumite categorii, este vre-o solutie pentru asta? Cum as face din cod sau daca e vre-un modul ceva care sa faca asta dar nu am reusit sa gasesc pana acum. Am prestashop 1.7.5, daca aveti vre-o idee ceva sau daca stiti un modul care ar face asta m-ar ajuta enorm.

 

Multumesc!

Share this post


Link to post
Share on other sites

Am reusit, a trebuit sa fac bulk update pentru produsele care nu vreau sa le vand online prin available_for_order set to "0". Dupa care am facut un {if $product.available_for_order} ...(afiseaza add to cart in producuct list & product) 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More