Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with Sending Attributes Through Form


hxiao

Recommended Posts

Posted

I am trying to update a shopping cart based on a wizard, but am having trouble conceptualizing how to set the attributes correctly for things I am adding to a shopping cart.

 

It is set as such in application_top.php:

 

$attributes = $_REQUEST['id'][$_REQUEST['products_id'][$i]]

 

where $i is a counter.

 

I need a little direction regarding what 'id' ends up looking like. It seems like 'id' is a mapping between product ids and (option, value) pairs. However, that doesn't appear to be working.

 

Can anyone point out what I'm missing? It would be greatly appreciated.

 

Thanks!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...