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

TOPIC: add to cart button doesn't show choose varient

add to cart button doesn't show choose varient 8 years 10 months ago #12764

Hi,

In Internet Explorer and Safari the add to cart button adds product directly to cart instead of button dropdown choose varient.

www.vipsfashion.nl/t-shirts-en-shirts/

In Firefox it seems to work right.

Hope there's a fix, thank you.
The administrator has disabled public write access.

add to cart button doesn't show choose varient 8 years 10 months ago #12781

Hi,

Anyone there...?
The administrator has disabled public write access.

add to cart button doesn't show choose varient 8 years 10 months ago #12786

Are you on vacation?
The administrator has disabled public write access.

add to cart button doesn't show choose varient 8 years 10 months ago #12793

Hi,

I am seeing you are using E type custom field (which should have prevent adding product to cart through category page)
If this is the case, then the "add to cart" button should open the "Product Details Page" upon clicking; instead of adding the product to cart. This behavior will always be the SAME, regardless of browser, because it can't rely on the browser type.

See the example in the Live Demo of CleanMart:

1- click this link:
demo.flexiblewebdesign.com/cleanmart/index.php/vm-categories/default-layout-2

2- See this product:
PRODUCT 01 [DEFAULT]

But it doesn't work like this on your website. There are 2 possible solutions i can offer you:

SOLUTION #1: (Follow this solution, if you are using VM3.x)
1- Open the Virtuemart Backend >> Custom Fields
2- Find the custom field and click it.
3- Make sure the "Cart Attribute" is selected as YES
4- Make sure the "Cart Input" is selected as YES
5- Make sure the "Layout position" field is "addtocart" (this is so important, layout position field must say addtocart )

Attachment Pasted_Image_6_18_15__12_47_AM.png not found




SOLUTION #2:
You might have modified the category PHP file:
/templates/YOUR_TEMPLATE/html/com_virtuemart/category/default.php (default.php or flexv2.php)

and broke the algorithm to check whether the product has a "cart-attribute custom field or not". Take the /category/ folder from the original CleanMart ZIP file, and overwrite it to there on your server (just for testing):
/templates/YOUR_TEMPLATE/html/com_virtuemart/category/

and see how "add-to"cart" button behaves after this movement. It shouldn't add the product to cart.



Regards.
Last Edit: 8 years 10 months ago by Support.
The administrator has disabled public write access.
Time to create page: 0.042 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