ok, open the includes/modules/shipping/purolator.php file.
line 119 or so, change the line to read:
$shipping_weight = ceil($shipping_weight);
Haven't tested it, but that should...
Type: Posts; User: Luxifer
ok, open the includes/modules/shipping/purolator.php file.
line 119 or so, change the line to read:
$shipping_weight = ceil($shipping_weight);
Haven't tested it, but that should...
Yes, I made it in the site root so that if you have multiple stores, they can all share the same file.
And yes, I will get this updated as soon as I work out all my other 1.5 module issues.
This is an old thread, but I'm having a problem with this exact problem.
I have an attribute that is a file upload (an image that the customer supplies. I've added it to the product.
When I do a...
That did it. Damn, so easy. Why couldn't I find that post?
And.. why does it only work on the one button, and why wasn't it fixed?
anyways, thanks for the quick find.
Site is not visible yet, it's in development.
here's a temporary link:
http://216.172.185.9/~classic/index.php?main_page=
for the life of me, I can't seem to change the size of the 'add to cart' button.
I'm experimenting with the css buttons.
I changed the default to
.button_in_cart{width:30em;}
and it does...
It's just a library that does all the SOAP manipulations for the module. The original author included it, and the funny thing is, you can't even use a different version of it, it has to be that...
Works fine. Working on 3 of my sites. I'm helping someone resolve an issue they got after changing hosts, and I'll post what happened here.
Also, I still haven't gotten around to removing the need...
here you go:
http://www.zen-cart.com/forum/showpost.php?p=968488&postcount=9
Turn on the error checking for this module. This involves un-commenting a few lines in the code. I've made it obvious where to do this, but I can tell you how if you need.
This will tell you exactly...
Yes, it seems to be working fine for me and a few other people. I've installed it on 3 sites that were heavily modified with no problems. I haven't had time to make the additional changes I wanted,...
I'll check this, but puro works on min .5kg anyways, so it's supposed to round up.
Any other problems?
Nevermind, my bad, I think.
I was testing this on a test site and I used Easy Populate to copy my data, and IT failed to copy the french info over, thus my site doesn't have the french categories to...
I have a multilingual site. Has anyone else set up this module to work in multiple languages?
You need to contact Purolator and set up your account with them.
https://eship.purolator.com/SITE/en/content/webservices.aspx
They will give you a production key, and password. This will give...
The module as posted is working, just use the download link in my post. I haven't posted it to the add-ons yet because I still haven't removed the excess code. I also wanted some feedback from people...
Very good timing
Yes, I will be posting it. It's available for users to test right now, and I'm just finishing up some changes to it. First, removing excess code, and 2nd, removing the need for...
The problem is with tpl_modules_main_product_image.php. If I rename that, I get my pictures back. But of course then the lightbox doesn't work.
I don't see anywhere there that it uses any...
I really like how this mod works, but I'm having one SERIOUS problem.
I have an English/French website.
In English, everything works as planned.
in French, not only does it not work at all, it...
Is there any way I can get multiple category images, one for each language?
I know I could just modify the tables and change the code, but that's almost guaranteed to fail with every update.
Just...
The first line says "if you are in production mode, use the first URL, otherwise, use the second one" This is as it should be, but from the backend, they may just default to USD if you're in dev...
Issue is solved, thanks to the keen eye of bitsmith2k.
I've updated the code for the download, along with a few added features, such as maximum weight.
Still working on removing the Nusoap...
ok, I haven't had any answers, and haven't figured it out, so I will provide the entire module to the community in its current form.
I'm asking that if you try this, you let me know if it works...
here's the zip. er.. assuming I can figure it out.
I will open-source this, with the rest of the files (language files and such) as soon as it's working. Also, this one uses nusoap libraries. I have...
That part I got. I have a quote($method) function.
Q: is it quote, or quotes? I see both in different places.
I have a quote() function, and a this->quotes array.
Here's what I put in it:
...
Thank you, a reply!!
Yes, that's what I figured was happening.
Where can I find what is required to be valid?
Why can't it at least throw some sort of error so I know what doesn't validate?...
Ok, how about this, can anyone tell me which files do the processing of the order?
More info:
There are NO errors on the page, it just keeps refreshing back to page 1 of 3 of the shipping screen.
This is what I'm providing in the 'quote()' method:
$this->quotes( $id,...
Clean install of Zencart 1.39h
I've built my own Purolator module. It's working in that it fetches a proper quote with pricing. See attached image.
The problem is, when I try to continue, I keep...
I have a shipping module I wrote that's working fine except when there's special characters in the data sent.
Here in Quebec, there's a lot of names, streets, and cities with apostrophes and accents...
The link to the source code is down. Does anyone know where I can get the source code?
yes, my bad.. I missed the part where it said BILLING address. Ok, I was worried for nothing. Carry on, nothing to see here.
Yes, but it just doesn't make sense to me how. How can a php error cause some of my fonts to be bigger, but not others, some of my divs to be displaced, but not others?
I've seen weird Java...
This seems to be an exploitable bug.
on Step 2 of 3 - Payment Information:
If a customer changes their address, the shipping info does not update.
Exploit:
Store is in London. Customer...
yes, agreed. I found and fixed the problem. Another file was inserting code depending on what was on the screen.
Weirdly, this fixed both problems, the css and the headers. If I figure out why,...
here's line 303 to 310 of that file:
303 //echo '<!--'; print_r($params); echo '-->';
304
305 //start error checkin module
306 /*
307 if ($this->client->fault) {
308 echo '<!--Fault: ';...
to demonstrate the css wonkiness, here's an example of how the site should look:
http://mediagoldshop.com/images/normal.png
and here's how it looks as soon as you go HTTPS:...
I'm getting the following error:
PHP Warning: Cannot modify header information - headers already sent by (output started at /home/folder/public_html/includes/modules/shipping/purolator.php:305)...
Correct. I'm writing my own module to interact with the Purolator SOAP interface.
Getting a quote from Purolator requires city to be accurate for a given postal code. This stops people from putting...
They're already logged in. Their shopping cart has items. When the shipping module goes to calculate the shipping, I will get an error. Right now, it just fails and they get a white screen. I could...
This could go in a few different sections, so I'll post it here.
I'm writing a shipping module. It works.
the problem is, when a person uses incorrect information, it will fail, but by then, a...
Yes, see in PHP, the strings are marked with quotes. You'll notice your line starts...
define('HOME_PAGE_META_DESCRIPTION', 'Buy....
and finishes with
');
So everything between those ' ' is...
I only have 1039 lines in my includes/classes/order.php file. Are you up-to-date?
Anyways, I looked at the line (427) and that's basically what I'm doing:
$products_array =...
OK, I need to modify the site for our particular needs
we list products by the item, but sell by the box, so for every item, the minimum quantity and order quantity are the same, usually 100 or 200,...
kobra said:
really... Well if you order from us, you're going to be ordering 50-5000 pounds of stock. you really want to get the quoted Purolator price? I think not. I can offer half their price...
I found this very useful. I recommend this for all non-English pages as the first troubleshooting step.
In my case, when I did the translation of the billing module, I forgot to backslash an...
Here's some info on the canpar API:
Parameters:
service: 1=Ground, 2=U.S.A., 3=Select Letter, 4=Select Pak, Select Parcel
quantity: Number of pieces in the shipment
unit: Weight...
No, I'm quoting in Kg and getting a reply in Kg. There is a key in the URL for format, either L for pounds or K for kilos. I wish it were that easy.
I don't need the fuel surcharge.
I'm saying...
yes, I could modify that, but the problem I have is, for small orders it's too high, but for big orders it's way too low. If I just add $30 to every order to match the big ones, then the guy that...
I have the same problem. I really wish I could figure out the mechanics of how pricing is calculated. I can make a url string out of the code and submit it, and I get the correct number back, so it's...