Change the purpose of Maufacturer URL

  • Posts: 17
  • Thank you received: 0
13 years 8 months ago #10042

Hello!
Is there a way to change the way manufacturer Url appears in the frontend? In my case, we are also the manufacturer, and every product has a page description somewhere in the same website. I would like to replace the "Manufacturer URL : www.mysite.com/product.html " with a Description link (without the actual http address following.
Thank you! Hope this is doable.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 8 months ago #10048

Hi,

You can edit the file show of the view product via the menu Display->Views and change the line:
echo JText::sprintf('MANUFACTURER_URL','<a href="'.$this->element->product_url.'" target="_blank">'.$this->element->product_url.'</a>');
to what you need.
I'm not sure I understand what you mean by "Description link (without the actual http address following." so I can give the precise code...

Also, if you use variants, you would have to replace the line:
echo JText::sprintf('MANUFACTURER_URL','<a href="'.$variant->product_url.'" target="_blank">'.$variant->product_url.'</a>');
in the same manner.

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

  • Posts: 17
  • Thank you received: 0
13 years 8 months ago #10050

Thank you!
I changed what you said and it's doing exactly what I want.
Could I also ask something else?
Shouldn't Shipping methods also appear on the checkout page? I have added 2 types on the HikaShop manual shipping plugin but they don't show. The payment method (even though I just have one) is showing alright.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 8 months ago #10052

Please check the different points of that FAQ: www.hikashop.com/support/documentation/i...ins-listing.html#faq

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

  • Posts: 17
  • Thank you received: 0
13 years 8 months ago #10057

I'll check it out. Thank you!

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

Time to create page: 0.062 seconds
Powered by Kunena Forum