Generate link to product id
I am running two shops in parallel since we sell products in two currencies and each currency wants to set their prices independently.
All customers will visit a product page of the USD shop, but there will also be an ‘add to cart’ button that adds the same product to the GBP cart.
I’d like to know if there is a way to automatically generate an ‘add to cart’ button that links to the same product id but with a subdomain for the url instead of the domain the shop is on. E.g. the shop is on example.com but the GBP button would link to an identical shop on shop.example.com
I could manually create these buttons on every product page but if there is a way for this to happen automatically I’d prefer that.
- The topic ‘Generate link to product id’ is closed to new replies.