Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

[Contribution] Ship In Cart


611 replies to this topic

#581 decapper

  • Community Member
  • 102 posts
  • Real Name:John Howard
  • Gender:Male
  • Location:Australia

Posted 13 February 2009, 05:38

I have free postage module with this module.

My issuse is that when free postage australian postage (default) all the postage options disappear. The problem is when you select another country it does not refresh the postage options.

Is some able to add that when a different country is selected the page refreshes. I have not got a clue how to do this.

Thanks.

#582 djkubus

  • Community Member
  • 16 posts
  • Real Name:jake

Posted 09 March 2009, 07:59

Hello I love the contib and I would love to use it but... I use USPS and UPS XML when a customer is not logged in and you go to the cart i only get 2 options Pick a country and type in zip code so my state drop down is not here. I can see the code for it to be pulled from the db but doesn't seem to work. I get a email right away as a php error from the UPS module... Im using the latest version of OSC.. Please help

Thanx

#583 day2

  • Community Member
  • 79 posts
  • Real Name:engbok

Posted 24 March 2009, 03:01

My problem is when user not log in, although they have selected the country and state, all shipping option cannot calculate a rate (it will display "(No shipping available to the selected location)" for all shipping option), but user log in, it work just fine, any idea what has gone wrong??

u can check it here:

http://www.mmo.net.my/store/

#584 day2

  • Community Member
  • 79 posts
  • Real Name:engbok

Posted 30 March 2009, 08:47

View Postday2, on Mar 24 2009, 11:01 AM, said:

My problem is when user not log in, although they have selected the country and state, all shipping option cannot calculate a rate (it will display "(No shipping available to the selected location)" for all shipping option), but user log in, it work just fine, any idea what has gone wrong??

u can check it here:

http://www.mmo.net.my/store/

Update of my findings; i suspected the reason why shipping option can't shown any calculation, is becoz when user not log in, the shipping weight cannot be determined.

The reason i figure this out, is becoz i tried to enable the show weight option in the configuration, when user log in, the weight is shown according, but when user not log in, the weight cannot be shown. I assumed this could be the root problem as all my shipping option are depend on weight.

I have look thru the code, realized the following code was excluded from the non-logged in option:
if (CARTSHIP_SHOWWT == 'true') {
	$showweight = ' (' . $total_weight . ' ' . CARTSHIP_WTUNIT . ')';
  } else {
	$showweight = '';
  }

hence i added these code inside the shipping_estimator.php after the // not logged in tag, the shipping weight was successful displayed, but the shipping option still failed to do the calculation.

:angry:

Lets try others, When i disabled the "shown update button" in the configuration, the "update" button disappeared in the shopping cart page. Now, i can't refresh the page with the state selected. Meaning, if i select a "A" state. either i refresh it or using the shopping cart update button to refresh it, the selected state has gone and the drop down box has gone back to "Please Select"

Could this be the problem, say the session id problem or .htaccess problem??

<_<

HELP PLSSSSSSSSSSS~~~~~~~~~~~~

Edited by day2, 30 March 2009, 08:49.


#585 EricK

  • Community Member
  • 310 posts
  • Real Name:Eric_K
  • Gender:Male
  • Location:Atlanta, GA USA

Posted 25 April 2009, 06:03

You must login to see quotes if using the MultiGeoZone MultiTable Shipping module.
It works great for all other shipping methods, but has never worked for MultiGeoZone MultiTable Shipping unless you login.

Any ideas what I should change to get quotes without logging in?

Thanks,
Eric_K

#586 EricK

  • Community Member
  • 310 posts
  • Real Name:Eric_K
  • Gender:Male
  • Location:Atlanta, GA USA

Posted 25 April 2009, 06:41

Quote

You must login to see quotes if using the MultiGeoZone MultiTable Shipping module.
It works great for all other shipping methods, but has never worked for MultiGeoZone MultiTable Shipping unless you login.

Works now, I just updated to the latest version of mzmt.php (MultiGeoZone MultiTable Shipping).

