Timeline for How to create a link to a product in a different Website/Store View?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 31, 2013 at 17:30 | comment | added | Peter Svegrup | I think the task might be above my experience and code knowledge as I naively thought I could create the links in template rather swiftly. Recognising that this is a forum for pointing the way to solutions, at least when complex, and not a free developer hotline I'll contact you privately and post the solution here when I find it. | |
Oct 31, 2013 at 15:15 | comment | added | Sander Mangel | Well the product ID can be dynamic as you loop through the products you want. But you are required to reload the whole product model under another store ID to get the right URLs | |
Oct 31, 2013 at 9:10 | comment | added | Peter Svegrup | Thanks for the quick reply! If I understand it correctly you have some statics in your code of which 'the other store ID' is fine but 'product ID' needs to be programmatic as there are about 500 product pages to add the link to. Is that possible? Url keys will be the same as I'm creating the respective links to stay within the same locale, ie storeID=3 goes to storeID=1 and 4 goes to 2. Please see my updated code example above. | |
Oct 30, 2013 at 10:41 | history | answered | Sander Mangel | CC BY-SA 3.0 |