Page 3 of 3 FirstFirst 123
Results 21 to 30 of 30
  1. #21
    Join Date
    Feb 2010
    Location
    Italy/Poland
    Posts
    39
    Plugin Contributions
    0

    Default Re: cod + shipping modules

    Sorry for not having been clear.
    names are "table2" "table4" clones of original table module in zen-cart.
    these, when chosen, shouldn't enable paypal.

    Thank you
    [FONT="Georgia"]"fatti non foste per viver come bruti, ma per seguir virtute e conoscenza" Dante Alighieri[/FONT]

  2. #22
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: cod + shipping modules

    So follow the same pattern and customize the PayPal IPN payment module:
    /includes/modules/payment/paypal.php

    and add the code:
    Code:
          // do not show PayPal when shipping is Table 2 and Table 4
          if ($_SESSION['shipping']['id'] == 'table2_table2' || $_SESSION['shipping']['id'] == 'table4_table4') {
            $this->enabled = false;
          }
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #23
    Join Date
    Feb 2010
    Location
    Italy/Poland
    Posts
    39
    Plugin Contributions
    0

    Default Re: cod + shipping modules

    These few lines were inserted in the paypal mod.
    However my cod module doesn't seem to work properly and the checkout procedure as well.
    Should you want to have a look .... "www.pl.nutysmaku.com/zc3"

    Shipping mods, cod mod have no zone selected.
    Cod mod button is yellow.

    What other admin setting should I check?
    [FONT="Georgia"]"fatti non foste per viver come bruti, ma per seguir virtute e conoscenza" Dante Alighieri[/FONT]

  4. #24
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: cod + shipping modules

    This was working properly earlier with the COD payment module and no Zones applied to it, correct?

    Edit the COD Payment module in the Modules ... Payments ... and make sure that there are no Zones Set ...

    Next, edit the PayPal IPN payment module and make sure that there are no Zones on it either ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #25
    Join Date
    Feb 2010
    Location
    Italy/Poland
    Posts
    39
    Plugin Contributions
    0

    Default Re: cod + shipping modules

    Dear Ajeh
    we were both right.
    Once again I had a problem in transfering my data via Filezilla.
    I reloaded fresh new copies of cod mods, no changes yet , now cod is in green and loads properly.
    Cod was working in past in between addition of table2 to table1, something broke after adding table2. And even though I reedited the file (Notepad++) something had already been corrupted.
    ----------------
    I noticed that whenever I down or upload a file with Filezilla and the very same file hasn't undergone any modification whatsoever Filezilla changes the size of the files. Is this a regular behaviour ?

    ----------------
    I will make modification to cod module and let you know.
    [FONT="Georgia"]"fatti non foste per viver come bruti, ma per seguir virtute e conoscenza" Dante Alighieri[/FONT]

  6. #26
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: cod + shipping modules

    Quote Originally Posted by Maria Claudia View Post
    I noticed that whenever I down or upload a file with Filezilla and the very same file hasn't undergone any modification whatsoever Filezilla changes the size of the files. Is this a regular behaviour ?
    No not really. One has to ask though, if the file in question hasn't undergone any modification; exactly what does filezilla change the filesize to? (and what was it before the change?)

    Cheers
    Rod

  7. #27
    Join Date
    Feb 2010
    Location
    Italy/Poland
    Posts
    39
    Plugin Contributions
    0

    Default Re: cod + shipping modules

    When I mean no changes I mean that the file has not been even opened .

    Ex: I download a file from my server. there it has a size, suppose, of 1000 once it reaches my computer it is 970.It seems that Filezilla usually shrinks.
    I suppose Filezilla is not on a diet program.
    [FONT="Georgia"]"fatti non foste per viver come bruti, ma per seguir virtute e conoscenza" Dante Alighieri[/FONT]

  8. #28
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: cod + shipping modules

    Quote Originally Posted by Maria Claudia View Post
    When I mean no changes I mean that the file has not been even opened .

    Ex: I download a file from my server. there it has a size, suppose, of 1000 once it reaches my computer it is 970.It seems that Filezilla usually shrinks.
    I suppose Filezilla is not on a diet program.
    Based on those numbers I suspect that the difference *could* be due to changes in the EOL (end of line) characters. This will occur if filezilla is set to "auto" or "ascii" as the filetype and the transfers are on text based files created on one type of file system (eg, linux) and they are being transferred to a different system (eg, Windows). Assuming this is the case the solution is to set filezilla to use 'binary' mode (located under 'transfer/transfer mode').

    If you are using filezilla to open/edit the file(s) you need to ensure the editor you are using doesn't mess with the EOL characters either, because this will also cause a small difference in filesize.

    I can't think of any other causes at the moment, but I'll worry about that if these current suggestions don't help.

    Cheers
    Rod

    ps. Unexpected changes in reported filesizes is not a good thing, so even it appears to be a 'harmless oddity' at the moment, sooner or later it will cause you problems unless resolved.

  9. #29
    Join Date
    Feb 2010
    Location
    Italy/Poland
    Posts
    39
    Plugin Contributions
    0

    Default Re: cod + shipping modules

    I checked in meantime and it was set "auto".
    You are right .
    I'm going to check Notepad++ as well and change settings in both.

    You are right it did make a problem at lenght as you can see.

    Thank you very muuuchchch.
    [FONT="Georgia"]"fatti non foste per viver come bruti, ma per seguir virtute e conoscenza" Dante Alighieri[/FONT]

  10. #30
    Join Date
    Feb 2010
    Location
    Italy/Poland
    Posts
    39
    Plugin Contributions
    0

    Default Re: cod + shipping modules

    Fixed both programs ! They both work fine !


    Wouldn'it be a good idea to post this piece of info in a way that those newbies like me (i'm a very desperate case) not familiar with these programs would more easily know about ?


    Thanks
    [FONT="Georgia"]"fatti non foste per viver come bruti, ma per seguir virtute e conoscenza" Dante Alighieri[/FONT]

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. v151 Disbale COD with shipping
    By mpforum in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 8 Jan 2014, 05:53 PM
  2. v150 Need some Help in COD. COD fee depending on order price
    By bratsangels in forum Built-in Shipping and Payment Modules
    Replies: 20
    Last Post: 16 Sep 2012, 12:53 PM
  3. Free shipping to include COD fees?
    By dude_s in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 8
    Last Post: 27 Sep 2010, 07:21 PM
  4. COD With Free Shipping
    By ozonlinesales in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 25 Jul 2008, 08:49 PM
  5. COD but no Shipping
    By ALFO in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 22 Dec 2007, 05:43 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