Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

product_reviews_info.php not passing TEXT_PRODUCTS_NAME


rastlin

Recommended Posts

Posted

hello,

I am having an issue that I cannot figure out no matter how much I have looked at the code. I am sure this is a STUPID and SIMPLE mistake with the code. My product_reviews_info.php is not passing the product name and instead its showing: TEXT_PRODUCTS_NAME . I cant find where that function is defined as the php script seems to be using few different ways of passing the product's name. It is passing it just fine at the title, however, not within the review's description:

 

EXAMPLE of HOW IT SHOWS:

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

 

PRODUCT NAME PRICE (in h1)

TEXT_PRODUCTS_NAMEby name of the reviewer

review text is showing here

 

name of reviewer

TEXT_PRODUCTS_NAME

Date Added: the date

Rating: stars rating

 

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

Everything is showing fine besides where I put "TEXT_PRODUCTS_NAME". What do I need to change within the php to define it to show the correct info?

 

THANK YOU FOR THE HELP!!!

product_reviews_info.php

Posted

That is a very stupid mistake on my part, I have missed some info in the download. I will fix it in the next version.

 

Add:

 

define('TEXT_PRODUCTS_NAME', '%s ');

 

to /includes/languages/{english}/product_reviews_info.php

 

Posted

Yep that fixed it! Thank you so much! I knew that it had to be a simple define issue. :)

 

Thanks Again!!!

Brian

Archived

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

×
×
  • Create New...