Jump to content

Getting access to product code in homefeatured


SkyHiRider

Recommended Posts

How can I add the product code string into the homefeatured module instead of the product.name?

 

I want to change my taxonomy so that product codes contain the short product title (Colop Printer 30) while my real product titles will contain the full text ( plastic stamp Colop Printer 30 with rectangular print).

 

The long names will however mean my intro page will become messy, and I do not wish to add to much text to it as a person can clearly grasp the product from the image. But long product names are good for SEO, which is what I wish to capitalize with this change.

 

Thanks,

Marek 

post-34484-0-71231400-1392914748_thumb.png

Link to comment
Share on other sites

SkyHiRider,

With Product Code, do you mean the product reference ?

 

If so, back up the file  themes/<your theme folder>/modules/homefeatured/homefeatured.tpl

 

Then edit the file and change all 

    $product.name

into 

    $product.reference

 

That should do the trick...

 

pascal.

Link to comment
Share on other sites

SkyHiRider,

With Product Code, do you mean the product reference ?

 

If so, back up the file  themes/<your theme folder>/modules/homefeatured/homefeatured.tpl

 

Then edit the file and change all 

    $product.name

into 

    $product.reference

 

That should do the trick...

 

pascal.

Yes, that's it! Thanks Pascal :)

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...