Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need Help


Guest

Recommended Posts

Hi,

 

I hope someone can help me with this sooner than later. i tried to install an addon for coupon codes. I was told to Modify the catalog/admin/includes/template_top.php file.

Find:

 

<body>

 

Replace with:

 

<?php

// Discount Code 2.9 - start

if (basename($PHP_SELF) == FILENAME_DISCOUNT_CODES && isset($action) && $action == 'new') {

echo '<body onload="onload();">';

} else {

echo '<body>';

}

// Discount Code 2.9 - end

?>

 

Once I did this, I no longer have the left side menu bar in the admin scree. can anyone advise me on what I have done wrong?

Link to comment
Share on other sites

Once I did this, I no longer have the left side menu bar in the admin scree. can anyone advise me on what I have done wrong?

nothing wrong, it should work.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

FILENAME_DISCOUNT_CODES did you define this file name.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...