cam14 Posted November 21, 2014 Share Posted November 21, 2014 Hi, we use the default theme and on our site with products that are out of stock the field for customers to enter their e-mail adress is missing. Compared to the demo Prestashop site we see a difference in the Mail Alert module, but we do'nt know how to fix the problem. Link to comment Share on other sites More sharing options...
NemoPS Posted November 25, 2014 Share Posted November 25, 2014 does the #ooshook box have display:none set in the css? Link to comment Share on other sites More sharing options...
Photon Posted January 29, 2015 Share Posted January 29, 2015 (edited) Hello, I have the same problem. The div "ooshook" is empty, logged or not as a client. with a product's stock set to 0 or -1. no css settings for this part. I'm testing Presta 1.6.0.11. with default-bootstrap theme . the module is in v3.4.6 If someone have an idea Edited January 29, 2015 by Photon (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted January 30, 2015 Share Posted January 30, 2015 edit: i'm blind Are you sure there is any module hooking to actionProductOutOfStock? Link to comment Share on other sites More sharing options...
Photon Posted January 31, 2015 Share Posted January 31, 2015 Hello, the module is attached to actionProductOutOfStock Hook. but is it the same hook in product.tpl code ? <!-- Out of stock hook --> <div id="oosHook"{if $product->quantity > 0} style="display: none;"{/if}> {$HOOK_PRODUCT_OOS} </div> a screen of my website with firebug: Thanks for help, regards Link to comment Share on other sites More sharing options...
NemoPS Posted February 2, 2015 Share Posted February 2, 2015 It is: 'HOOK_PRODUCT_OOS' => Hook::exec('actionProductOutOfStock', array('product' => $this->product)), Link to comment Share on other sites More sharing options...
Recommended Posts