News:

Looking for documentation? Take a look on our wiki

Main Menu

Amount variations of product -> HOW??

Started by Schot, August 23, 2016, 16:30:59 PM

Previous topic - Next topic

Schot

We are setting up a webshop in which 'nuts' are sold. Each sort of nut is available in several amounts (weights).
The more weight, the lower the overall price.

250 gram -> 1 Euro
500 gram -> 1,75 Euro
1000 gram -> 3,25 Euro

HOW can I do this??? I've tried several options:

This description: http://www.gjcwebdesign.com/joomla-virtuemart-tips/793-virtuemart-3-add-a-simple-cart-select-variant-by-custom-fields.html
Problem: the option prices are shown as ADDITIONAL costs, but it must be the FINAL costs...
(Custom field 'String' is used here)
This is the most beautiful option, but if I could only get the price per option as final price... In stead of ADDITIONAL price...


This VERY nice solution: http://forum.virtuemart.net/index.php?topic=127362.0
But this one does not calculate TAX in the variant's prices...
And it does not work OK in Virtuemart modules like 'VirtueMart Products' to have a subset on for example the front page of your website... (selection does not work)


The Multi Variant version, tried to copy the example https://demo.virtuemart.net/multi-variant-12-detail with the Mulit Variant demo product. Created the custom field 'Multi Variant'.
Problem: it creates child products for which a lot of additional editing must be done, for example TAX rules must be applied and stock must be added.
Not all childs are displayed (it ignores the first child??)
When I want to display it as a radio button list, selecting the options does not update the price displayed (screen 'freezes') (pull down list works ok on price updating)
This is rather a complex solution which I try to avoid...

I would be VERY grateful if someone could give me a very brief description how to fix this or give a hint in the right direction. I am SO CLOSE, but still have not managed to get it working OK...

MANY thanks!

GJC Web Design

QuoteThis description: http://www.gjcwebdesign.com/joomla-virtuemart-tips/793-virtuemart-3-add-a-simple-cart-select-variant-by-custom-fields.html
Problem: the option prices are shown as ADDITIONAL costs, but it must be the FINAL costs...
(Custom field 'String' is used here)
This is the most beautiful option, but if I could only get the price per option as final price... In stead of ADDITIONAL price...

if this all works EXCEPT just the FE display of prices then it shouldn't be too much work to display the price correctly (I haven't looked)
but the display of customs is now templated so it should be possible without hacks
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Schot

Nope... Did not work. I think this is our last project in VM... Too many 'simple' things don't work 'out of the box'.

I should have done my preparation better for this project...