Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Display Custom Product Feature In Single Product Template File Rate Topic   - - - - -

 
  • sarathlal
  • Advanced Member
  • Trial users
  • Join Date: 04-May 16
  • 57 posts

Posted 02 August 2016 - 01:55 PM #1

Hi,

 

I have created a new custom product feature from Products >> Features.

 

I have to get the value of this custom product feature in a template file like

 

blocks/product_templates/default_template.tpl.

 

What code I want to write on this file to get my new product feature?

 

Thanks in advance.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20773 posts

Posted 02 August 2016 - 02:01 PM #2

You can enable on the following options on the Update product feature page:

 

http://prntscr.com/c0o5sa


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • sarathlal
  • Advanced Member
  • Trial users
  • Join Date: 04-May 16
  • 57 posts

Posted 03 August 2016 - 04:23 AM #3

Thanks for your help @eComLabs.

 

My aim is to add a size chart feature as a text and call this value below short description. The size chart feature will be a an image link. If I can get this value, I can make it as an image tag inside a popup.

 

But I want to call this custom feature in single product view template file same like title , description etc.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20773 posts

Posted 03 August 2016 - 07:16 AM #4

We can offer you to create size chart in another way. You can create the Size chart product tab on the Design -> Product tabs page. Then add HTML block as a content of the product tab and add size chart content there. As a result, you will be able to use common chart for all products / specify unique content for specific products / disable this tab for specific products. What do you think about it? 


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)