News:

Looking for documentation? Take a look on our wiki

Main Menu

Product options (variants) not switching when selected 2nd time

Started by aisdave, June 01, 2016, 20:03:51 PM

Previous topic - Next topic

aisdave

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: https://elliottsfinenutrition.com/store/2073/raw-prenatal-detail 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.

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