News:

Support the VirtueMart project and become a member

Main Menu

Both product quantity options are added to cart

Started by AzMandius, April 06, 2022, 00:13:29 AM

Previous topic - Next topic

AzMandius

Hello,
VirtueMart 3.8.x
Joomla! 3.9.x

Shop has product with 20 and 60 capsules options, created via Cart Variant field


Customer can select 20 or 60 capsules on product detail page (https://npcriz-sklad.ru/katalog/naturalnye-peptidy/tsitomaksy/vse-tsitomksy/gotratiks-tovar)


But on product category page there is no option to select 20 or 60 capsules, only Add to Cart button (https://npcriz-sklad.ru/katalog/naturalnye-peptidy/tsitomaksy/vse-tsitomksy)


So the problem is that on click the Add to Cart button both 20 and 60 capsules are added to cart


How can this issue be solved?

Thank you.
AzBlog.me | Mentally healthy content & lnks.

pinochico

On the demo: http://demo.virtuemart.net

I see dropdown with two prices on the category view.

Then go to demo, login to admin and setup product and his customfiled right as demo.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

AzMandius

My template does not support showing product Cart Variant option in category mode, even on demo (https://demo.virtuemarttemplates.net/joomla3/sensitive/online-store/clothing/ladies.html), this is the main issue i guess, so are you sure your solution will help?
Thanks!
AzBlog.me | Mentally healthy content & lnks.

pinochico

I do not understand :)

The basic idea of displaying products in a category on the e-shop is to display only the Detail button.
I don't want to bother with customer psychology right now, why it's better, but I fully support it.
Only on the product detail can I find out what the size of the t-shirt is and what size is suitable for me, because I will find a table of sizes here.
I will definitely not find it in the category, nor is it appropriate.

However, if you still think you want to see variations on the category, then YES, the template must support it.

If it does not support it, the correct question is not on this forum, but on the template developer, why not created it and how to do it.

If it is not able, then you can ask here on the forum or download the full demo and browse the PHP sublayout product, which is loaded into the view category, so that you view the same as on demo.virtuemart.net

But maybe you expect exactly PHP code how to achieve this?
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

AzMandius

Template author admitted this is a bug. They are going to release an update. Thanks!
AzBlog.me | Mentally healthy content & lnks.