Cheers,
Eric_K

#587 Marcos_kfir

  • Community Member
  • 1 posts
  • Real Name:Marcos Kfir

Posted 30 April 2009, 00:45

Does anyone have any idea of how to work as a contribution in the pop-up product_info.php?


my code gives error :wacko:



<?php
$cart->add_cart($product_info['products_id']); //add current to cart for estimator

if (CARTSHIP_ONOFF == 'Enabled')


{echo '<a href="java script:popupWindow(\'' . tep_href_link((DIR_WS_MODULES . 'product_shipping_estimator.php')) . '\')">' . '<img src="images/icons/shipcost.gif" border="0">&nbsp;' . TEXT_SHIPPING_COST . '</a>';}

else {};
$cart->remove($product_info['products_id']); //lets remove current product from cart
?>



send-me this error below:

Forbidden
You don't have permission to access /loja/includes/modules/product_shipping_estimator_pop.php on this server.


--------------------------------------------------------------------------------

Apache/1.3.31 Server at localhost Port 80

tks,

Jesus loves you

#588 Deshosts

  • Community Member
  • 29 posts
  • Real Name:Neil

Posted 09 May 2009, 07:30

Hi Hope someone can help, I have searched the forum but no joy, when the user is logged in contrib works perfect all shipping modes etc, shipping by postal code or royal mail, but if user not logged in they get the royal mail shipping options but not the ship by post code, entering the post code and selecting update the page refreshes but still no joy.

Thanks

#589 rdracing

  • Community Member
  • 12 posts
  • Real Name:Ron

Posted 18 May 2009, 18:23

Searched the forum for this but have not found any info.
The contribution works great...Thanks!!

But a couple of problems we are having is.
1) FedEx is sending us a XML error every time someone gets a quote even though it's giving the quote just fine?

FedEx Freight returned an error or invalid
response.http://www.fedexfreight.fedex.com/XMLRating.jsp?as_shipterms=prepaid&as_shzip=44301&as_shcntry=US&as_cnzip=&as_cncntry=US&as_iamthe=shipper&as_acctnbr=(account number removed)&as_class1=150&as_weight1=6&as_pcs1=1&as_haz1=0&as_freezable1=0


2) I've seen this problem mentioned, but never answered. When we add the contribution to the products_info.php page it shows up fine, but when you input your information and hit "update" it returns a 404 error with w url like this: http://mystore.com/_ I did check and the same url is being queried from the shopping cart, except is actually reloads the page with the updated info when the "update" button.

Thanks for any help you may have.

Ron

Edited by rdracing, 18 May 2009, 18:25.


#590 Patty

  • Community Member
  • 242 posts
  • Real Name:Patricia
  • Gender:Female
  • Location:Brazil

Posted 10 June 2009, 00:00

View Postrdracing, on May 18 2009, 03:23 PM, said:

2) I've seen this problem mentioned, but never answered. When we add the contribution to the products_info.php page it shows up fine, but when you input your information and hit "update" it returns a 404 error with w url like this: http://mystore.com/_ I did check and the same url is being queried from the shopping cart, except is actually reloads the page with the updated info when the "update" button.

I'm having the same problem. The URL construction is on line 187:
  $ShipTxt= tep_draw_form('estimator', tep_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . $cPath . '&products_id=' . $HTTP_GET_VARS['products_id']), 'post'); //'onSubmit="return check_form();"'
But I don't know how to fix it.

Somebody please help?? :blush:
Patty

#591 jimmyharwood

  • Community Member
  • 35 posts
  • Real Name:Jimmy Harwood
  • Gender:Male
  • Location:Manchester UK

Posted 19 July 2009, 10:04

just recently installed this, but had some problems with IE.
The cart update button did not work in IE but was fine in Firefox. Once an item was placed into the cart it could not be removed agian.

This is a excellant mod, that I really would like to use in our store www.scootssuitsandboots.com but can not afford to put people off if the cart is malfunctioning.

I have look through the mod in case it was a load error that I have done - but can not see anything, has anybody else had the same problem, or know where to look?

