skip to Main Content

In OSCommerce, how to check if the page is “Product Page or Product Information”.

I mean if the page is in the product information, I want to put some condition only in product page, and this condition will not display in other pages in oscommerce.

2

Answers


  1. The short answer is to use the product description – and locate it towards the bottom.

    Login or Signup to reply.
  2. You should try:

    if(basename($PHP_SELF) == FILENAME_PRODUCT_INFO){}
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search