Jump to content

Product Link across shops - multistore


richta2

Recommended Posts

I have two stores and I want do link on product (same) from first to second shop in theme template.
Is there any solution?
Anything like <a href="{$link->getProductLink($shop_id->2)}>

Why? First web is catalog and second is e-shop.

Link to comment
Share on other sites

list of available params:

public function getProductLink($product, $alias = null, $category = null, $ean13 = null, $id_lang = null, $id_shop = null, $ipa = 0, $force_routes = false, $relative_protocol = false, $add_anchor = false)

 

as you can see, there is id_shop param :-) so you can define the id of the shop.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...