Jimmy

#592 kenz

  • Community Member
  • 157 posts
  • Real Name:kensley

Posted 28 July 2009, 22:48

Hello, I just installed this module and so far most of it works great. The only problem i got so far on rc2a is that if no items are in my cart and I try to calculate shipping on the product_info.php page, it throws an error. Also when an Item is added to cart, it cannot be removed. Anyone got any recommendations on what files I should modify to fix this??

Much thanks in advanced!

-kenz

Edited by kenz, 28 July 2009, 22:50.


#593 jimmyharwood

  • Community Member
  • 35 posts
  • Real Name:Jimmy Harwood
  • Gender:Male
  • Location:Manchester UK

Posted 02 August 2009, 09:16

View Postkenz, on Jul 28 2009, 11:48 PM, said:

Hello, I just installed this module and so far most of it works great. The only problem i got so far on rc2a is that if no items are in my cart and I try to calculate shipping on the product_info.php page, it throws an error. Also when an Item is added to cart, it cannot be removed. Anyone got any recommendations on what files I should modify to fix this??

Much thanks in advanced!

-kenz

Hi Kenz, I had the same problem with the cart as yourself. When using Firefox the cart update button worked fine but in IE it did not.
All I did was move the line

<td><br><?php if (CARTSHIP_ONOFF == 'Enabled') { require(DIR_WS_MODULES . 'shipping_estimator.php'); } else {}; ?></td>

from the table that contained the original cart update button.

