Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Product Carousel (SKU# FLEX-00009)

TOPIC: Pricing display... Regular | Sales | Amount Saved

Pricing display... Regular | Sales | Amount Saved 11 years 1 day ago #4390

If you want pricing to display like this in the module
  • Regular Price
  • Sales Price
  • You Save


I applied same logic John pointed out from category> flexv2.php file

echo $this->currency->createPriceDiv('basePrice','COM_VIRTUEMART_PRODUCT_BASEPRICE',$product->prices);

I went to line 164 in mod_flexible_vm_carousel> tmpl> default.php and editted this line.....
orignal line:
echo "<div class=\"FlexibleCarouselPrice\">". $currency->createPriceDiv('salesPrice','',$product->prices,true) ."</div>";

changed to this:
echo "<div class=\"FlexibleCarouselBasePrice\">". $currency->createPriceDiv('basePrice','',$product->prices,true) ."</div>";

Scroll down to the bottom of the page to see the module in action.... 99cables.com/

Trey
Last Edit: 11 years 1 day ago by Trey Braid.
The administrator has disabled public write access.
Time to create page: 0.056 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