View Single Post
  #8  
Old 12-18-2011, 12:36 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: put content of Extra Field into the <head> ?

You will need to get the variables brought in by products.php

Try this (untested, but it should work):

in products.php

BEFORE
Code:
if (!empty($active_modules["Subscriptions"])) { include $xcart_dir."/modules/Subscriptions/subscription.php"; }
INSERT
Code:
if(!empty($active_modules["Extra_Fields"])) { $extra_fields_provider=$product_info["provider"]; include $xcart_dir."/modules/Extra_Fields/extra_fields.php"; }
That should enable the extra field variables to be available to the product list (products.php).

ONLY work on backups.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote