Support » Plugins and Hacks » add to cart button

add to cart button

Viewing 5 replies - 1 through 5 (of 5 total)
  • Roy Ho


    Why would you need to add your own?

    im not adding my own so much as im changing the location of theirs by copying the code found within the add to cart button’s template.php file to a different location. i uncovered little documentation aimed at a novice user pertaining to themeing the individual product page itself and with little knowledge of how wordpress operates found just simply adding to short-description.php with markup and php to be suitable enough for now.

    heres what i have.

    as you can see, the problem with this is adding to the page means creating elements in addition to what is already there, in my case that stray button you see in the lower left corner. as well as that there’s an additional price element that i have to get rid of as well.

    Roy Ho


    This is quite hard for me to help as I don’t know where it is originally and where you want to move it to because it could mean code changes or simple CSS change may suffice.

    Perhaps should an image of where it is originally prior to you modifying the code and an image “photoshop” of where you want it.

    it’s original placement is sortve irrelevant for what i’m attempting to do. what i’m attempting to do is omit it from the document altogether and use the blank button i added (that works as an add to cart) thats floated to the right of the price.

    basically my question is where is the code exactly that puts that button there entitled ‘add to cart.’

    nevermind, figured it out. thanks a lot!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘add to cart button’ is closed to new replies.