Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

How to convert tep_draw_button in following case:


Recommended Posts

Im a newbie,dont have knowledge of coding at all


I have problem here


Following code appears to be a button:

echo tep_draw_button(TEXT_ADD_WISHLIST, 'clipboard', null, 'primary', array('params' => 'name="wishlist" value="wishlist"'));




i have created it using following but i have problem for the parameters that has to be passed in following:


echo '<a href="'.tep_href_link(FILENAME_WISHLIST,tep_get_all_get_params()).'"><u>Add to Wishlist</u></a>';


I want it as a link .


what can be done.


please help me.


Thanks in advance.
Link to comment
Share on other sites

There are different POST and GET methods.


Try to figure out a button style in css http://jsfiddle.net/ZbZ3r/6/ to simple link

you can find here similar solution http://stackoverflow.com/questions/7022167/jquery-add-post-variables-to-a-href-link



osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

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.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...