Problem with brands

  • Posts: 29
  • Thank you received: 0
11 years 10 months ago #126564

-- url of the page with the problem -- : www.lienocka.sk
-- HikaShop version -- : 2.2.1
-- Joomla version -- : 2.5.14

Hi, first I would like to thank you for the great product.
I am experiencing a problem with showing the brands pages. For example - I have products with a brand "Badger". When customer click on the product page to the name of the manufacturer "Badger" it should take him to the "Badger" page.

The problem is, that this is sometimes truth:
- www.lienocka.sk - click on "Bio aromaterapeutické produkty" , then on any product, and finally on "Badger"

and sometimes is not:
- www.lienocka.sk - move pointer to "Bio aromaterapeutické produkty", then click on any product from the menu, and finally on "Badger"

Thank you very much for your help.

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

  • Posts: 26266
  • Thank you received: 4044
  • MODERATOR
11 years 10 months ago #126645

Hi,

It's a menu id problem.
You have a working menu here :
www.lienocka.sk/lmenu-bio-aromaterapeuti...y/category/20-badger

And a non working menu here :
www.lienocka.sk/lmenu-bio-aromaterapeuti...m/category/20-badger

The second one is a product page menu so it can't handle correctly the link to a category listing.

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: 29
  • Thank you received: 0
11 years 10 months ago #126655

Thanks for answer. I understand, but how can I make the correct link to category listing from the second product page?

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

  • Posts: 13201
  • Thank you received: 2322
11 years 10 months ago #126731

Hi,

You can probably edit the view "product / show_default" and replace :

		if (!empty ($this->element->product_url)) {
			//DISPLAY the manufacturer
			echo JText :: sprintf('MANUFACTURER_URL', '<a href="' . $this->element->product_url . '" target="_blank">' . $this->element->product_url . '</a>');
		}
By:
		if (!empty ($this->element->product_url)) {
			//DISPLAY the manufacturer
			echo JText :: sprintf('MANUFACTURER_URL', '<a href="' . JUri::base().'lmenu-bio-aromaterapeuticke-produkty/category/'.$this->element->product_manufacturer_id . '" target="_blank">' . $this->element->product_url . '</a>');
		}

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

  • Posts: 29
  • Thank you received: 0
11 years 10 months ago #126862

Hi Xavier,

can you please explain where is the view "product / show_default" located? Thanks

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

  • Posts: 26266
  • Thank you received: 4044
  • MODERATOR
11 years 10 months ago #126866

Hi,

In the HikaShop backend: Display > Views.
you have to edit the view "front-end | your_frontend_template | product | show_default".

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: 22
  • Thank you received: 1
  • Hikashop Business
11 years 7 months ago #138026

I have the same issue but it wasn't fixed the above view edit
where it doesn't work it adds ?Itemid= to the brand URL and shows no products, how can I fix this?

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

  • Posts: 84237
  • Thank you received: 13681
  • MODERATOR
11 years 7 months ago #138034

You need to adapt the code we provided to the alias of your menu item.

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

  • Posts: 22
  • Thank you received: 1
  • Hikashop Business
11 years 7 months ago #138036

I'm not sure I know what that means. please have a look at our website is safka.co.nz and let me know what do we need to add into this code to make it work for all displayed modules?

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

  • Posts: 84237
  • Thank you received: 13681
  • MODERATOR
11 years 7 months ago #138113

I don't understand what you want to do. This thread is about adding the brand on the product page. And you're talking about modules where you can't display product pages.
Please detail exactly what you want to do on which page (maybe with a link to the exact page and a screenshot showing where you want to add what?).

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

  • Posts: 22
  • Thank you received: 1
  • Hikashop Business
11 years 7 months ago #138179

this is about the link to Brands on the product page! they don't work when you click onto a product page from any displayed hikashop module.

Click on any product on our homepage www.safka.co.nz and the Brand link will not work!
for example you will land on this product page
safka.co.nz/index.php/component/hikashop...stmas-chocolate.html
the Brand link will point to safka.co.nz/index.php/component/hikashop...eregger.html?Itemid= which will not display any products from that brand

meanwhile, if you follow the product categories to the product pages, the Brands link works fine
for example from safka.co.nz/index.php/categories/category.html through to safka.co.nz/index.php/categories/categor...ing-ingredients.html to this prodict page safka.co.nz/index.php/categories/product...ory_pathway-107.html
the Brand link on that product page is safka.co.nz/index.php/categories/category/55-ruf.html and it works

I hope this clarifies the problem and you will be able to tell me how to fix it thanks

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

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

Hi,
Can you go :
- Go to "Hikashop->Display->Content modules"
- Go to the configuration page of the module which are displayed through "home" menu of your website.
- Make sure that you have set the "Menu" option of your Hikashop content modules to "Brands".

Hope this will solve your problem.

The following user(s) said Thank You: jarinz

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

  • Posts: 22
  • Thank you received: 1
  • Hikashop Business
11 years 7 months ago #138347

many thanks, that fixed it!

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

Time to create page: 0.116 seconds
Powered by Kunena Forum