crzy4prple Posted October 26, 2010 Share Posted October 26, 2010 On my site (using 1.3.1.1) I have 4 items, nothing fancy. 3 of the items work just fine, the forth is missing the add to cart button. Anyone have ideas?Here's my sitehttp://decolletagebyanne.comHere's the one that's missing the add to cart buttonhttp://decolletagebyanne.com/3-design-your-own.htmlTIA! Link to comment Share on other sites More sharing options...
sebastiann Posted October 26, 2010 Share Posted October 26, 2010 Is the product enabled and in stock and do you allow orders for the product? You find all these settings in the specific product. Probably something went wrong there:) Link to comment Share on other sites More sharing options...
crzy4prple Posted October 26, 2010 Author Share Posted October 26, 2010 yes I allow for order (even when out of stock), there is over 2100 items listed (due to combos), and the product is enabled. Link to comment Share on other sites More sharing options...
rocky Posted October 27, 2010 Share Posted October 27, 2010 The problem is on line 262 of themes/Decolletage/product.tpl: quantity == 0} style="display:none;"{/if} id="add_to_cart" class="buttons_bottom_block"><input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /></p> In this code, {if !$allow_oosp && $product->quantity == 0} is evaluating to true on the page where the button is hidden. That must mean that the product quantity is 0 and the option to allow out-of-stock products to be bought has been disabled. Link to comment Share on other sites More sharing options...
crzy4prple Posted October 27, 2010 Author Share Posted October 27, 2010 As usual Rocky you're a huge help but... lol I'm smarty challenged... what should the code be? or should I change some setting in the shop? Link to comment Share on other sites More sharing options...
tomerg3 Posted October 27, 2010 Share Posted October 27, 2010 Check the product page editor, it may be set to not allow out of stock ordering. Link to comment Share on other sites More sharing options...
crzy4prple Posted October 27, 2010 Author Share Posted October 27, 2010 That didn't work (preferences>products). I just don't understand why it would be ok on 3 of the items and this one would be off? Link to comment Share on other sites More sharing options...
tomerg3 Posted October 27, 2010 Share Posted October 27, 2010 Catalog->Edit Product -> When out of stock: is probably set to "Deny orders " Link to comment Share on other sites More sharing options...
crzy4prple Posted October 27, 2010 Author Share Posted October 27, 2010 Nope it allows for orders... and still no workie Link to comment Share on other sites More sharing options...
tomerg3 Posted October 27, 2010 Share Posted October 27, 2010 it's odd, I see that the Javascript value var allowBuyWhenOutOfStock = true;which was set to false before is correct now, I'm not sure why it's not showing up, I may take a closer look later Link to comment Share on other sites More sharing options...
uktrading Posted April 13, 2012 Share Posted April 13, 2012 Hellp I have the same problem, I see that it is now fixed, could you please tell me how you corrected this. Thanks Chris Link to comment Share on other sites More sharing options...
Werkshai Posted May 13, 2012 Share Posted May 13, 2012 This one had me worried for a while. I think it's just a case of when you force selection of the text option it drops the add to cart button so that the customer is directed to the product page to complete the next step before checkout. Link to comment Share on other sites More sharing options...
apartridge7 Posted June 27, 2013 Share Posted June 27, 2013 Ive found the answer to this. ... or at least the answer to my problem when add to cart button was missing. Simply put you have to have at least 1 combination of every product otherwise it wont show an add to cart button. I see ladders which obv have lots of sizes although i do also sell items that come in 1 size only and it was these 1 size only products that were missing an add to cart button. Hope this helps Link to comment Share on other sites More sharing options...
Ruchi Tiwari Posted July 15, 2019 Share Posted July 15, 2019 On 10/27/2010 at 5:26 AM, sebastiann said: Is the product enabled and in stock and do you allow orders for the product? You find all these settings in the specific product. Probably something went wrong there:) Same problem in my site I am working on free classic theme and imported all the products from nova engel but add to cart button is not working. Link to comment Share on other sites More sharing options...
Ruchi Tiwari Posted July 15, 2019 Share Posted July 15, 2019 1 Link to comment Share on other sites More sharing options...
ComanGeorge Posted January 12, 2020 Share Posted January 12, 2020 Hi Ruchi. How did you solve that? I have the same thing, and i tried all of the above and none worked. Link to comment Share on other sites More sharing options...
Nitin kulkarni Posted January 18, 2020 Share Posted January 18, 2020 Hey guys ! Just go to Shop parameters >> Product setting make Catalog mode 'NO' , Save changes and clear cache. Thats it . 1 Link to comment Share on other sites More sharing options...
Fred Peng Posted June 23, 2020 Share Posted June 23, 2020 On 1/18/2020 at 2:32 PM, Nitin kulkarni said: Hey guys ! Just go to Shop parameters >> Product setting make Catalog mode 'NO' , Save changes and clear cache. Thats it . This is helpful for me. Thanks. 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