VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: Schot on August 23, 2016, 16:30:59 PM

Title: Amount variations of product -> HOW??
Post by: Schot on August 23, 2016, 16:30:59 PM
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!
Title: Re: Amount variations of product -> HOW??
Post by: GJC Web Design on August 23, 2016, 17:30:55 PM
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
Title: Re: Amount variations of product -> HOW??
Post by: jenkinhill on August 23, 2016, 18:17:44 PM
Also have you looked at the quantity pricing plugins here: http://extensions.virtuemart.net/component/search/?searchword=quantity&searchphrase=all&Itemid=137
Title: Re: Amount variations of product -> HOW??
Post by: Schot on September 05, 2016, 15:24:29 PM
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...