Zen Cart Logo
Forums / Addon Shipping Modules / Shipping Rates in Cart [support thread]

Shipping Rates in Cart [support thread]

Views: 30,243

Results 81 to 96 of 96
18 Jan 2011, 4:07 AM
#81
noodles avatar

noodles

New Zenner

Join Date:
Oct 2010
Posts:
23
Plugin Contributions:
0

Shipping Rates in Cart [support thread]

noodles:

I have a quick question before I install this on my v1.3.9f.

Does this send the shipping cost to PayPal along with the order amount?

Thanks!

Will it work on v1.3.9.f?

18 Jan 2011, 8:11 AM
#82
noodles avatar

noodles

New Zenner

Join Date:
Oct 2010
Posts:
23
Plugin Contributions:
0

Re: Shipping Rates in Cart [support thread]

It looks and work great! It's giving correct totals and passing on shipping charges to PayPal which I hadn't expected.

However, I've been running several test purchases up until the final confirmation, each with a different item in the cart. PayPal is giving me the shipping cost of the item tested prior, not the current item I'm testing. Is there a way to fix this please?

Also, when I click over to PayPal I get two different PayPal screens at different times. There doesn't seem to be any rhyme or reason to it. One is their new design with the invoice on the left side and flash login, etc. The other is the regular with Pay without Account on the Left. Is this a PayPal issue or something with the mod?

THANKING YOU IN ADVANCE!! I'm a newbie at this!

If it would help to see the shop, it's at (with spaces in the domain to keep out of search engines) ...

http://s e r v e d - a l - d e n t e . c o m/ourshop

PS .. I really hope this can be fixed because I love this mod. I'd like to buy you a cup of coffee with my first dollar. Well make that the first five, the price of coffee's gone up!

3 Feb 2011, 9:56 PM
#83
bonnit avatar

bonnit

Zen Follower

Join Date:
Jun 2009
Location:
Kent, UK
Posts:
350
Plugin Contributions:
0

Re: Shipping Rates in Cart [support thread]

i've had massive trouble with this just recently after changing my whole site from ISO-8859-1 to UTF-8, i was literally trying every work around on here, that was until i changed just one tiny thing at the very top, where the currency code is given instead of using the normal £ sign, replace with & pound; (without the space of course)

so all sorted now and i just hope this saves someone else the time :D

great mod thanks x

26 Mar 2011, 1:28 AM
#84
yellowaircraft avatar

yellowaircraft

New Zenner

Join Date:
Oct 2010
Posts:
31
Plugin Contributions:
0

Re: Shipping Rates in Cart [support thread]

Hi there,
I am having some problems with this module....
my website is http://rchelireview.com/rchelistore/
it is still in testing so it is not actually open yet.

I installed this module. But it does not show up in shopping cart or side box.
When I set the value in Shipping Rates in cart / no shipping behavior (admin -> config-> shipping/packaging)

Display zero shipping price -> shipping shows up as "0" in cart and sidebox. (This is correct I think)
Display a word -> "n/a" shows up in cart & sidebox
Only display subtotal -> nothing shows up in cart & sidebox
Only display total -> nothing shows up in cart & sidebox
Only display subtotal and total -> nothing shows up in cart & sidebox

I logged in with a test customer and tried it without logging in. Results are the same.

I also tried options in "Shipping Estimator Display Settings for Shopping Cart" . Same thing.

Any solutions?
Thanks in advance
Cenk

26 Mar 2011, 5:42 PM
#85
yellowaircraft avatar

yellowaircraft

New Zenner

Join Date:
Oct 2010
Posts:
31
Plugin Contributions:
0

Re: Shipping Rates in Cart [support thread]

Some more info about the problem. When I change the template to classic green. The shipping estimator seems to be working...

27 Mar 2011, 8:57 PM
#86
yellowaircraft avatar

yellowaircraft

New Zenner

Join Date:
Oct 2010
Posts:
31
Plugin Contributions:
0

Re: Shipping Rates in Cart [support thread]

Problem solved... Kinda... I bought a domain name. Started from scratch. Made a custom template using Zen Cart Classic as a template. Everything seems to be working now... https://www.rchelishack.com
Cheers
Cenk

29 Apr 2011, 2:54 PM
#87
ooba_scott avatar

ooba_scott

Zen Follower

Join Date:
Jul 2009
Posts:
218
Plugin Contributions:
0

Re: Shipping Rates in Cart [support thread]

Hi all, i have been using the mod for a while and its a great one.

I have just noticed an issue and i wondered if someone could take a look / or help me with some suggestions on how to fix...

The sidebox works fine on all pages bar 2.... the pages that it doesnt work on are the checkout-shipping address (when you change delivery address durin checkout), and also my account address.

When you try and go to these pages all you see is the header logo, and the rest of the site is broken....

I worked out that if you remove the following line of code from tpl_shopping_cart.php

//Include adapted shipping estimator code
require_once(DIR_WS_MODULES . 'shipping_rates_in_cart.php');

