![]() |
|
Home | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() Hello,
I was wondering if we wanted to change the button in the detailed product page to another image we want, how would we do that? thanks |
#2
|
|||
|
|||
![]() The current button is actually styled with css. You can change the button to any other color you want, by changing the button class in the code, to one of the ones listed here:
http://www.datafeedr.com/docs/item/172 (at the bottom are all the button colors). If you go to factory -> choose your shp -> Views -> product detail -> default category, click on the image to edit the module template and you can see all the code there for the button: PHP Code:
|
#3
|
|||
|
|||
![]() thanks, but which line do I edit? for example if the image i want is at www.url.com/images/newbutton.gif, where would i place this code?
|
#4
|
|||
|
|||
![]() if you have an html editor you can do it in there. Just delete the code for the current button and add your own. I did all my template editing in dreamweaver rather than by editing the css
Make sure you get the hyperlink correct or your button won't take people anywhere |
#5
|
||||
|
||||
![]() You will want something like this:
HTML Code:
<a href="[product.url]" title="Buy this product" target="_blank"> <img src="http://www.url.com/images/newbutton.gif" alt="Buy" /> </a>
__________________
![]() ![]() ![]() ![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|