- Posts: 10
- Thank you received: 0
Product Price label
- roby1kenoby
-
Topic Author
- Offline
Less
More
8 years 10 months ago #282594
by roby1kenoby
Product Price label was created by roby1kenoby
-- url of the page with the problem -- :
www.2000motors.it
Ciao!
I can modify the style of the proce (color etc) by modifying CSS.... but how to add a label for this field? The price appear at the top of the product but have no label! I need something like : "Price of item : 3.500,00 €"
Is also possible to move this price in another position? where I must operate for this? Thanks!
Ciao!
I can modify the style of the proce (color etc) by modifying CSS.... but how to add a label for this field? The price appear at the top of the product but have no label! I need something like : "Price of item : 3.500,00 €"
Is also possible to move this price in another position? where I must operate for this? Thanks!
Please Log in or Create an account to join the conversation.
8 years 10 months ago #282599
by nicolas
Replied by nicolas on topic Product Price label
Hi,
You'll want to edit the file "show_default" via the menu Display>Views.
There, you can see that the price is displayed by that code:
So you can move it around in the view file to move the price on the product page. And you can add a line like:
echo 'Price of item:';
before it if you want to add such label.
www.hikashop.com/support/documentation/1...-display.html#layout
You'll want to edit the file "show_default" via the menu Display>Views.
There, you can see that the price is displayed by that code:
Code:
$this->row =& $this->element;
$this->setLayout('listing_price');
echo $this->loadTemplate();
echo 'Price of item:';
before it if you want to add such label.
www.hikashop.com/support/documentation/1...-display.html#layout
Please Log in or Create an account to join the conversation.
- roby1kenoby
-
Topic Author
- Offline
Less
More
- Posts: 10
- Thank you received: 0
8 years 10 months ago - 8 years 10 months ago #282663
by roby1kenoby
Replied by roby1kenoby on topic Product Price label
super!! thank you!
Just a word about how to localize it..... 2 language.... wich is the best way?
Just a word about how to localize it..... 2 language.... wich is the best way?
Last edit: 8 years 10 months ago by roby1kenoby.
Please Log in or Create an account to join the conversation.
8 years 10 months ago #282665
by nicolas
Replied by nicolas on topic Product Price label
Hi,
Instead of :
echo 'Price of item:';
you can write:
echo JText::_('MY_TEXT');
And add a line:
MY_TEXT="Price of item:"
in your Joomla translation override.
Instead of :
echo 'Price of item:';
you can write:
echo JText::_('MY_TEXT');
And add a line:
MY_TEXT="Price of item:"
in your Joomla translation override.
Please Log in or Create an account to join the conversation.
Time to create page: 0.218 seconds