Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Mail In Rebates


Guest

Recommended Posts

I have been working on a new contribution to add a mail in rebate box to the product info page. I am no programmer by any means and I really don't do PHP that well. I have managed to get the admin/categories.php to show the textbox to add the rebate to the product and I made a table in my DB for mail in rebates. The admin will add the rebate to the product in the database like it should. My problem is getting the product_info.php to call the amount from the database and show it on the product page. I have defined the database tables in admin and the catalog. I have the table on the product_info.php page for the "Mail In Rebate". Can anyone give me any advice on pulling the figure from the database table and show it on my product page? I will post this contribution if I can make it work and I can't see any reason why it shouldn't.

 

Thanks, Rickey

Link to comment
Share on other sites

  • 4 weeks later...

Well I figured it out on my own, I have a box in my categories.php page to add the mail in rebate to a new product.

I will be trying to place this in a contribution for others as soon as I have the time.

 

I have got this working on my store:

 

 

Ricks PC Parts

 

This is what it looks like on my web page

 

webpage.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...