Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Anyone using the contribution EZ NEW FIELDS?


swisspad

Recommended Posts

Posted

Hi,

 

I tried to add the contribution EZ NEW FIELDS to my shop (http://www.oscommerce.com/community/contributions,1310). I think that I have made all changes without mistakes, but the product_retail_price is not displayed in product_info.php. The changes for the product_info.php where these, following the instructions of the developer:

 

4. in catalog/product_info.php

--------------------------------------------------------------------------------------------------

line:46 about this line: $product_info_query = tep_db_query("select p.products_id, pd.products_name................

 

before this: p.products_price add p.products_retail_price

--------------------------------------------------------------------------------------------------

put this line: <?php echo $product_info_values['products_retail_price']; ?>

 

in anywhere you want in product_info.php

 

Don't forget adding the Dollars Sign $ and retail price text in front this line <?php echo $product_info_values['products_retail_price']; ?> in product_info.php, if you want.

------------------------------------------------------------------------------------------

 

Thank you for your ideas,

 

Patrick

  • 1 month later...
Posted
Hi,

 

I tried to add the contribution EZ NEW FIELDS to my shop (http://www.oscommerce.com/community/contributions,1310). I think that I have made all changes without mistakes, but the product_retail_price is not displayed in product_info.php. The changes for the product_info.php where these, following the instructions of the developer:

 

4.  in catalog/product_info.php

--------------------------------------------------------------------------------------------------

line:46  about this line: $product_info_query = tep_db_query("select p.products_id, pd.products_name................

       

before this: p.products_price  add   p.products_retail_price  

--------------------------------------------------------------------------------------------------

put this line:  <?php echo $product_info_values['products_retail_price']; ?>

 

in anywhere you want in product_info.php

 

Don't forget adding the Dollars Sign $ and retail price text in front this line <?php echo $product_info_values['products_retail_price']; ?> in product_info.php, if you want.

------------------------------------------------------------------------------------------

 

Thank you for your ideas,

 

Patrick

 

works like a charm - except one bug but your problem is different. where did you put the echo statement for the retail price? might just be where you put it.

 

take a look here: http://www.lildevilmotorsports.com

 

8)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...