Post by docex » Tue Sep 27, 2016 4:37 am

Hi,

I search an extension to hide reduction price on quantity on OpenCart 2.0.1.1

I have circled in red on the attached file that I want to hide

Thanks

Attachments

Untitled-1.jpg

Untitled-1.jpg (429.24 KiB) Viewed 1154 times


Newbie

Posts

Joined
Tue Sep 27, 2016 4:22 am

Post by imdevlper18 » Tue Sep 27, 2016 1:25 pm

Hi,

This are nothing but discounted price. If you have added discount price for product then they will show on product page.
On admin side it is added from admin - catalog - product - edit - discount.

If you want to have discount, but don't want to show this block. Login into your server using cpanel or filezilla.
And go to this file.

catalog/view/theme/default/template/product/product.tpl

In this file, find this line below :

Code: Select all

<?php if ($discounts) { ?>
And change this to

Code: Select all

<?php if ($discounts && 0) { ?>
Save it. Now go to admin - extension - modification - click refresh button on left corner.

The discounts shall be removed.

Opencart Extensions | Professional opencart support | Support Ticket | support@cartbinder.com


User avatar
Active Member

Posts

Joined
Sun May 11, 2014 2:04 pm


Post by docex » Wed Sep 28, 2016 1:13 am

Thank you! it's working

Newbie

Posts

Joined
Tue Sep 27, 2016 4:22 am
Who is online

Users browsing this forum: No registered users and 5 guests