Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Creating links to shopping cart?


Guest

Recommended Posts

Posted

I intend to introduce OSC to an existing site...currently pages are html but if i convert to .php can i have links for my account/shopping cart like those at http://www.chifactory.net on every page ...and simply do this in the case of the shopping cart by linking to shopping_cart.php?

 

 

Is that it?

Posted

The way I understand this stuff (and I'm a novice just trying to help)...

you could link to shopping_cart.php but you would have to cut and paste your html into a php file to carry over the order info.

 

The Wiki site has info about links from within boxes, to outside urls, etc.

http://wiki.oscommerce.com/helpHowto

Good luck!

Jenn

Posted

Thanks for posting Jenn.

Just getting my bearings here and theres so much to sort out, i'm gonna have to take these issues one by one 8) .

 

But least now i know that this is possible now.

  • 1 month later...
Posted
The way I understand this stuff (and I'm a novice just trying to help)...

you could link to shopping_cart.php but you would have to cut and paste your html into a php file to carry over the order info.

Yeah, to link from page not within osC to the cart you can just use the "Add to Cart" code on that specific product's page.

 

The feature I'd like to see is the ability to pass a return URL with the link. Otherwise, the "Continue Shopping" button won't send you back to the external page you added the product to the cart from.

 

I know that will probably mess with the sessionID and session tracking, but I'm willing to deal with that for the ability to create "mini-stores" outside the osC pages.

 

Anyone else interested in this?

 

Justin =)

Posted

I definitely will be developing something like this for our site. Since I assume all the card ID's are cookied, it wouldn't be a problem to add some code to the osCommerce pages with a back link that uses the referrer URL would it?

 

You could even use the history.back() javascript function I'd think...

Posted

I'd need a feature like that. On my current cart (which I'm getting rid of soon) I have to login from another machine so it won't remember me (one with a dynamic IP) so I can get links for my site. I build myaffiliates a custom storefront so need non-cookied links for their customers.

 

I also advertise various videos and DVDs on other sites I have and need to provide a link so a customer can simpley click "here" and it will bring them to the product page and review.

Archived

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

×
×
  • Create New...