Need help with creating a link with HTML/Javascript

Discussion in 'HTML & Website Design' started by lizzy4, Dec 27, 2015.

  1. #1
    Hey,
    i am trying to figure out a direct link of a javascript button (add to cart button) on a clothing website, that will allow me to add to cart by only using the link. It seems simple to work out but i just cant figure out how. If anybody could shed some light on this, I would appreciate.
     
    lizzy4, Dec 27, 2015 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,813
    Likes Received:
    4,535
    Best Answers:
    123
    Trophy Points:
    665
    #2
    It will depend on the ecommerce system being used on the site, and some may not allow it all.
     
    sarahk, Dec 27, 2015 IP
  3. lizzy4

    lizzy4 Well-Known Member

    Messages:
    619
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    110
    #3
    Hello,
    Thanks for that. Lets use Finishline.com for an example, would it work with it?
     
    lizzy4, Dec 27, 2015 IP
  4. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Messages:
    7,282
    Likes Received:
    1,696
    Best Answers:
    31
    Trophy Points:
    475
    #4
    qwikad.com, Dec 28, 2015 IP
  5. kostas13ioannou

    kostas13ioannou Greenhorn

    Messages:
    38
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #5
    You want to do it "on-the-fly" without the visitor changing page or with the "normal way" ?

    Case a) You can do it with javascript/ajax
    Case b) You can send the item to your basket page with post, do your stuff there (calculations etc) and show the visitor
    his basket. There you can have a link for "checkout" or a link with "continue shopping"
     
    kostas13ioannou, Jan 12, 2016 IP