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