Jump to content

Which file has the "buy" and "add to basket" funct


Guest

Recommended Posts

Hi, I am hoping someone can point me to the right file to change. When the user clicks an item it has "buy" and other times it has "add to basket." I am just trying to find out where that is define in the source files so I can make a few modifications. I looked but it's a lot of files and I'm just guessing (and obviously haven't found it :lol:).

Thank you for any guidance.

Link to comment
Share on other sites

What exactly is it you need to do?

If you need to remove them, then there is a way, look in the pinned posts.

Moved to the correct section.

Thanks. I need to replace the link that puts the item in a basket with an affiliate link to send to another site.

Link to comment
Share on other sites

What exactly is it you need to do?

If you need to remove them, then there is a way, look in the pinned posts.

Moved to the correct section.

Thanks. I need to replace the link that puts the item in a basket with an affiliate link to send to another site.

Is this controlled in a skin via tokens?

Link to comment
Share on other sites

The "buy" and "more" buttons are coded into skins/xx/styleTemplates/content/viewCat.tpl

The "add to basket" is coded into skins/xx/styleTemplates/content/viewProd.tpl

add to basket is a submit button for a form, check out the code on the page given . . .

Is this controlled in a skin via tokens?

The links are dynamically generated via php, based on product id. Check the code in the files I mentioned above.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...