Display Manufacturer

  • Posts: 108
  • Thank you received: 1
11 years 7 months ago #140978

Hi,

I was able to display the manufacturer earlier but after adjust the style to table it appears to have been removed in the product page. Is there a way to keep the same product format, but also continue to show the manufacturer?

BTW - thanks for the support! You have been very very helpful!

M

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

  • Posts: 12953
  • Thank you received: 1778
11 years 7 months ago #141004

Hi,
Did you done some modifications through the file "Show_default" or "Show_tabular" of the "product" view of your front-end template through the page "Hikashop->Display->Views" ?

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

  • Posts: 108
  • Thank you received: 1
11 years 7 months ago #141056

Okay, I have not modified any frond-end.

Can you just tell me where to change this? Or how to add this?

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

  • Posts: 26266
  • Thank you received: 4044
  • MODERATOR
11 years 7 months ago #141132

Hi,

Please provide a link to your website product page and a screenshot of your product configuration.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 108
  • Thank you received: 1
11 years 7 months ago #141612

Here you go.

naturalsports.cloudaccess.net/component/...mag.html?Itemid=1070 and see attached.

Thank you,

Martin

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
11 years 7 months ago #141670

Hi,
Can you show me how did you configured you product through some screenshots ? Also, can you for example add a weight to your product and see if the tab "specification" is showing through your product page.

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

  • Posts: 108
  • Thank you received: 1
11 years 7 months ago #141714

Sure thing, see attached

Even adding weight I don't see anything. I also see that the brand in now in specifications. Originally, the brand was right beside the ranking stars. How do I show the brand associated with the product for the category landing page showing all the products, and within the product page itself?

Thanks again!

Martin

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

  • Posts: 12953
  • Thank you received: 1778
11 years 7 months ago #141739

If you want to display your product manufacturer just after your product ranking stars, you'll have to edit the "show_tabular" file of the "product" view of your front-end template through the page "Hikashop->Display->Views", and add this code :

if($this->config->get('manufacturer_display', 0) && !empty($this->element->product_manufacturer_id)){
  $class = hikashop_get('class.category');
  $manufacturer = $class->get($this->element->product_manufacturer_id);
  global $Itemid;

  $categoryClass = hikashop_get('class.category');
  $categoryClass->addAlias($manufacturer);
  echo JText::_('MANUFACTURER').': '.'<a href="'.hikashop_completeLink('category&task=listing&cid='.$manufacturer->category_id.'&name='.$manufacturer->alias.'&Itemid='.$Itemid).'">'.$manufacturer->category_name.'</a>';
}
just after these lines :
  <div id="hikashop_product_vote_mini" class="hikashop_product_vote_mini">
    <?php
    //LAYOUT show the rating stars
    if($this->params->get('show_vote_product') == '-1'){
      $this->params->set('show_vote_product',$config->get('show_vote_product'));
    }
    if($this->params->get('show_vote_product')){
      echo $layout_vote_mini;
    }
    ?>
  </div>
  <?php

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

  • Posts: 108
  • Thank you received: 1
11 years 6 months ago #142721

Mohamed, thanks for the help with this -worked perfectly!

One additional question, as I am not a php'r. Is there a way of adding one line of space between the votes and brand, and also add a nice clean grey box around the entire product image space (which would also include votes and brand)?

Thanks,

Martin

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

  • Posts: 108
  • Thank you received: 1
11 years 6 months ago #142724

Hi again,

I just realized the brand is not displaying in the category landing pages for each product. I thought the solution you provided in this ticket would also address this because the vote shows there as well. See attached.

How can I see the brand with the product? So for each product box i would like to see a product picture, price (which is phone number for now), product name, brand, votes?

Thank you :)

Martin

my site is naturalsports.cloudaccess.net/natural-sp.../22-baitcasters.html

Attachments:

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

  • Posts: 26266
  • Thank you received: 4044
  • MODERATOR
11 years 6 months ago #143070

Hi,

Mohamed explain you how to override the view for the product page because your question was about the product page, not the product listing.
If you want to display the brand in the product listing, you have to override the view of the type of the product listing you are using.
www.hikashop.com/support/support/documen...ize-the-display.html

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: mdraeger

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

Time to create page: 0.057 seconds
Powered by Kunena Forum