Forums

[Plugin: Quick Shop] Shipping calculation inconsistency (2 posts)

  1. jazbek
    Member
    Posted 4 months ago #

    Just installed QuickShop 2.0 and am setting it up for the first time. I've only entered the example " Cap | 25.00 " item just to get started. I also left the default shipping amounts ($10 starting amount, $5 per item).

    I've noticed that when I add 2 "Caps" to my cart, the Cart widget shows the shipping amount as $20, but when I go to the Checkout page, the shipping shows as $15.

    I think the Cart is right and the Checkout widget is wrong? $10 starting shipping price + 2 Caps @ $5 each totals $20. Or should it be 1 shipping fee per type of item in the cart (i.e. no matter how many Caps you have in your cart, you get charged $5 for shipping all of them).

    Any ideas/insight here? I'm happy to fix the code, but I'm not quite clear on which one would be correct.

    http://wordpress.org/extend/plugins/quick-shop/

  2. jazbek
    Member
    Posted 4 months ago #

    Well, I decided to make it charge shipping on each item, so the checkout page reflects what the cart widget says. In order to fix it, change line 328 in quickshop.class.php from

    $totalShipping += $item['shipping'];
    to
    $totalShipping += $item['shipping'] * $item['quantity'];

    jessica

Reply

You must log in to post.

About this Topic

Tags