The all the pages work fine but obviously the mod doesnt work out the shipping costs.

I tried looking in the shipping_rates_in_cart.php file, but didnt find anything that i think could be causing the issue on only these two pages.

I ran the error debugger tool and it came up with the following error:
'PHP Fatal error: Cannot redeclare class order in xxxxxxxxxxxx/includes/classes/order.php on line 1032'

Umm not sure what else to say really apart from im using 1.38a.... hope this is some info to go on

The web site is https://www.american-breakfast-cereals.co.uk ..... the site is live :)

In hope and many thanks

Scott
If any more info is required plesae reply, or pm me or something and i will try my best to help

5 May 2011, 7:47 PM
#88
ooba_scott avatar

ooba_scott

Zen Follower

Join Date:
Jul 2009
Posts:
218
Plugin Contributions:
0

Re: Shipping Rates in Cart [support thread]

I thought i should update this thread as i have worked out and fixed the issue i was having ..... and i think alot of others will be having the same problems, but probably just never noticed

To fix the issue you need to amend the tpl_shopping_cart.php which is located in includes/modules/

The line in question that needs tweaking is on line line 85
' require(DIR_WS_CLASSES . 'order.php'); '

You need change it to the following :

require_once(DIR_WS_CLASSES . 'order.php');

By doing this it will stop the file being called more than once and causing some of the pages to break

Hope this is of some help

Scott

5 May 2011, 7:59 PM
#89
ooba_scott avatar

ooba_scott

Zen Follower

Join Date:
Jul 2009
Posts:
218
Plugin Contributions:
0

Re: Shipping Rates in Cart [support thread]

Sorry i wrote down the wrong file name......

..... the correct file that needs to be amended is shipping_rates_in_cart.php

:)

16 Feb 2012, 11:06 AM
#90
iaing avatar

iaing

New Zenner

Join Date:
Feb 2012
Posts:
19
Plugin Contributions:
0

Re: Shipping Rates in Cart [support thread]

Hi Steve 300,

first off I'm new to Zencart, so huge thanks to everyone involved, it seems great.

I downloaded v1.5 never having used an earlier version. So far SRiC seems to work fine, only little glitch is in the shopping cart - the £ symbol for total appears as a ? in a diamond - the Sub Total and Shipping ones display correctly.

I've tracked it down to line 243 of tpl_shopping_cart_default.php - $currency_symbol - but don't know enough php to know if there is an error in that code or if I just haven't set something correctly elsewhere.

Any help greatly appreciated!
Iain

26 May 2012, 7:11 PM
#91
palagio avatar

palagio

New Zenner

Join Date:
Jan 2011
Posts:
43
Plugin Contributions:
0

Re: Shipping Rates in Cart [support thread]

Hi Steve 300

I just have a question about your mod, hope you can help.

We have your mod uploaded to one of our sites https://www.minijumbos.co.uk and it works fine, we now want to install it to another store. However on this other store https://www.clicknorder.co.uk we already have another mod installed 'exc inc vat'
This mod shows the products with prices exc vat and inc vat.
When I went to install your 'shipping rates in cart' and I went to merge the file
includes/templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php

There is some coding in this file which relates to the 'exc inc vat' mod
This code you state to delete in your 'Read me' file so I am unsure how to proceed and wondering whether your mod will not work alongside the 'inc exc vat' mod
This is the code in my current file
<div id="cartSubTotal">

<?php $products = $_SESSION['cart']->get_products(); $cartShowTotalIncTax=0; $cartShowTotalExTax=0; foreach($products as $product) { $cartShowTotalIncTax+=(zen_round($product['final_price'], $currencies->currencies[DEFAULT_CURRENCY]['decimal_places']) + zen_calculate_tax($product['final_price'], zen_get_tax_rate($product['tax_class_id'])))*$product['quantity']; $cartShowTotalExTax+=(zen_round($product['final_price'], $currencies->currencies[DEFAULT_CURRENCY]['decimal_places']))*$product['quantity']; } echo SUB_TITLE_SUB_TOTAL.' '.set_inc_ex_display($cartShowTotalExTax,$cartShowTotalIncTax); ?> </div> <br class="clearBoth" />

Alternatively you stated that if the file exists in overide then delete this code:
if ($_SESSION['cart']->count_contents() > 0) {
$content .= '<hr />';
$content .= '<div class="cartBoxTotal">' . $currencies->format($_SESSION['cart']->show_total()) . '</div>';
$content .= '<br class="clearBoth" />';
}

But this code doesn't exist in my file instead the code here reads:

