Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest
  • Page:
  • 1

TOPIC: discount price show

discount price show 3 years, 5 months ago #42368

Here: demo.smartaddons.com/templates/joomla3/sj-market2/index.php/en/shop/categories-listing-full

How I can show prntscr.com/vf4g85 the % discount and the price crossed out?
thansk

Re: discount price show 3 years, 5 months ago #42395

go to override html in folder
templates\sj_market\html\com_virtuemart\sublayouts\products.php
<?php
					$discount= round($product->prices['discountAmount']);
					$price_old= round($product->prices['priceWithoutTax']);
					$sale= round(($discount/$price_old)*100);
					if($discount) { ?>
						<span class="sale_price">-<?php echo $sale;?>%</span>
					<?php } ?>

Re: discount price show 3 years, 5 months ago #42420

by activating the display of the discounted price from the global configuration, this gives me the possibility to enter a discounted price and therefore have two prices, the old crossed out and the new correct one. The problem that appears 2 prices even if the piece is the same appears for example: € 30.00 and next to € 30.00 crossed out

Re: discount price show 3 years, 5 months ago #42434

Please you go here www.smartaddons.com/support/tickets submit a ticket.
  • Page:
  • 1
Time to create page: 0.20 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes