Move item number from title to below Brand:XXXX
- Arthur1775
-
Topic Author
- Offline
Less
More
11 years 7 months ago #192601
by Arthur1775
Move item number from title to below Brand:XXXX was created by Arthur1775
-- url of the page with the problem -- :
www.ravenhillproducts.com
-- Joomla version -- : 3.
Hello, Loving Hika shop. I would like to move the item number from behind the title and put it below brand preceded with the words "Item Number"
See Photo. Thanks
Ken
-- Joomla version -- : 3.
Hello, Loving Hika shop. I would like to move the item number from behind the title and put it below brand preceded with the words "Item Number"
See Photo. Thanks
Ken
Please Log in or Create an account to join the conversation.
11 years 7 months ago #192604
by lousyfool
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Replied by lousyfool on topic Move item number from title to below Brand:XXXX
Hi,
First, study this tutorial for the procedure: www.hikashop.com/support/support/documen...-display.html#layout
1. You'll have to edit the view "product / show_default" for your frontend template.
2. In this view, 2ove this block:
to just before this line
3. Replace "span" with "div".
4. Replace the line
with
Then study this tutorial to "translate" the new namekey: hikashop.com/download/languages.html#modify (the last section = "How to modify...")
5. As a new language override, add this line:
Test in frontend, should work fine.
Of course, products need to have product codes entered, and the display of the product code must be enabled in the configuration.
First, study this tutorial for the procedure: www.hikashop.com/support/support/documen...-display.html#layout
1. You'll have to edit the view "product / show_default" for your frontend template.
2. In this view, 2ove this block:
Code:
<?php if ($this->config->get('show_code')) { ?>
<span id="hikashop_product_code_main" class="hikashop_product_code_main">
<?php
echo $this->element->product_code;
?>
</span>
<?php } ?>
to just before this line
Code:
<div id="hikashop_product_quantity_main" class="hikashop_product_quantity_main">
3. Replace "span" with "div".
4. Replace the line
Code:
echo $this->element->product_code;
Code:
echo JText::_('ITEM_NUMBER_CUSTOM').': '.$this->element->product_code;
Then study this tutorial to "translate" the new namekey: hikashop.com/download/languages.html#modify (the last section = "How to modify...")
5. As a new language override, add this line:
Code:
ITEM_NUMBER_CUSTOM="Item Number"
Test in frontend, should work fine.
Of course, products need to have product codes entered, and the display of the product code must be enabled in the configuration.
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
- Arthur1775
-
Topic Author
- Offline
11 years 7 months ago #192799
by Arthur1775
Replied by Arthur1775 on topic Move item number from title to below Brand:XXXX
That was perfect instructions. Worked first time and looks good.
Thanks for your help!
Ken
Thanks for your help!
Ken
Please Log in or Create an account to join the conversation.
Time to create page: 0.200 seconds