Announcement

Collapse
No announcement yet.

Adding to cart from another site problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Adding to cart from another site problem

    Hi guys

    I would really appreciate some help on this one, its driving me nuts!!

    Im trying to add a product (a tshirt) to the cart from a different web site and have read the advanced user guide on the subject and this board and the knowledge base to no avail.

    i am able to add the product with no problems, but carrying the product variants (tshirt sizes, s,m,l or xl) across is proving difficult. ie I cant work out how to do it!!!!!!!!!!!

    The site with the cart is www.tshirtmachine.com and the url of the page im using to show the products is http://www.sumowebdesign.com/tshirts.htm

    If anyone has done this before or can see where im going wrong i would be most grateful

    Thanks guys

    barry

    #2
    You aren't submitting that form so nothing from that SELECT statement gets passed on. Try
    Code:
    <form action=http://tshirtmachine.com/cgi-bin/ca000001.pl method=post>
    <input type="hidden" name="SID" value="356">
    <input type="hidden" name="PAGE" value="PRODUCT">
    
    <SELECT NAME="v_1727_1">
                    <OPTION VALUE=1 SELECTED>small
                    <OPTION VALUE=2 >medium
                    <OPTION VALUE=3 >large
                    <OPTION VALUE=4 >X large
                  </SELECT>
    			  
    <INPUT TYPE=HIDDEN NAME="Q_1727_1" VALUE="1">
    <input type="submit">
    </form>
    Instead.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Alternatively, you can do without the FORM completely and use 4 links
      Code:
      <a href="http://tshirtmachine.com/cgi-bin/ca000001.pl?SID=356&PAGE=PRODUCT&Q_1715=1&v_1727_1=1">Buy Small</a> 
      <br>
      <a href="http://tshirtmachine.com/cgi-bin/ca000001.pl?SID=356&PAGE=PRODUCT&Q_1715=1&v_1727_1=2">Buy Medium</a> 
      <br>
      <a href="http://tshirtmachine.com/cgi-bin/ca000001.pl?SID=356&PAGE=PRODUCT&Q_1715=1&v_1727_1=3">Buy Large</a> 
      <br>
      <a href="http://tshirtmachine.com/cgi-bin/ca000001.pl?SID=356&PAGE=PRODUCT&Q_1715=1&v_1727_1=4">Buy X Large</a>
      where the last parameter is the Choice
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Norman your a star thanks once again!

        appreciate all your help over the years mate, hope things are good

        and err, ssorry about the product nature, should have warned you!

        All the best

        barry

        PS. That AUG Word doc sure could do with an update Actinic blokes!!

        Comment


          #5
          You may also need to add the hidden field

          <INPUT TYPE="hidden" NAME="ACTINIC_REFERRER" VALUE="http://tshirtmachine.com/acatalog/">

          or pass it in the URL as &ACTINIC_REFERRER=http://tshirtmachine.com/acatalog/
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment

          Working...
          X