Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Get Product ID for Seperate script


hawken

Recommended Posts

Posted

Hi,

 

I have a little mod I will be adding to OSC but can't figure out how to.

 

It's a rating script, that is working on a page by itself, but will not work on product_info.php just yet.

 

using <? echo pullRating(30,true,false,true); ?>

 

^^ 30 represents the PAGE number as a test. And the script works.

 

How do i add that code to already pick up the Product ID #?

 

I have tried,

<? echo pullRating($product_id,true,false,true); ?> and other variation, but can't figure it out.

 

Thanks!

Archived

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

×
×
  • Create New...