Author Topic: Product options (variants) not switching when selected 2nd time  (Read 857 times)


  • Beginner
  • *
  • Posts: 1
  • A beginner
The retail store we've created has numerous products with different sizes, which we've set up as child products to the main products.  They show as options in a dropdown and selecting any option first tie through and adding to cart works fine. But after selecting each one (without leaving the product) and seeing the qty/prices change just fine, upon going back again and selecting a previous option, the prices do not change. Even though the options box shows the correct selection, the price of the last previous option (first time through) you've selected  is used in the add to cart, not the one you actually want. This only occurs when selecting each option to see which options are available but then returning to a previous option as the one you want.  The first time through if you add to cart one of the options the correct pricing shows and is added to the cart properly. Second time through, no. See: as an example of one such product.

Using Joomla 3.5.1 with VirtueMart 3.0.16, PHP Version 5.4.45 on an active site operating for several years, with only this year implementing the options/variants. Prior to combining, had them as separate products.


  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27636
  • Always on vacation
    • Jenkin Hill Internet

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.11 10252 on Joomla 3.9.14 PHP 7.0.33