heliophobe
-
Posts
10 -
Joined
-
Last visited
Posts posted by heliophobe
-
-
Hello, I installed MVS and everything seems to work up to checkout. I have one vendor who uses Fedex. When I hit continue from the initial checkout The following error comes up
Warning: Missing argument 2 for _setservice() in /var/www/html/store/includes/modules/vendors_shipping/fedex1.php on line 309Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/store/includes/modules/vendors_shipping/fedex1.php:309) in /var/www/html/store/includes/functions/general.php on line 32
The code from those lines are as follows, fedex1.php: 309 first:
function _setService($service, $vendors_id) {$this->service = $service;
}
the function line is 309
// Redirect to another page or sitefunction tep_redirect($url) {
if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page
if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url
$url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL
}
}
header('Location: ' . $url);
tep_exit();
}
The header line is line 32
Has anyone encountered this or know what's going on? I'm sooo close....hehe
-
Well, that shipping method is only used by one vendor and by setting the original shipping module dimensions, not the vendor_shipping module dimensions, and removing the $vendors_id from that function entirely it works like a champ.
This whole process gave me a headache but I thank you all for this contribution. It was exactly what I needed.
-
I recently installed MVS 1.1 and added the DHL port listed on the contribution.
The following shows up at the very top of the page during checkout_shipping/delivery confirmation, however, quotes did come up:
Warning: Missing argument 2 for _setdimensions() in /var/www/html/store/includes/modules/vendors_shipping/dhlairborne.php on line 284Warning: constant(): Couldn't find constant MODULE_SHIPPING_AIRBORNE_DIMENSIONAL_TABLE_ in /var/www/html/store/includes/modules/vendors_shipping/dhlairborne.php on line 285
I assume it has something to do with "vendors_ID" as that is the only change in those lines from the original DHL contribution.
Has anyone had this problem?
Here's the code it references"
function _setDimensions($exclusive, $vendors_id) {$dimensions = split("[:xX,]", constant('MODULE_SHIPPING_AIRBORNE_DIMENSIONAL_TABLE_' . $vendors_id));
-
I probably should have been more clear that I would have preferred pointers or a tutorial so I could deal with any future issues on my own and add contributions for others.
And I just found that product extra fields contribution not 5 minutes ago...LOL. Of course my server is being moved so I have to wait a couple hours till I can install everything.
I am not a programmer but I know enough to be dangerous and learn quickly. Everything you all have posted has taught me a lot believe it or not.
Thanks.
I truly appreciate it.
-
Just from your replies I think I know where to put what code, just not how to add fields to a page or define the variables.
I'd be more than happy to write my own contribution. Guess I'll do a bit more research on that. Maybe rip apart a contribution that added a field to see how they did it.
Thanks all. I really do appreciate it. Sorry if the request for info annoyed you Janz. Wasn't meant to.
-
Thanks for the replies. I use multiple shipping modules. DHL, UPS and USPS.
Is there a way to add those fields to the actual product entry page, say below the item weight, that would add a quantity per bag and bag weight specific to that product?
Something like this can be entered when adding a product:
Weight: .10 lbs
Bag Weight: .75lbs
Qty/bag: 6
Have the code calc the number of bags required and add it to the product weight before it gets sent to UPS/USPS/DHL for a quote.
Basically my issue is the 6 fish is an example since all fish aren't the same size. it could be 3 or 10 fish in the same size bag. And i have different size shipping bags with different weights.
thanks again. I really need to learn how to do this myself...hehe.
-
Ok, I have a unique (i think) weight issue. Many of my products have a fixed weight (1x.25lbs=.25lbs and 2x.25=.5lbs)
I also sell live fish. Depending on the fish, you can fit several in the same bag. Therein lies my problem.
If I can fit 6 fish in a bag of water, the weight of the water is the same for 1 or 6 fish although the weight of the actual fish does increase per qty. The seventh fish means another bag of water and drastically changes the shipping from 6 to 7 fish.
Is there a tare weight per quantity contribution? I've searched like mad to find an existing solution and unfortunately don't have the necessary skills to create a contribution on my own unless someone can point me to a good tutorial...hehe.
Multi_Vendor_Shipping new thread
in Shipping Modules
Posted
I actually changed $vendors_id to $vendors_id = '1'. It seems to have fixed it unless setting that to 1 does something I don't understand. That is completely possible BTW, hehe.
Sorry if I caught a bug. Thanks again for all your work on this. It saved my store.