Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Does a visitor have to come in at the top of osC?


Recommended Posts

I have searched for an answer for this problem but was not able to locate an answer. Hopefully there's a quick answer to this.


I have several support sites which talk about the products in my osC cart - seperate DNs. I want to have a Buy Now button on those sites that when clicked will take the visitor to the osC domain and add the product to the osC cart for them. But when I tried it using a link in this form




it tells me the cart is empty. What am I missing or does the visitor have to come in at the top of osC in order to establish a session?

Apathy is a dominant gene - mutate.

Link to comment
Share on other sites

So inquiring minds would like to know your solution. Someday your post will come up in a search and frustate someone trying to accomplish the same thing......



[no external urls in signatures please, kthanks]

Link to comment
Share on other sites

LOL - good point.


Well I thought I would be able to use a plain text link and pass the variables like so:




The hidden field handles the product id # - in this case 28 so I appended it to the URL thinking it would work. I got it to work once and thought I'd solved the issue. But - then it no longer worked and I was back to "empty cart". There must be something else I'm missing.


So then I just created a mini form like osC uses on the products page where it says "Add to Cart" or "Buy Now".


Like so


><form name="cart_quantity" action="http://www.somedomain.com/catalog/product_info.php?cPath=28&action=add_product" method="post">

          <input type="hidden" name="products_id" value="28">

              <input type="image" src="http://www.somedomain.com/img/logo.gif" width="80" height="60" alt="My Logo" class="t_img" /></a></form>


And voila.

Apathy is a dominant gene - mutate.

Link to comment
Share on other sites


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

  • Create New...