rufus Posted November 30, 2013 Share Posted November 30, 2013 Hi evreybody I would like to know how to hide "add to cart" button when a promotion finish ? I mean if i choose times for promotions, how to disable "add to cart" button when time is over ? Sorry for my bad english and thanks for those who can help me Link to comment Share on other sites More sharing options...
vekia Posted November 30, 2013 Share Posted November 30, 2013 hello where exactly you want to disable this button? im asking because i know several places where add to cart button appears. also, what theme and ps version you use? Link to comment Share on other sites More sharing options...
El Patron Posted November 30, 2013 Share Posted November 30, 2013 try this, duplicate the product, set it's out of stock behavior to 'no reorder', the original product, disable. Then when the promotion ends the add to cart button will be 'grayed' out. You will need to manually deal with the original product post promotion. Link to comment Share on other sites More sharing options...
rufus Posted November 30, 2013 Author Share Posted November 30, 2013 (edited) Hi Vekia and thanks for you interest Really you are a great moderator and very helpful like always I hope you can help me this time When promotions ends, i would like to disable this button everywhere it appears (product, product-list, home featured...) the theme is the default theme, PS version 1.5.6, with a countdown add on product pages with time decreasing on specials offers, promotions. Edited November 30, 2013 by rufus (see edit history) Link to comment Share on other sites More sharing options...
rufus Posted November 30, 2013 Author Share Posted November 30, 2013 (edited) Muchas gracias EL Patron pero no es lo que busco Me gustaria solo que el buton disaparece al fin del tiempo de las promociones Edited November 30, 2013 by rufus (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted November 30, 2013 Share Posted November 30, 2013 Mucahs gracias EL Patron pero no es lo que busco Me gustaria solo que el buton disaparece al fin del tiempo de las promociones native prestashop does not support this.. this looks like a good solution if I understand your requriements http://addons.prestashop.com/en/pricing-promotion-prestashop-modules/2221-countdown-specials.html Link to comment Share on other sites More sharing options...
rufus Posted November 30, 2013 Author Share Posted November 30, 2013 (edited) Thanks for the addon but i already got all the functions of this addon The only one i missed is to hide "add to cart" button when times finish on specials sales Edited November 30, 2013 by rufus (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted December 1, 2013 Share Posted December 1, 2013 it's a pain for my eyes to read in spanish language in english section 1 Link to comment Share on other sites More sharing options...
El Patron Posted December 1, 2013 Share Posted December 1, 2013 Thanks for the addon but i already got all the functions of this addon The only one i missed is to hide "add to cart" button when times finish on specials sales you would need to pass indicator to product.tpl that tell it not to display the add to cart button, i.e. indicated that the promotion is over. as you don't use a module I assume you have customized all the other parts and just have this piece left to do. Link to comment Share on other sites More sharing options...
rufus Posted December 3, 2013 Author Share Posted December 3, 2013 You're right El Patron : that's the only piece left to do on what i'm looking for... I tried many pieces of code but no luck. If someone know how to do this, it would be perfect. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now