Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Let me start with a thank you for a great contribution Deep-Silver Rocks!

 

I have a real account and a test account. On the real account I added (manually) 5000 points and it works and displays fine on the my_points.php but on the test account where I used a referral from real account to test the referral system I get a [TEP_STOP] on the page - (in source for page) :

<table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

<td class="main"> Please check the <a href="http://ourpizzarocks.com/my_points_help.php" title="Reward Point Program FAQ"><u>Reward</u></a> Point Program FAQ for more information.</td>

 

</tr>

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>

</tr>

<td class="main"><b>Points Balance :</b> 10 points. <b>Valued at :</b> $0.50 .</td>

<td class="main" align="right"><b>Expire at: </b> 12/11/2007</td>

 

</tr>

</table>

<font color="#000000"><b>1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-200, 200' at line 1<br><br>SELECT unique_id, orders_id, points_pending, points_comment, date_added, points_status, points_type from customers_points_pending WHERE customer_id = '31' ORDER BY unique_id DESC limit -200, 200<br><br><small><font color="#ff0000">[TEP STOP]</font></small><br><br></b></font>

 

I cannot figure out why for one customer it is fine and for another it is not.

 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Secondly, since this is a pizza parlor (LIVE SHOP) I have set up a product for a TIP for the driver. This allows the customer to ad a tip to their credit card once I add credit cards in a few days. The issue is that I want to exclude the ability for the customer to pay for the TIP with points and to earn point for the tip amount. But allow them to earn points and use points for the rest of the order including taxes. If I put the tip product ID (398) into the exclusions for admin the ability to use points for an order that includes a TIP is gone. Any suggestions?

Jeff

 

Contributions I use: DynaMenus - Light Box - Best Sellers Content Box - Related Products 3.2 - UPS XML - Secure Admin Login - Vendor Locator - Graphical Borders.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...