Place a product into the basket

Hey there,

i want to put/send a product from a static phpsite with different attributes into the basket.
How can i do that?

Greets
Jan-Paul

p.s.: sorry for my english.

[QUOTE=JanPaul183;43741]Hey there,

i want to put/send a product from a static phpsite with different attributes into the basket.
How can i do that?

Greets
Jan-Paul

p.s.: sorry for my english.[/QUOTE]

Is the file on the same server / domain? Why don’t you place your code into OXID?

Joscha

Hi Joscha,

thank you for your anwser.

I putted the code into OXID but my mainproblem is to send the variables from this page into the basket so that i have a product that is created by this page and not from OXID because of the different attributes that the product has which created by the phpsite.

The phpsite makes a lot of realtime calculations and now i want all these attributes and the calculated price (by chosing different attributes) send into the basket but i dont know how.

Hi Jan-Paul,

go to http://docu.oxid-esales.com/CE/sourcecodedocumentation/4.4.4.30554/ and search for the “tobasket” method.

Hope that helps.

Hi Jean-Paul,

look at the Form arround the “to basket”-Button. All Parameters are listed here. I might remember, that you also could transmitt these parameters easy via GET.

Joscha

thanks for your help! i’ll try it! :slight_smile:
i’ll give you a response when its work.