In essance I changed it from line 185 to 239 (in shopping_cart.php - the line ref may be different for you as my site has quite a few mods attached.

My code now looks like the following

<td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>'; ?></td>
<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
</tr>
</table> </td>
</tr>
</table></form><tr>
<td><br><?php if (CARTSHIP_ONOFF == 'Enabled') { require(DIR_WS_MODULES . 'shipping_estimator.php'); } else {}; ?></td>
</tr></td>
</tr>
<?php
$initialize_checkout_methods = $payment_modules->checkout_initialization_method();

if (!empty($initialize_checkout_methods)) {
?>

You can see it at http://www.scootssuitsandboots.com

I do not have your other error as when my cart is empty the shipping estimate turns off - do you have CARTSHIP_ONOFF == 'Enabled' - I do not know if this is the right bit of code, just guessing - unfortunatly I not as good as a lot of the people on this forum, just trying to help.

Hope all goes well

Jimmy

#594 minionsweb

  • Community Member
  • 168 posts
  • Real Name:Corey

Posted 20 August 2009, 17:43

Nice contrib, been a customer request for quite some time.

I discovered a bug and dealt with it in IE when used with ms2.2

When using the catalog/product_info.php code, it cannot be placed "where you want it"
It MUST be placed after the add to cart button or it will not function (no hyperlink, no add)

I suggest it be placed near line 260 - look for:
			  </table>
				</td>
				<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
			  </tr>
			</table></td>
		  </tr>
		</table></td>
	  </tr>
	  <tr>
		<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
	  </tr>
then place
			<!-- BOE Ship in Cart Estimator 2.2.2 //-->
						<tr>
							<td>
						<br>
						<?php
							$cart->add_cart($product_info['products_id']); //add current to cart for estimator

						 if (CARTSHIP_ONOFF == 'Enabled') { require(DIR_WS_MODULES . 'product_shipping_estimator.php'); } else {};
							$cart->remove($product_info['products_id']);   //lets remove current product from cart
						?>
							</td>
						</tr>
			<!-- EOE Ship in Cart Estimator 2.2.2 //-->
Between:
			  </table>
				</td>
				<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
			  </tr>
			</table></td>
		  </tr>
		</table></td>
	  </tr>
and:
	  <tr>
		<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
	  </tr>
This will restore the add to cart functionality

#595 minionsweb

  • Community Member
  • 168 posts
  • Real Name:Corey

Posted 21 August 2009, 15:13

Wow is this contrib buggy!

1st - the non logged in quote (in shoping cart) runs never ending once you enter a zip code yet the zip code is not present.
We have customers who ship to different locations (movie shoots, US vs Canada , etc)
The invisible postal code and never ending quote is first confusing, second a bug.

I had to remove the product_info.php code since the zip was carrying over.
If you then tried to update the zip in a product info window (for a correct weight based quote) you get the 2nd.

2nd - in IE OR firefox if you are not logged in, in a product page (based on product_info.php) and try to get an estimate based on country/postal code it throws a 404 error.

A nice attempt, but there are issues.
As it is our busy season I do not have time to address there problems.
I think folks should be aware of the shortcomings.

#596 day2

  • Community Member
  • 79 posts
  • Real Name:engbok

Posted 21 December 2009, 03:22

Hi Guys

I am using Ship In Cart v2.2.2a+product info with OSC rca2.2

I have some prob with the Product info page.

Problem 1: For user that not log in, i have enabled the state selector option and the shown "update" button option.
The prob is when a state is selected and update button hit the url will come to something like: "wwww.xxx/catalog/_", and no such address page will be shown.

Problem 2: If user log in with more than an address to be selected, the update button doesn't shown and i can't refresh it after selecting one of the address in the profile.


Anyone facing the same prob and got the solution??

Many thanks

#597 bowen

  • Community Member
  • 73 posts
  • Real Name:Mark Bowen
  • Gender:Male
  • Location:stoke on trent

Posted 06 July 2010, 00:56

my issue is the same as Marcos_kfir...

Quote

Does anyone have any idea of how to work as a contribution in the pop-up product_info.php?


my code gives error :wacko:



<?php
$cart->add_cart($product_info['products_id']); //add current to cart for estimator

if (CARTSHIP_ONOFF == 'Enabled')


{echo '<a href="java script:popupWindow(\'' . tep_href_link((DIR_WS_MODULES . 'product_shipping_estimator.php')) . '\')">' . '<img src="images/icons/shipcost.gif" border="0">&nbsp;' . TEXT_SHIPPING_COST . '</a>';}

else {};
$cart->remove($product_info['products_id']); //lets remove current product from cart
?>



send-me this error below:

Forbidden
You don't have permission to access /loja/includes/modules/product_shipping_estimator_pop.php on this server

but mine says that the file cannot be found. the format as it is is very messy and doesnt suit the page so i am trying to get it as a popup instead (similar to popup shipping estimate 1.7b). as it is tidier.

any help on getting this as a popup is most appreciated.

#598 freestylehilly

  • Community Member
  • 3 posts
  • Real Name:Jason Hill

Posted 26 July 2010, 05:05

Anyone fixed the bugs in this yet ? I'm getting the 404 error like most others with an underscore being added to the end of the URL when using the estimator on the product info page. I'm a big fan of this contribution and so will be a lot of my customers if we get it working on the product info page.

Thanks guys.

Hilly

#599 jdog2004

  • Community Member
  • 17 posts
  • Real Name:John Coleman

Posted 14 October 2010, 04:45

View PostIrin, on 30 June 2007, 16:27, said:

I finally fixed the problem with the Shipping Calculator. Optional updates caused a problem with the module. However, I've got another problem now. I have 4 shipping modules installed: FedEx, UPS, USPS, and Pickup. Estimate Shipping shows correct shipping rates but when any of UPS or FedEx methods are selected, the Order Total Estimate shows UPS or FedEx rates x2. For example:

There is also a problem with FedEx shipping rates. Doesn't matter what FedEx method I select it always shows FedEx Ground Service selected and Order Total Estimate also shows only FedEx Ground rate. Is there any solution to the problem?

Thanks in advance.

I am also having this same problem and cant seem to find an answer. Can anyone help please?

#600 jdog2004

  • Community Member
  • 17 posts
  • Real Name:John Coleman

Posted 03 November 2010, 13:54

View Postjdog2004, on 14 October 2010, 04:45, said:

I am also having this same problem and cant seem to find an answer. Can anyone help please?

Any Ideas ???