Jump to content

Dissable add to cart in anumite categorii

Recommended Posts


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.



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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

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