change the product page layout

  • Posts: 32
  • Thank you received: 0
12 years 9 months ago #46861

Hello all, my first Hika shop project and I already think it's great, but there are some things I just do not yet understand. Please take a look at my productpage.

My questions:

1. I can't get the image to be bigger. I tried it with CSS but it "blows" the image up and makes it blurry :-(
2. How can I change the order, for instance Specifications and then the Image and then the price, etc...
3. Where can I find to change the "per stuk" thing after the price? Per stuk is dutch for per piece (I guess)

Somehow I don't get the feeling yet, anybody who can me help out?

Thanks in advance!

Marco

Attachments:

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

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 9 months ago #46950

Hi,

1. You don't need any CSS. Just change the corresponding options in the Files tab of the configuration.

2. If you want to change the layout, you need to edit the file "show_default" of your front end template via the menu Display->Views.

3. You can change any text in HikaShop with a translation override:
www.hikashop.com/en/download/languages.html#modify

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

  • Posts: 32
  • Thank you received: 0
12 years 9 months ago #46974

Thank you very much Nicolas! Great help!!

Another question... is it possible in case of the stock, to let the system say IN STOCK in stead of the actual number of how many items there are in stock?

So... now it says... 25 units in stock, but I want it to be... in stock.

Thanks in advance!

Marco

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

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 9 months ago #46982

You can do that with a translation override of that text:
www.hikashop.com/en/download/languages.html#modify

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

  • Posts: 32
  • Thank you received: 0
12 years 9 months ago #47276

Thanks again Nicolas!

Another question, I can't find it out why the default specs from the product are not shown. For instance the product code, the weight or the manufacturer, etc... I mean the items you enter when adding a product. See screenshot...

Marco

Attachments:

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

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 9 months ago #47470

The product code is hidden in CSS. You can display it like that:
www.hikashop.com/en/support/documentatio...ng.html#product_code
The weight can be displayed with the option "Dimensions display" in the Display tab of the configuration.

There is no option to display the manufacturer on the product page. You would have to edit the file "show_default" via the menu Display->Views and add such code :
<?php $class = hikashop_get('class.category');
$manufacturer = $class->get($this->element->product_manufacturer_id);
echo $manufacturer->category_name; ?>

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

Time to create page: 0.061 seconds
Powered by Kunena Forum