View Single Post
  #1  
Old 02-04-2015, 12:19 PM
 
jriggins911 jriggins911 is offline
 

Advanced Member
  
Join Date: Apr 2008
Posts: 53
 

Default Adding "Extra Field" to product template

Can anyone point me in the right direction here?

I'm attempting to add an extra field, using XC4 terminology, to all products in XC 5.1.10.

I've gone through the process of creating a module, turning the module on and am at the point where the new field entry has been adding the xc_products sql table and is displaying on the admin side.

My question is, do I now need to modify a "product" tpl in order to get it show on the front end?

I would sure would appreciate someone pointing me in the right direction. I've explored modifying a template in order to have it included but not sure what needs to be modified and how. I'd like the new field to display around the general area where the Weight and SKU are displayed, however, it appears those items have a specific attribute.weight.tpl and atrribute.sku.tpl file for each. Do I need to create similar tpl file for my new field?

I'm trying to give XC5 a chance but is seems overly convoluted to make minor additions? Is there a better way I'm missing here?

I've looked at using the custom skin module but I believe it keeps leading me back to the original issue, what tpl do I need to modify to display the new field and do I need to add a specific attribute tpl file similar to weight and sku?

Most of the knowledge base entries on topic, at least I can find, do not quite cover this particular issue and does not seem to provide enough information across the tutorials to be able to figure it out.
__________________
Digital Embroidery

X-cart Version 4.1.9
Reply With Quote