VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: aandcmedia on November 07, 2012, 18:55:51 PM

Title: Add to cart missing
Post by: aandcmedia on November 07, 2012, 18:55:51 PM
I have stockable variants but for some reason the add to cart button is missing:

(http://i.imgur.com/QygtZ.png)
(http://i.imgur.com/ZsstA.png)
Title: Re: Add to cart missing
Post by: bytelord on November 07, 2012, 19:00:33 PM
Hello,

Have you enable for the backend under Configuration-> Shop to use only as catalogue?
Is missing for all products? do you have any template overrides? What is your configuration for availability?
Last you haven't mention your joomla and vm versions.

Regards
Title: Re: Add to cart missing
Post by: aandcmedia on November 08, 2012, 00:13:26 AM
Do not have use only as a catalog
No template overrides
Availability is:  Displays 'Notify Me' instead of 'Add To Cart' button
Title: Re: Add to cart missing
Post by: bytelord on November 08, 2012, 00:37:48 AM
Ohh,

Forget to mention that (that shows notify me instead of add to cart). The settings you have on the backend, so simple.
Notify me appears because you have select from the backend when product is out of stock do not show the add to cart button but Notify me...
Go to Configuration -> Shopfront and at the right top under  Action when a Product is Out of Stock please select the appropriate selection for your needs, like Products Out of Stock are order-able, no special action.

Regards

Title: Re: Add to cart missing
Post by: aandcmedia on November 08, 2012, 01:08:13 AM
But the product is not out of stock? So why would it not show notify me? And the product is in stock so why wouldn't you be able to purchase. I am confused.
Title: Re: Add to cart missing
Post by: bytelord on November 08, 2012, 17:30:27 PM
Hello,

The child products is out of stock?
Title: Re: Add to cart missing
Post by: aandcmedia on November 08, 2012, 23:15:39 PM
No the product is out stock

For sake of argument:

Product (parent)-
xl (child) - 2 units
s (child) -2 units
m (child) -4 units
l (child) -4 units

Yet the product shows out of stock? So what I did was add 12 to the parent product to make the product appear in stock, why would the parent not pick up from the children the amount in stock?
Title: Re: Add to cart missing
Post by: bytelord on November 11, 2012, 23:21:47 PM
Hello,

If you select a parent product, then the add to cart button appeared?
Title: Re: Add to cart missing
Post by: aandcmedia on November 12, 2012, 03:48:46 AM
Maybe we are not on the same page.

I thought having a parent product with child products meant to be sizes (so you can keep track of inventory), the parent product displays the child product as an option (small, medium, large, etc). Is that not how the stock-able variants works?
Title: Re: Add to cart missing
Post by: bytelord on November 12, 2012, 04:09:04 AM
take a look here: http://forum.virtuemart.net/index.php?topic=103561.0
http://forum.virtuemart.net/index.php?topic=102211.msg339667#msg339667
Title: Re: Add to cart missing
Post by: aandcmedia on November 12, 2012, 17:07:25 PM
Gotcha, for future releases this seems like something that needs to be looked at closer, a parent should be pulling inventory data from its children or have a plugin setup to do this for stockable variants in the sense of sizes/colors/etc. This is one of the bigger downfalls in my opinon of virtuemart for a major e-tailor.