Hello guys,
I’m involved in digital marketing which involves promoting goods on eBay through my website.
Each product has an assigned link that takes the customer to the PayPal buying page. I can use this link to assign it to the “buy now” button when customers add an item in the basket.
However, as I have around 16 products on my website I need a code that can identify witch products have been added to the basket and then generate a link (that has already been established for each combination) that matches what’s in the basket. I have of course been able to create baskets on eBay with all the possible combinations of products tougher including quantity combinations etc. However, I was wondering how exactly would I implement this variable system into code.
I know a little bit of JavaScript and understand you can assign “IF” factors and variables. Would anyone know how to start writing this code and solve my problem. A template would be amazing.
Thanks, Hope someone can help