com2 Posted November 10, 2002 Posted November 10, 2002 I would like to make some links on a webpage that directly adds 1 product with some attributes. I tried the following on my local server, but I do something wrong: =21&id[4]=1&id[5]=21&id[8]=26&id[7]=29&products_id=28]http://shop.c2/product_info.php?products_i...&products_id=28 I get these warnings /errors: Warning: Wrong datatype for second argument in call to in_array in c:my documentscomunica2www.comunica2.netshopincludesboxescategories.php on line 31 Warning: Wrong datatype for second argument in call to in_array in c:my documentscomunica2www.comunica2.netshopincludesboxescategories.php on line 38 How would I do it right? I tried already: http://shop.c2/product_info.php?products_i...oducts_id=28%20 which has the same result.
mattice Posted November 10, 2002 Posted November 10, 2002 look at how the BUY NOW button is made. It does exactly what you need. Mattice "Politics is the art of preventing people from taking part in affairs which properly concern them"
com2 Posted November 10, 2002 Author Posted November 10, 2002 What version are you talking about? I don't see it in mine (2.2-CVS). If it is in my version, where should I see such button?
com2 Posted November 10, 2002 Author Posted November 10, 2002 OK, I see it is about the contribution Buy it now in new products. I looked at that and indeed http://shop.c2/index.php?action=buy_now&products_id=xx would do it. But....... not when there are options. Thinking about this, I think that is OK, because when there are options the buyer needs to make the choice.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.