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

TOPIC: Viewing currency basket

Viewing currency basket 7 years 11 months ago #14163

Hello,

for shipping and coupon shows the currency and amount.
How to set to appear first, then the amount of currency?

Kč 0.00 > 0.00 Kč

Sincerely Puchon
Attachments:
The topic has been locked.

Viewing currency basket 7 years 11 months ago #14175

Hi,

1- Open this PHP file: /templates/YOUR_TEMPLATE/html/com_virtuemart/cart/default_pricelist.php

2- Find this line:
<span class="flexibleStepBarRed"><?php echo ($this->cart->pricesUnformatted['salesPriceShipment']) ? $this->currencyDisplay->createPriceDiv ('salesPriceShipment', '', $this->cart->cartPrices['salesPriceShipment'], TRUE) : VmModel::getModel('currency')->getCurrency()->currency_symbol.'0.00'; ?></span>

3- Replace it with this:
<span class="flexibleStepBarRed"><?php echo ($this->cart->pricesUnformatted['salesPriceShipment']) ? $this->currencyDisplay->createPriceDiv ('salesPriceShipment', '', $this->cart->cartPrices['salesPriceShipment'], TRUE) : '0.00 '.VmModel::getModel('currency')->getCurrency()->currency_symbol; ?></span>

4- Find this line:
<span class="flexibleStepBarRed turnGreen"><?php echo ($this->cart->pricesUnformatted['salesPriceCoupon']) ? $this->currencyDisplay->createPriceDiv('salesPriceCoupon','', $this->cart->pricesUnformatted['salesPriceCoupon'],true) : VmModel::getModel('currency')->getCurrency()->currency_symbol.'0.00'; ?></span>

5- Replace it with this:
<span class="flexibleStepBarRed turnGreen"><?php echo ($this->cart->pricesUnformatted['salesPriceCoupon']) ? $this->currencyDisplay->createPriceDiv('salesPriceCoupon','', $this->cart->pricesUnformatted['salesPriceCoupon'],true) : '0.00 '.VmModel::getModel('currency')->getCurrency()->currency_symbol; ?></span>


and you will be good to go.

Regards.
Last Edit: 7 years 11 months ago by Support.
The topic has been locked.

Viewing currency basket 7 years 10 months ago #14222

It works !
Thank you very much.

Sincerely Puchon
The topic has been locked.

Viewing currency basket 7 years 10 months ago #14243

I am glad it works out just fine.

Case solved, topic is closed.

regards.
Support
The topic has been locked.
Time to create page: 0.599 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