You are here:  » brand image on product page


brand image on product page

Submitted by shaunmac on Wed, 2013-03-06 21:58 in

Would it be possible to display the brand with the image I have uploaded for each brand on the product page? I have it listed now and displaying the breeder (brand) using %db_breeder% but I would like to display the image that goes with it. My brand page is below along with a product page sample.
{link saved}

Submitted by support on Thu, 2013-03-07 08:41

Hi Shaun,

Sure - you can write the IMG tag directly into Product / Main template (wp-admin > Settings > PriceTapestry.org) using %db_breeder% within the image URL, e.g.

<img src='/pt/logos/%db_breeder%' />

Cheers,
David.
--
PriceTapestry.com

Submitted by shaunmac on Tue, 2019-12-10 17:26

Hi David I had this working once and was trying to get this working again but when I add the code above all I get is a broken image. I have the image file in pt/logos. If I simply add %db_brand% it list the text "%db_brand%" what could I be doing wrong?
{link saved}

Submitted by support on Wed, 2019-12-11 09:17

Hi Shaun,

The tag is case sensitive so you need to use %DB_brand% - that should be all it is...

Cheers,
David.
--
PriceTapestry.com