if ($_SESSION['cart']->count_contents() > 0) {
?>

<div class="forward"><?php echo TEXT_VISITORS_CART; ?></div> <?php } ?> <h1 id="cartDefaultHeading"><?php echo HEADING_TITLE; ?></h1> <?php if ($messageStack->size('shopping_cart') > 0) echo $messageStack->output('shopping_cart'); ?> <?php echo zen_draw_form('cart_quantity', zen_href_link(FILENAME_SHOPPING_CART, 'action=update_product')); ?> <div id="cartInstructionsDisplay" class="content"><?php echo TEXT_INFORMATION; ?></div> <?php if (!empty($totalsDisplay)) { ?> <div class="cartTotalsDisplay important"><?php echo $totalsDisplay; ?></div> <br class="clearBoth" />

Sorry my coding knowledge is little limited, hope you can help as to what i need to do to use both mods together and what i need to change the code to
Thanks in advance

14 Oct 2012, 12:34 PM
#92
manage_it avatar

manage_it

Inactive

Join Date:
May 2006
Posts:
80
Plugin Contributions:
0

Re: Shipping Rates in Cart [support thread]

Hi all,

I am running the shop in euro with decimal as , and thousand as .
The total shows a 10 times to high amount 4056,00 instead of 40,56.
When I change the decimal and thousand symbols then it works fine, but this is not how amounts are shown in the Netherlands.

How can I fix the $sric_total?

28 Mar 2014, 4:15 PM
#93
rickkfl avatar

rickkfl

New Zenner

Join Date:
Mar 2014
Location:
TampaBay, FL USA
Posts:
4
Plugin Contributions:
0

Re: Shipping Rates in Cart [support thread]

Shipping Rates in Cart Trying to install install.sql and getting WARNING: An Error occurred, please refresh the page and try again. Tried pasting and uploading file. Using zencart 1.5.1
install.sql file:

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
(NULL, 'Shipping Rates in Cart - No Shipping Behaviour', 'SRIC_NO_SHIP', 'Display zero shipping price', '<br />Some items such as gift certificates do not require shipping<p />Select what to do in these cases', 7, 50, NULL, now(), NULL, 'zen_cfg_select_option(array(''Display zero shipping price'', ''Display a word'', ''Only display subtotal'', ''Only display total'', ''Only display subtotal and total''), '),
(NULL, 'Shipping Rates in Cart - Display Currency Code', 'SRIC_DISPLAY_CURRENCY_CODE', 'No', '<br />Display the currency code in the cart<p />Useful if installed currencies share the same symbol e.g. USD and CAD', 7, 51, NULL, now(), NULL, 'zen_cfg_select_option(array(''No'', ''Yes, before price'', ''Yes, after price'', ''Yes, before price, for total only'', ''Yes, after price, for total only''), '),
(NULL, 'Shipping Rates in Sidebox - Enable', 'SRIC_SIDEBOX', 'false', '<br />Enable shipping rates in the shopping cart sidebox', 7, 52, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
(NULL, 'Shipping Rates in Sidebox - Suppress', 'SRIC_SIDEBOX_SUPPRESS', 'No', '<br />The sidebox must be suppressed during checkout.<p />Would you like the sidebox suppressed prior to checkout?', 7, 53, NULL, now(), NULL, 'zen_cfg_select_option(array(''No'', ''Yes, shopping cart page onwards'', ''Yes, sign-up/login page onwards''), '),
(NULL, 'Shipping Rates in Sidebox - Display Currency Code', 'SRIC_SIDEBOX_DISPLAY_CURRENCY_CODE', 'No', '<br />Display the currency code in the sidebox<p />Useful if installed currencies share the same symbol e.g. USD and CAD', 7, 54, NULL, now(), NULL, 'zen_cfg_select_option(array(''No'', ''Yes, before price'', ''Yes, after price'', ''Yes, before price, for total only'', ''Yes, after price, for total only''), ');

4 Aug 2014, 2:42 PM
#94
stiggybaby avatar

stiggybaby

New Zenner

Join Date:
Apr 2011
Posts:
91
Plugin Contributions:
0

Re: Shipping Rates in Cart [support thread]

Just installed SRIC on 1.5.3. Works, and is a small improvement since I only use flat rate shipping, and only ship in US.

BUT, it would be a BIG improvement IF the total with the flat rate as now seen in the shopping would also be passed on to paypal when a customer clicks on check out with paypal (EXPRESS).

So basically, what needs to be modified so that what is shown on the shopping cart screen (subtotal+shipping) to also be shown on the paypal screen (subtotal+shipping), instead of what continues to be shown on the paypal screen (subtotal WITHOUT shipping)?

6 Mar 2019, 8:06 PM
#95
bramf avatar

bramf

New Zenner

Join Date:
Apr 2017
Location:
Netherlands
Posts:
20
Plugin Contributions:
0

Re: Shipping Rates in Cart [support thread]

Nobody updated the plugin to latest 1.55/1.56 version?

12 May 2023, 1:39 AM
#96
zdcosplay avatar

zdcosplay

New Zenner

Join Date:
Apr 2021
Posts:
1
Plugin Contributions:
0

Re: Shipping Rates in Cart [support thread]

Nobody updated the plugin to latest 1.58 version?:smile::smile::smile::no: