Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

dnbvinyl

Pioneers
  • Posts

    13
  • Joined

  • Last visited

Posts posted by dnbvinyl

  1. @Tsimi @raiwa

    I was just wondering if there was anyway of stopping the points value being deducted from shipping costs on the order total eg

    Products total = £15  - point value can only be deducted against this

    Postage Costs = £5  - points excluded for this

    Order Total £20

    Customer has 2000 points with a  value of £20 but max available to deduct from order total will be £15 total amount of the products costs excluding postage costs

     

  2. On 10/23/2017 at 10:27 PM, dnbvinyl said:

    Hi,

    First off wanted to say great work on making this module happen BS Osc has been crying out for this kind of thing.

    Did a few tests on my site and came across the following issues, I am using the version uploaded to the apps on 10th October 2017 by Tsimi

    Image 1) (delete_points_adjust_admin.jpg) whilst attempting to delete /adjust points in the admin section of a customers points allocation I had the error in the image appear if i tried to delete all of the points the customer had it did however let me delete / adjust points if i only attempted to remove so many points eg. delete 50 out of 100 points

    Image 2) (caheckout_paying_cash_all_points) whilst attempting to check out a cash in store checkout option and using all available points as part payment e.g £10 cost of product - (£2 points) £8 to pay the error was shown also has same error when trying to do the same with a paypal payment

    with Image 2 by editing the code below i am able to checkout fully and i don't have the 1048 error. However this seemed to have stopped the payment methods from working as a partial checkout. part points / part paypal

    i edited the following code on or around Line 203 to line 210 

    **FROM THIS

    // balance customer points account & record the customers redeemed_points

      function tep_redeemed_points($customer_id, $insert_id, $customer_shopping_points_spending) {

          

          if ((tep_get_shopping_points($customer_id) - $customer_shopping_points_spending) > 0) {

              tep_db_query("update customers set customers_shopping_points = customers_shopping_points - '". $customer_shopping_points_spending ."' where customers_id = '". (int)$customer_id ."' limit 1");

          } else {

              tep_db_query("update customers set customers_shopping_points = null, customers_points_expires = null where customers_id = '". (int)$customer_id ."' limit 1");

          }

     

    **TO THIS**

    // balance customer points account & record the customers redeemed_points
      function tep_redeemed_points($customer_id, $insert_id, $customer_shopping_points_spending) {
          
          if ((tep_get_shopping_points($customer_id) - $customer_shopping_points_spending) > 0) {
              tep_db_query("update customers set customers_shopping_points = customers_shopping_points - '". $customer_shopping_points_spending ."' where customers_id = '". (int)$customer_id ."' limit 1");
          } else {
              tep_db_query("update customers set customers_shopping_points = '0.00', customers_points_expires = null where customers_id = '". (int)$customer_id ."' limit 1");
          }

    found the above almost fix from the old points / rewards module

     

    Any questions about the above or  any help with a fix will be greatly appreciated thanks again

     

     

    caheckout_paying_cash_all_points.thumb.jpg.fe7ea36fdbca6778c73038cdda48f370.jpg

    delete_points_adjust_admin.jpg

    Just wanted to get back to everyone on this issue i had, turned out was an issue with my old hosting company now on a new host and have it all working fine for me 

    cheers

  3. Hi,

    First off wanted to say great work on making this module happen BS Osc has been crying out for this kind of thing.

    Did a few tests on my site and came across the following issues, I am using the version uploaded to the apps on 10th October 2017 by Tsimi

    Image 1) (delete_points_adjust_admin.jpg) whilst attempting to delete /adjust points in the admin section of a customers points allocation I had the error in the image appear if i tried to delete all of the points the customer had it did however let me delete / adjust points if i only attempted to remove so many points eg. delete 50 out of 100 points

    Image 2) (caheckout_paying_cash_all_points) whilst attempting to check out a cash in store checkout option and using all available points as part payment e.g £10 cost of product - (£2 points) £8 to pay the error was shown also has same error when trying to do the same with a paypal payment

    with Image 2 by editing the code below i am able to checkout fully and i don't have the 1048 error. However this seemed to have stopped the payment methods from working as a partial checkout. part points / part paypal

    i edited the following code on or around Line 203 to line 210 

    **FROM THIS

    // balance customer points account & record the customers redeemed_points

      function tep_redeemed_points($customer_id, $insert_id, $customer_shopping_points_spending) {

          

          if ((tep_get_shopping_points($customer_id) - $customer_shopping_points_spending) > 0) {

              tep_db_query("update customers set customers_shopping_points = customers_shopping_points - '". $customer_shopping_points_spending ."' where customers_id = '". (int)$customer_id ."' limit 1");

          } else {

              tep_db_query("update customers set customers_shopping_points = null, customers_points_expires = null where customers_id = '". (int)$customer_id ."' limit 1");

          }

     

    **TO THIS**

    // balance customer points account & record the customers redeemed_points
      function tep_redeemed_points($customer_id, $insert_id, $customer_shopping_points_spending) {
          
          if ((tep_get_shopping_points($customer_id) - $customer_shopping_points_spending) > 0) {
              tep_db_query("update customers set customers_shopping_points = customers_shopping_points - '". $customer_shopping_points_spending ."' where customers_id = '". (int)$customer_id ."' limit 1");
          } else {
              tep_db_query("update customers set customers_shopping_points = '0.00', customers_points_expires = null where customers_id = '". (int)$customer_id ."' limit 1");
          }

    found the above almost fix from the old points / rewards module

     

    Any questions about the above or  any help with a fix will be greatly appreciated thanks again

     

     

    caheckout_paying_cash_all_points.thumb.jpg.fe7ea36fdbca6778c73038cdda48f370.jpg

    delete_points_adjust_admin.jpg

  4. Hi Tsimi,

     

    installed the addon and when i click to apply discount i get the following error message 

     

    2016-08-05 00:00:00
    Warning: Cannot modify header information - headers already sent by (output started at /home/MYSITE/public_html/admin/specials.php:368) in/home/MYSITE/public_html/admin/includes/functions/general.php on line 75

     

    when i click back to go back to the specials page the discounts have been applied without and are showing up on the front end.

    just wondered if you had any idea of what might be causing this error when the apply discount button is clicked

     

    thanks

    Neil 

  5. @@dnbvinyl

     

    Hi Neil,

     

    This is by design in this add-on. It's meant to be a quick search. (Searching title and model. Only the manufacturer is optional in the add-on). It functions the same as the quick search boxes in the osc234 bootstrap version. Only in the osc234 non-bootstrap does it search in description using the quick search box. Sounds like you must be using osc234 non-bootstrap. I left it like that because it's difficult to display search results in the drop down list when the results are in the description and then you have to try to highlight the matching letters, it's too messy. So I left it the same for both bootstrap and non-bootstrap versions of this add-on.

     

    cheers

     

    Thanks for the reply am using the osc234 bootstrap version changed the quick find on my site to search with in description. Needed to do this because of the items i sell.

     

    Thanks for letting me know that it doesn't search within description , really like the mod but sadly guess I will have to leave it off the site. 

  6. Hi I have recently installed this addon (bootstrap version) on my site have to say with the way my shipping is calculated it works very well and customer can see the cost of shipping prior to checking out, which is definitely useful

     

    I was just wondering would there be anyway of turning the shipping quote into a module box ? so instead of the button only appearing on the shopping cart page the same drop box with the country and zip code / post code would appear in say left of right box ?

     

    great work by the guys involved in the original coding

×
×
  • Create New...