- Posts: 22
- Thank you received: 0
Change code on the product page
12 years 5 months ago #156859
by jamedia
Change code on the product page was created by jamedia
-- url of the page with the problem -- : http://caboverdeonline_com.apache2.cloudsector.net/shop/product/cesaria-evora-cafe-atlantico
-- HikaShop version -- : x.x.x
-- Joomla version -- : 3.2
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message
Hi,
How I can I move the code (SKU) from the right of the title to under the add to cart button and I also would like it completely removed from the latest module.
Thank You in advance
-- HikaShop version -- : x.x.x
-- Joomla version -- : 3.2
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message
Hi,
How I can I move the code (SKU) from the right of the title to under the add to cart button and I also would like it completely removed from the latest module.
Thank You in advance
Please Log in or Create an account to join the conversation.
12 years 5 months ago #156866
by nicolas
Replied by nicolas on topic Change code on the product page
Hi,
For the module, I see that you already found the CSS to remove it.
For the product page, you want to edit the file "show_default" of the view "product" via the menu Display>views and move the code:
before the code:
For the module, I see that you already found the CSS to remove it.
For the product page, you want to edit the file "show_default" of the view "product" via the menu Display>views and move the code:
Code:
<span id="hikashop_product_code_main" class="hikashop_product_code_main">
<?php
echo $this->element->product_code;
?>
</span>
Code:
<span id="hikashop_product_id_main" class="hikashop_product_id_main">
Please Log in or Create an account to join the conversation.
12 years 5 months ago #156953
by jamedia
Replied by jamedia on topic Change code on the product page
After doing a template overwrite with your tutorial everything turn out the way I was hoping for.
Thank You so much
Thank You so much
Please Log in or Create an account to join the conversation.
12 years 5 months ago #156958
by jamedia
Replied by jamedia on topic Change code on the product page
Is it possible to add the word SKU: in front of the code?
Thank You
Thank You
Please Log in or Create an account to join the conversation.
12 years 5 months ago #156962
by Xavier
Replied by Xavier on topic Change code on the product page
Hi,
Yes you will have to edit the view "product / show_default" and add SKU: before:
Yes you will have to edit the view "product / show_default" and add SKU: before:
Code:
<?php
echo $this->element->product_code;
?>
Please Log in or Create an account to join the conversation.
Time to create page: 0.079 seconds