Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

unique item 'add to cart'


Guest

Recommended Posts

hi,

 

is there a basic/static html way to add an item to cart?

 

what i am trying to do is have a page where a customer/sales assistant can add an item to cart by inputting the item, weight and price fields a bit like below;

 

item: <input box>

Price: <input box>

weight: <input box>

 

<submit button>

 

From this of course you can start hard coding each one individually or creating drop down boxes if you needed and we found it very useful when we could do it with an old shopping cart for orderes when people were bartering us on price or through ebay sales.

 

if anyone knows a html link that would add an item to cart i would ba greatful and be able to finish the rest to make a contrib.

 

If anyone knows what im talking about and knows it cant be done, i would apperciate that also.

 

an example of our old cart link which we used before to create the above:

<a href="http://ww4.aitsafe.com/cf/add.cfm?userid=6072658&product=test+item&price=9.98&return=www.cheaperchips.com&units=5">Buy Now</a>

 

Thank you.

pete

 

- PS - we cant use the manual order contrib. (cant remember why but theres a conflict with something i think)

Link to comment
Share on other sites

hi,

 

is there a basic/static html way to add an item to cart?

 

what i am trying to do is have a page where a customer/sales assistant can add an item to cart by inputting the item, weight and price fields a bit like below;

 

item: <input box>

Price: <input box>

weight: <input box>

 

<submit button>

 

From this of course you can start hard coding each one individually or creating drop down boxes if you needed and we found it very useful when we could do it with an old shopping cart for orderes when people were bartering us on price or through ebay sales.

 

if anyone knows a html link that would add an item to cart i would ba greatful and be able to finish the rest to make a contrib.

 

If anyone knows what im talking about and knows it cant be done, i would apperciate that also.

 

an example of our old cart link which we used before to create the above:

<a href="http://ww4.aitsafe.com/cf/add.cfm?userid=6072658&product=test+item&price=9.98&return=www.cheaperchips.com&units=5">Buy Now</a>

 

Thank you.

pete

 

- PS - we cant use the manual order contrib. (cant remember why but theres a conflict with something i think)

anybody?

Link to comment
Share on other sites

It's not as simple as just "creating a link" unfortunately - the adding to cart logic is handled in application_top.php by using a variety of POST vars from various screens. You would need to duplicate this logic in another script abd adjust it to handle GET parameters.

Depending on what you are trying to accomplish, exactly, there are a number of different ways to approach it.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...