- Posts: 2
- Thank you received: 0
buy now button instead of Manufacturer URL
7 years 10 months ago - 7 years 10 months ago #302654
by ziso
buy now button instead of Manufacturer URL was created by ziso
Hi
My website is ia migration of old joomla since 1.0 and in Greek my issue is that joomla at its early versions could not handle at first utf-8 and sef and had issues with non latin language.
So years passed and we did not enabled sef on our site, we tried once and we lost most of our traffic back in 2012 so we kept sef off and now we are ok.
I use hikashop as a catalog and its module to advertise randomly products in my visitors.
By not using sef we can not use canonical urls to link buyers to external urls in product view.
But i noticed that the manufacturer url is displayed in product view and this is a solution that would solve my problem
I want to hide the link and the title<<Manufacturer URL:>> and replace it with a code button <<buy now!>> or a jpg/gif image with the link instead.
Can someone give me an example or idea how to do this?
Thanks
My website is ia migration of old joomla since 1.0 and in Greek my issue is that joomla at its early versions could not handle at first utf-8 and sef and had issues with non latin language.
So years passed and we did not enabled sef on our site, we tried once and we lost most of our traffic back in 2012 so we kept sef off and now we are ok.
I use hikashop as a catalog and its module to advertise randomly products in my visitors.
By not using sef we can not use canonical urls to link buyers to external urls in product view.
But i noticed that the manufacturer url is displayed in product view and this is a solution that would solve my problem
I want to hide the link and the title<<Manufacturer URL:>> and replace it with a code button <<buy now!>> or a jpg/gif image with the link instead.
Can someone give me an example or idea how to do this?
Thanks
Last edit: 7 years 10 months ago by Jerome. Reason: adding new lines to make the message more readable
Please Log in or Create an account to join the conversation.
7 years 10 months ago #302665
by nicolas
Replied by nicolas on topic buy now button instead of Manufacturer URL
Hi,
You would have to edit the file "show_block_dimensions" via the menu Display>Views and change the line:
You would have to edit the file "show_block_dimensions" via the menu Display>Views and change the line:
Code:
echo JText::_('MANUFACTURER').': '.'<a href="'.hikashop_contentLink('category&task=listing&cid='.$manufacturer->category_id.'&name='.$manufacturer->alias.'&Itemid='.$Itemid,$manufacturer).'">'.$manufacturer->category_name.'</a>';
Please Log in or Create an account to join the conversation.
Time to create page: 0.042 seconds