Jump to content

where is the code to edit 'Add to my wishlist'?


Recommended Posts

hi forum :)

does anyone know where i will be able to find the code to edit the text for the 'Add to my wishlist' button, located on the product pages? i have successfully altered the words for 'Add to bag' in my product.tpl file but can't seem to find the code anywhere to edit the add to wishlist button. any ideas?

thanks in advance!

Link to comment
Share on other sites

Hi
You have to edit "blockwishlist-extra.tpl" under "modules/blockwishlist/blockwishlist-extra.tpl"


thanks for pointing me in the right direction! i am also experimenting with changing the button to an image of my own, like what i have done for my add to cart button (see picture attached). been fiddling around with the code but as i am not very well versed in coding, i don't know what i should be typing in to change the picture. any clue what should i change the add to wishlist code to make it an image?

thanks again for your efforts in making prestashop easier for all the newbies here.


-------------------------------
FYI:

the code i used to change the add to cart button is by altering the code from:
<input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" />



to become:

<input type="image" height="30" width="109" src="{$img_dir}add_to_cart.png" border="0" />


-------------------------------

39433_SqRWPKx5UknyHH5RXGh8_t

Link to comment
Share on other sites

noted. will write a new class for my add to cart button. am afraid my website is currently under development on localhost only and is not online. let me know what info you need and i'll put them here. thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...