Author Topic: Amount variations of product -> HOW??  (Read 1219 times)

Schot

  • Beginner
  • *
  • Posts: 11
  • A beginner
Amount variations of product -> HOW??
« 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!

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9176
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Amount variations of product -> HOW??
« Reply #1 on: August 23, 2016, 17:30:55 pm »
Quote
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...

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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27565
  • Always on vacation
    • Jenkin Hill Internet
Re: Amount variations of product -> HOW??
« Reply #2 on: August 23, 2016, 18:17:44 pm »
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.6.8.10197 on Joomla 3.9.13 PHP 7.0.33

Schot

  • Beginner
  • *
  • Posts: 11
  • A beginner
Re: Amount variations of product -> HOW??
« Reply #3 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...