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

TOPIC: Shopping Options from Category View

Shopping Options from Category View 8 years 9 months ago #12941

Hi all

I installed Flexible VM3 Template V3.7 on Joomal 3.4 and VM3.0.9.

I also installed Custom Fields For All (v.3.0.3 | 19 June 2015).

The site www.sevens.ch delivers Pizza in 30cm and 40cm with different Prices. The user should be able to order directy from the category view. Now is redirecting to the detail product page. Do i have to configure something to buy directly from the category view?

Cheers Muhi
The administrator has disabled public write access.

Shopping Options from Category View 8 years 9 months ago #12943

Any news? If its not possible i will look for an another solution. Please let me know.
The administrator has disabled public write access.

Shopping Options from Category View 8 years 8 months ago #12959

Hi,

First of all, really sorry for the delayed response. Support crew is on summer vacation thus it causes some delay on replying inquiries.
I left alone from the crew and trying to catch up. But, starting from August 15, all vocations will be over and this problem will be resolved. Everything will be get back to normal like before. Normally our support-get-back time is within 2 business days.

What you need is: "disable the custom-field check on ListView" so the "Add to cart" button will become active and you will be able to add product to cart directly from category page (instead of opening the product page). Normally this won't work on official VM custom field plugin type, but since you are using a 3rd party plugin, it looks like it is working.

Anyway, here is the solution to disable the "disabling the check for custom field on ListView"

1-Open this php file: /templates/YOUR_TEMPLATE/html/com_virtuemart/category/default.php
(or flexv2.php depends on what category page you are using)

2- Look for this line (around 326th line):
if ($field->field_type == "A" || $field->field_type == "E") {
	$customFieldCheck = 0;		
}

3- replace it with this:
if ($field->field_type == "A" || $field->field_type == "E") {
	$customFieldCheck = 1;		
}

That's it.

The "add to cart" button will work normal on category page and will add product to cart directly from category page, ListView (it won't be linked to product details page)

Regards.
Support
The administrator has disabled public write access.
Time to create page: 0.122 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