Jump to content

Shipping cost not included unless updated


Guest

Recommended Posts

I am using the UPS module with Ground as the only option. When a customer goes to check out they must click UPDATE in order for the shipping to be included into the total. If the just hit NEXT then they are taken to Paypal and the amount does not include shipping.

I can see a lot a headache with emailing customers to inform them that they need to pay shipping.

Link to comment
Share on other sites

This problem only seems to apply when using Firefox. IE updates automatically.

Sometimes it does... I am having problems with Royal Mail Module...

Sometimes it updates and other times you have to update manually otherwise it can progress to finalise the order without shipping included.

FIX required ASAP.....

MiniMe

Link to comment
Share on other sites

I'm having just the opposite problem. When it gets to the final tally, the shipping is ALL that it shows.

ie. I did a test run with the test product using the postal order form. Everything was correct until I got to the end. It showed the price as $6.99, tax of $0.42, and shipping of $5.95, but the total only showed $5.95.

I also tried this with a digital product and it showed a total of $0.00.

Link to comment
Share on other sites

I'm having the same problem as scarob, in both Firefox and IE, but only when using the postal form. The subtotal and the shipping don't add up. But when I ordered via PayPal it calculated just fine. I have per category shipping enabled as the only option.

Thanks

Link to comment
Share on other sites

This is so flaming annoying and surely a fundamental part of the shopping cart.

If I add one item, it appeears that the shipping total is calculated correctly, but add one more of the same item to the cart and press enter and you have 2 x the item price + 1 x the shipping price untill you press UPDATE CART.... You CANNOT rely on a customer to do this they WILL forget!!!

Now when you deduct an item from the cart and press enter the quantities are:

1 x the item price + 2 times the shipping price, untill you press the UPDATE CART button.

Cmon guys a fix is requred immediately for this one, you cannot expect to retail shopping cart software that is flawed...

Gripe over! ;)

M

Link to comment
Share on other sites

Im having the problem that the shipping cost is not added till the final check out

i.e a client buys an item for say 1.00 and shows nothing for shipping

But when they reg and go to check out the shipping is then included

Im confused is the latest version of cubecart working or not ??? or should I load 2.7

Link to comment
Share on other sites

I read the bug report, can anyway translate that to a step by step fix for novices.

In /includes/content/cart.inc.php go to around line 495 (near bottom of script). It looks like this:

