Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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 :)

What I have tried:

I have tryed to play around with JavaScript using "if" and variable elements.
Posted
Updated 8-Sep-17 16:47pm
v3

1 solution

Being eBay, you need to read their Developer[^] & Seller[^] Terms & Conditions & Policies... I am sure that the checkout process needs to be done through them. The best place to ask this type of question is the eBay Developer Forums[^].
 
Share this answer
 
Comments
Member 13400672 9-Sep-17 10:14am    
thank you i'l have a look

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900