Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Responsive Joomla Virtuemart Template - SportMart (SKU# FLEX-00019)

TOPIC: Multi-variant Issue when an item is out of stock

Multi-variant Issue when an item is out of stock 6 years 5 months ago #15317

Hello, I'm hoping you can be assistance!

I have products with multi-variants (size / colour) - the issue I'm having is that when a product is out of stock it is not obvious to the end user - that is, the size and colour can be selected and when it is added to cart, the parent product is added to the cart. I have attempted to resolve this with the configuration in virtuemart to set it to state that the product is 'not available' but does not do so. I have also tried in VM Flexible Template to enable the 'out of stock' button but this also does not display.

I have included the link - this will make it easier to see what I mean

cuteas.online/index.php/shop/clothing/tshirts/cute-as-t-shirts-pink-detail

The product item that is out of stock is 12-18 month / pink.

I have reviewed the forum and can see that a similar issue was raised a couple of weeks ago (reference #15286). We have tried the same resolution by modifying the JS file but this has not resolved the issue.

Your assistance would be greatly appreciated. Please let me know if you require to log in to have a closer look.

Many thanks
The administrator has disabled public write access.

Multi-variant Issue when an item is out of stock 6 years 4 months ago #15333

Hi,

Please check the live Demo: demo.flexiblewebdesign.com/materialmart/vm-categories-2/product-default-layout

Every time you select something, the page must be refreshed via AJAX; so if the child-product is out-of stock, then the "add to cart" button will be replaced by "Notify Me" button. But yours doesn't work like that; because you are using the wrong custom field type.

You are using the "Type: Plugin" custom field, instead you should have used "Type: Multi Variant" custom field.

For instance, this product: demo.flexiblewebdesign.com/materialmart/vm-categories-2/product-default-layout uses the MultiVariant custom field and its backend settings are:

Custom Field Backend:

Attachment Pasted_Image_10_29_17__10_38_PM.jpg not found




Product Backend:

Attachment Pasted_Image_10_29_17__10_42_PM.jpg not found




Make sure to have the same backend settings as the screenshots above, then everything works just fine in the front-end (just like how things works in our Live Demo page)

Regards
Last Edit: 6 years 4 months ago by Support.
The administrator has disabled public write access.
Time to create page: 0.073 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo