Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Display Shipping Cost

    I have been looking for a way to display the shipping cost on shopping cart page, I understand that shipping estimator will display the shipping fee but I want to add the shipping to the table under the Sub-total then add another line to display the actual total (sub-total+shipping). Since the US is the default country all the shipping cost will be displayed as US if the customer change the country then the total will change to reflect that.

    In the next step I want to display the sub-total, shipping and total in the header of the site. simillar to this site:
    http://www.business-supply.com/

  2. #2
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Display Shipping Cost

    Check out the SRiC link in my signature.

  3. #3
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: Display Shipping Cost

    Thanks Steven
    I noticed that a lot of people are asking for this. I am glad you find the time to code it. I will give it a try on my new site.
    It worked like a charme for the shopping cart page
    Last edited by CoolCarPartsOnline; 14 May 2009 at 12:35 AM.

  4. #4
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Display Shipping Cost

    You're welcome. If you have any issues at all, this is the support thread:
    http://www.zen-cart.com/forum/showthread.php?t=125817

  5. #5
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: Display Shipping Cost

    Here is another question for you. I want to display the sub-total, shipping and total in the header. So if the cart is empty it will show 0 for all the fields but when there is something in the cart it will display the total. Now i managed to display the cart total in the header when there is products in the cart and display "Shopping Cart Empty" when the cart is empty can I do the same for the shipping and total? Is it possible to add an if statement?

  6. #6
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: Display Shipping Cost

    I just thought of a way but I will need your feedback.

    I am thinking about creating an if statement to display:
    Shopping cart is empty
    sub-total: $0.00
    shipping: $0.00
    total: $0.00

    and once a customer add product I can display the result from your mod. I am looking at the sidebox code which part of the code will I need to copy in the if statement, also I want to style the result, what is the shortest way to do it. I want it to be displayed all the time so I will not care much about the admin control.

  7. #7
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Display Shipping Cost

    As a minimum, you will need:

    lines 51-66 to get the currency symbol

    lines 68-69 to include the logic

    lines 71-84 to work out the shipping rate

    line 114 to get the sub-total

    lines 116-120 to work out the total


    Then it's up to you to style and display the following variables:

    $cartShowTotal
    $sric_shipping
    $sric_total

    You will need to display $currency_symbol just before displaying $sric_total

  8. #8
    Join Date
    Dec 2008
    Location
    San Diego, California
    Posts
    54
    Plugin Contributions
    0

    Default Like To Display Tax Exactly Like This Mod

    I wonder if this mod could be used as a base somehow but change the display and logic for sales tax?
    1.3.8
    Go Daddy Hosted

  9. #9
    Join Date
    Dec 2008
    Location
    San Diego, California
    Posts
    54
    Plugin Contributions
    0

    Default Re: Display Shipping Cost

    Could this be done?
    1.3.8
    Go Daddy Hosted

  10. #10
    Join Date
    Mar 2005
    Location
    Tempe, AZ
    Posts
    324
    Plugin Contributions
    0

    Default Re: Display Shipping Cost

    I may have asked this before i am not sure, is it possible to have the shipping estimator show up on the product information page so that the customer can get a idea of how much the shipping will cost before adding the item to the cart?

    Like this page

    http://www.beachaudio.com/Royal/2929...tm_content=atr

    Thanks
    Last edited by lextechs; 1 Jul 2009 at 07:12 PM. Reason: Misspelling
    Lextechs.com Powered By ZenCart

 

 

Similar Threads

  1. Help!!! Why the shipping cost display ZERO?
    By topbuy in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 30 Jul 2012, 02:40 PM
  2. How to not display the shipping cost under shipping method?
    By welldone in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 17 Nov 2010, 09:03 AM
  3. Item Cost and Actual Shipping Cost?
    By glovesurgeon in forum Setting Up Specials and SaleMaker
    Replies: 2
    Last Post: 12 May 2009, 03:39 AM
  4. Multiple Shipping cost for different order cost
    By noobz in forum Addon Shipping Modules
    Replies: 3
    Last Post: 5 Jul 2008, 05:12 PM
  5. Display Shipping Cost On The First Checkout Page
    By mattys in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 1 May 2007, 03:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg