Results 1 to 10 of 15

Hybrid View

  1. #1

    Default Payment type discount.

    I had this installed fine and it was working no problem, then today when i go to checkout at step 3

    Fatal error: Cannot use object of type queryFactoryResult as array in /home/freerang/public_html/shop/includes/modules/order_total/ot_payment.php on line 97

    I had installed the Mod hole version, and it worked great before I added other stuff. I have removed the gift voucher option, but this doesn't cure it.

    this is the code that line

    if (ereg('^GIFT', addslashes($gv_result['products_model']))) {

    Thanks I really need a discount option at checkout for Zen Cart 1.2.7.

  2. #2

    Default Re: Payment type discount.

    Got this answered by Langer if anyone needs it:

    change the line to read.

    if (ereg('^GIFT', addslashes($gv_result->fields['products_model']))) {

    Thanks

  3. #3
    Join Date
    Mar 2008
    Posts
    49
    Plugin Contributions
    0

    Default Re: Payment type discount.

    I am also getting an error after installing this mod. It says Your order number is 0 on the checkout success page.

    Any idea?

  4. #4
    Join Date
    Dec 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: Payment type discount.

    It works perfectly, but it works only when I have more than 1 product in the cart.

    If the cart has got only 1 product it does not work at all.

    Any Ideas as to why this happens ?

  5. #5
    Join Date
    Feb 2006
    Posts
    70
    Plugin Contributions
    0

    Default Payment Type Discount

    I've seen references to the Payment Type Discount module but can't seem to find it. There was a link to it in another thread but I get a 404 error.

    Can someone point me in the right direction?

    Also wondering if I can apply this discount to a specific credit card? (ie. Amex users get a dicount on purchases).

    Cheers!

  6. #6
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Payment Type Discount

    Its in the archived downloads,

    and no it works with a payment type not with a certain card
    Zen cart PCI compliant Hosting

  7. #7
    Join Date
    Feb 2006
    Posts
    70
    Plugin Contributions
    0

    Default Re: Payment Type Discount

    Thanks! I can't find the archived downloads, can you please point me in the right direction?

    ... So, that module won't do it but can anyone think of another approach that would allow for a discount on a specific credit card or does it sound totally impossible?

  8. #8
    Join Date
    Sep 2005
    Location
    Austria
    Posts
    104
    Plugin Contributions
    6

    Default Re: Payment Type Discount

    This module is using a percentage discount or fee.
    Is there a way to change from a percentage to a flat (absolute) discount or fee?

  9. #9

    Default Re: Payment Type Discount

    does this work with 1.38a?


    Mack32

 

 

Similar Threads

  1. v151 Payment type discount
    By dionidis in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 24 Oct 2012, 06:34 PM
  2. Payment type discount with v1.3.9h ?
    By OldNGrey in forum Addon Payment Modules
    Replies: 0
    Last Post: 14 Dec 2011, 04:19 AM
  3. need to define payment type per discount group
    By igofresh in forum Managing Customers and Orders
    Replies: 1
    Last Post: 27 May 2011, 09:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg