Skip to main content

Common price problem (MSRP)

More
13 years 6 months ago #95557 by djundi
Hi Jerome, i need from a little help, how to hide common price in to product page in site part ?

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #95593 by Jerome
Hi,

Please replace
Code:
if(isset($this->row->product_msrp) && @$this->row->product_msrp != '0' && JRequest::getCmd('layout') == 'show'){ ?>
By
Code:
if(!empty($this->row->product_msrp) && $this->row->product_msrp > 0.0 && JRequest::getCmd('layout') == 'show'){ ?>
In the view "product listing_price".
And same thing for the line (a little below in the file)
Code:
if(isset($this->row->product_msrp) && @$this->row->product_msrp != '0' && JRequest::getCmd('layout') == 'show')
By
Code:
if(!empty($this->row->product_msrp) && $this->row->product_msrp > 0.0 && JRequest::getCmd('layout') == 'show')
Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: djundi

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #95811 by djundi
Perfect ! Thanks :)

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #194234 by BloodyBakala
1. Do you know how to cross the letters and price for common price and the price?

example:
[strike]common price
50 $USD[/strike]

Our Price
30 $USD

2. And if also possible to change the language label for it. Instead of Common Prince and Our Price for the Spanish Translation.

[strike]Precio en otras webs
50 $USD[/strike]

Nuestro Precio
30 $USD

From today I am learning php for you. Thank you

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #194316 by nicolas
Hi,

1. You can do that with CSS:
www.hikashop.com/support/support/documen...ize-the-display.html
.hikashop_product_msrp_price .hikashop_product_price{ text-decoration: line-through; }

2. You can change the text as explained here:
hikashop.com/download/languages.html#modify

Note that these do not require any PHP.

Please Log in or Create an account to join the conversation.

Time to create page: 0.172 seconds
Powered by Kunena Forum