Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Help with Sending Attributes Through Form


Recommended Posts

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.



Link to comment
Share on other sites


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

  • Create New...