Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Responsive Joomla Virtuemart Template - SportMart (SKU# FLEX-00019)

TOPIC: Price for size isn't updating

Price for size isn't updating 7 years 4 months ago #14742

I have the same issue as described in topic Variant Price not Updating.
I see that problem on my site and on base demo installation of SportMart (QuickStart).
For reproduce, just set price for the size field of some product. Then just see the product cart.

Please help to resolve it.
Last Edit: 7 years 4 months ago by Valeriy Orlov.
The topic has been locked.

Price for size isn't updating 7 years 4 months ago #14744

Hi Support Guys!
Do you have any info about issue? It's really stopper for me.
I'm ready to provide any additional info if you wish.
Thanks!
The topic has been locked.

Price for size isn't updating 7 years 4 months ago #14749

Hi,

Yes, you are right. The "price" is not being updated dynamically when you select the custom field that has MINUS or ADDITIONAL price. But this doesn't change the fact that, the price of the added product gets changed.

Attachment Pasted_Image_12_2_16__1_10_AM.jpg not found



The reason why the "dynamic" price update doesn't work is, because we are not using the ordinary "select" box. Instead, we use a plugin called "FancySelect" to change the style of ordinary dropdown select box into a fancy and good looking dropdown select box. You can notice this effect.

Attachment Pasted_Image_12_2_16__1_14_AM.jpg not found



This fancySelect plugin doesn't work synchronously with the "dynamic" price updates that come with Virtuemart Core. It would; but then lots of customizations would be necessary in the dynupdate.js file; this is something we don't want to do, because most people want to keep their right to update Virtuemart without updating the SportMart. Beside; touching the VM core files is always bad idea and should be at the minimum level.

If this "dynamic" price update is really important for you (as i said, once the product is added to cart, the price change gets reflected, so theoretically everything works just fine; it is all about "displaying" in the product details page). Then you must disable this FancySelect plugin and get back to ordinary select box.

To disable the fancySelect plugin, open this PHP file:
ROOT//templates/flexible_sportmart/tpls/blocks/head.php

find this line:
$.fn.FlexibleFancySelect();

and replace it to this:
// $.fn.FlexibleFancySelect();

The result will be:

Attachment Pasted_Image_12_2_16__1_18_AM.jpg not found



FYI: If i were you i would leave the fancySelect plugin active, as fancySelect offers better UX comparing to "dynamic" price-update.

If you are satisfied with the support you have received; Can you please “Write a Review” on the URL below?
www.flexiblewebdesign.com/Joomla-Virtuemart-Templates/SportMart (this is our website, you don’t need to register to write review, you can use your existing account with us)

Rate the SportMart and write couple of sentences to share your experience with the support-team. Just 2-3 sentences would be enough ;) It might sound simple to you, but it is extremely important. Potential customers care about product reviews very much.

Thanks in advance!

Regards,
Support
The topic has been locked.

Price for size isn't updating 7 years 4 months ago #14752

Thanks for your answer. I've disabled FancyBox. Dynamic update works fine now.
Thank you very much! I will write a review when I've done my site.
The topic has been locked.

Price for size isn't updating 7 years 4 months ago #14764

Good to hear this is the patch you were looking for.

Case solved, topic is closed.

Regards
The topic has been locked.
Time to create page: 0.090 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo