Announcement

Collapse
No announcement yet.

Shopping Cart Update button change to text link

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

    Shopping Cart Update button change to text link

    I want to change the Shopping Cart Update button from a clickable image to a clickable text link.

    So from:
    <input type="image" name="ACTION_UPDATE" src="button_update_button.gif" alt="<Actinic:Variable Name="UpdateButton"/>" />

    To:
    ???

    Is there a way to do this?
    Is the snow dulling my brain cells?

    #2
    am I getting deja vu or didn't George ask about this last week??
    Tracey

    Comment


      #3
      You will need to use an onclick form submit using Javascript AFAIK. Basically using Javascript to interact with the form as though it is an input tag.

      it goes in plain English, something like:

      on click="document.form.submit" in your anchor tag.

      Comment


        #4
        http://community.actinic.com/showthread.php?t=40836

        Is this the same thing?
        Tracey

        Comment


          #5
          Hmm not sure that seems to a KB article on how to use images, which as i understand is what you already have in place anyway as standard.

          Comment


            #6
            That was to change the standard type from button to image - an extension to adding buttons to the cart instead of next, back etc.

            I'm not keen on putting dependant js in the checkout though, I'll probably include both standard and js options just in case.

            Comment


              #7
              I haven't checked. I just thought George may have been asking the same question about changing it to text.
              Tracey

              Comment


                #8
                ok, sorry
                snow has clearly dulled my braincells too

                *keeps quiet about lack of/minimal snow outside*
                Tracey

                Comment


                  #9
                  Originally posted by drounding View Post
                  I'm not keen on putting dependant js in the checkout though, I'll probably include both standard and js options just in case.
                  I know where you are coming from Duncan, but they can't use an actinic site without it enabled anyway, so makes no difference IMO.

                  Comment


                    #10
                    Originally posted by TraceyHand View Post
                    I haven't checked. I just thought George may have been asking the same question about changing it to text.
                    No i think you are right, the solution just seems to be pointing to a solution that is already in place, not quite sure how it has shown him to add a text link. As there is no SEO or site improvement from a text link, i'd have to say create a text link and save it as an image IMO though and keep things simple.

                    Comment


                      #11
                      I'm adding an Update link/button to each line of the basket next to the remove checkbox and have been requested to make it a standard text link if possible in keeping with the rest of the site's links. I have already placed an image there that looks like a link but I want hover underline. Nothing to do with SEO.

                      I'll have a fiddle with some js.

                      Comment


                        #12
                        Gotcha, interaction on the links makes it a pain then. JS your only way that I know of then. I wonder if Normski has something up his sleeve.

                        Comment

                        Working...
                        X