Guest Posted September 19, 2002 Share Posted September 19, 2002 Hi, I would like to know if there is a way to have customers replace the same order from their order history. Sort of adding to the cart all the items they have in their order history in a single click. Has anyone done that before with OSCOMMERCE? Or do you think that you have the solution for that? Thanks for replying Link to comment Share on other sites More sharing options...
Harald Ponce de Leon Posted September 19, 2002 Share Posted September 19, 2002 I would like to know if there is a way to have customers replace the same order from their order history. Sort of adding to the cart all the items they have in their order history in a single click. Has anyone done that before with OSCOMMERCE? Or do you think that you have the solution for that? The closest we have is the Order History box which shows unique products the customer last ordered. , osCommerce Link to comment Share on other sites More sharing options...
tedbooks Posted January 20, 2005 Share Posted January 20, 2005 to do this one first must make changes to the table_orders_products_attributes so the value_id is used rather than name in the oscommerce attributes are not very well treated i heard this is changed Link to comment Share on other sites More sharing options...
cannuck1964 Posted January 20, 2005 Share Posted January 20, 2005 Hi, You can always add a button on the order history page, which would call a function. this function would read the order id, and then go through the order products associated with the order id and add the products into the cart. This would need to be custom coded though.... cheers, Peter M. Peter McGrath ----------------------------- See my Profile (click here) for more information and to contact me for professional osCommerce support that includes SEO development, custom development and security implementation Link to comment Share on other sites More sharing options...
tedbooks Posted January 20, 2005 Share Posted January 20, 2005 there is a contribution that actually does that but the attributes become a problem since they are stored by their name rather than their id i have to find a way to add the id to the order and then attributes should work also my problem is that i don't know what the array of options should look like and i don't understand the way application top adds the product attribute array i have found the section that deals with this its just that i don't get it Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.