// add shipping cost if it has already been made

 	 if(isset($basket['shipCost']) && !empty($basket['shipCost'])) {

 	 

 	 

    $shipArray = explode("|",$basket['shipCost']);

    

    $optNo = $shipArray[0];

    if(isset($shipArray[1])){

   	 $shipCost = $shipArray[1];

    }

 	 

 	 }

 	 

 	 for($i=0; $i<count($shippingModules); $i++){



    include("modules/shipping/".$shippingModules[$i]['folder']."/calc.php");

    

    // add shipping cost if it has not already been made

    

    if(!isset($basket['shipCost']) && empty($basket['shipCost'])) { 

   	 

   	 $shipCost = sprintf("%.2f", $sum);

   	 $basket = $cart->setVar($i."|".$shipCost,"shipCost");

    

    }




You want to change it to look like this:




// add shipping cost if it has already been made

 	 /* if(isset($basket['shipCost']) && !empty($basket['shipCost'])) {

 	 

 	 

    $shipArray = explode("|",$basket['shipCost']);

    

    $optNo = $shipArray[0];

    if(isset($shipArray[1])){

   	 $shipCost = $shipArray[1];

    }

 	 

 	 } */

 	 

 	 for($i=0; $i<count($shippingModules); $i++){



    include("modules/shipping/".$shippingModules[$i]['folder']."/calc.php");

    

    // add shipping cost if it has not already been made

    

    // if(!isset($basket['shipCost']) && empty($basket['shipCost'])) { 

   	 

   	 $shipCost = sprintf("%.2f", $sum);

   	 $basket = $cart->setVar($i."|".$shipCost,"shipCost");

    

    // }

Hope that helps. It actually fixes the problem.

Link to comment
Share on other sites

It may fix the problem if you have a single shipping method, but if you offer multiple shipping meathods, it only lists the most expensive method.

This code looks very straight forward. Lemme see if I can figure this out for those of use that still have options.

Link to comment
Share on other sites

Hi jchristophm ,

I finished the change follow your words. but the shipping section is still display "free shipping" and "$12" option. the total price includes the shipping fee. but it looks shipping fee is optional. actually it's useless

so what's wrong?

Link to comment
Share on other sites

It may fix the problem if you have a single shipping method, but if you offer multiple shipping meathods, it only lists the most expensive method.

This code looks very straight forward. Lemme see if I can figure this out for those of use that still have options.

hi TrailHunter, how do you add a forum link on your cubecart ? I want to add a link under the search section, but I dont know how...

Link to comment
Share on other sites

It may fix the problem if you have a single shipping method, but if you offer multiple shipping meathods, it only lists the most expensive method.

This code looks very straight forward. Lemme see if I can figure this out for those of use that still have options.

hi TrailHunter, how do you add a forum link on your cubecart ? I want to add a link under the search section, but I dont know how...

DON'T Hijack this thread :mellow: .... This is not about creating links on your Cube Cart....

It IS about "Shipping not being updated correctly" FFS...

The fix described above does not fix the issue when you have more than one shipping method....

Fix for this is STILL required.... Cheers...

M

Link to comment
Share on other sites

Hi jchristophm ,

I finished the change follow your words. but the shipping section is still display "free shipping" and "$12" option. the total price includes the shipping fee. but it looks shipping fee is optional. actually it's useless

so what's wrong?

You probably have "free shipping" enabled. Disable free shipping in the shipping modules and you should see the shipping cost.

Link to comment
Share on other sites

Guest SCC-Solutions

I read the bug report, can anyway translate that to a step by step fix for novices.

In /includes/content/cart.inc.php go to around line 495 (near bottom of script). It looks like this:

// add shipping cost if it has already been made

  	if(isset($basket['shipCost']) && !empty($basket['shipCost'])) {

  	

  	

    $shipArray = explode("|",$basket['shipCost']);

    

    $optNo = $shipArray[0];

    if(isset($shipArray[1])){

    	$shipCost = $shipArray[1];

    }

  	

  	}

  	

  	for($i=0; $i<count($shippingModules); $i++){



    include("modules/shipping/".$shippingModules[$i]['folder']."/calc.php");

    

    // add shipping cost if it has not already been made

    

    if(!isset($basket['shipCost']) && empty($basket['shipCost'])) { 

    	

    	$shipCost = sprintf("%.2f", $sum);

    	$basket = $cart->setVar($i."|".$shipCost,"shipCost");

    

    }




You want to change it to look like this:




// add shipping cost if it has already been made

  	/* if(isset($basket['shipCost']) && !empty($basket['shipCost'])) {

  	

  	

    $shipArray = explode("|",$basket['shipCost']);

    

    $optNo = $shipArray[0];

    if(isset($shipArray[1])){

    	$shipCost = $shipArray[1];

    }

  	

  	} */

  	

  	for($i=0; $i<count($shippingModules); $i++){



    include("modules/shipping/".$shippingModules[$i]['folder']."/calc.php");

    

    // add shipping cost if it has not already been made

    

    // if(!isset($basket['shipCost']) && empty($basket['shipCost'])) { 

    	

    	$shipCost = sprintf("%.2f", $sum);

    	$basket = $cart->setVar($i."|".$shipCost,"shipCost");

    

    // }

Hope that helps. It actually fixes the problem.

The scripts both look the same except for the *

Is that right or have I totally missed it?

Link to comment
Share on other sites

Guest craigwalker

This problem only seems to apply when using Firefox. IE updates automatically.

This happens in both IE and FireFox :errm:

Link to comment
Share on other sites

Guest retire_young2005

I added the fix.

But the shipping price does not appear in the "view cart>>cart".

And when I get the "view cart>>cart>>address" I get a blank drop down box for shipping.

I hit update a couple times and it is still a blank drop down box.

And on the postal order form there is still no shipping added.

I'm using the shipping by weight module.

Link to comment
Share on other sites

Guest raceinc

This 'fix' resolves the issue with Pay Pal with only 1 shipping option but I still have a problem with print order in that shipping only becomes the grand total.

The problem with shipping cost only when using print order form has a temporary solution which is described in this bug report:

http://bugs.cubecart.com/index.php?do=details&id=245

It seemed to work for me. Now I need to implement bug fix #260 that is being discussed here.

Lou

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...