Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Richard Eyres 98 posts 580 karma points
    Oct 25, 2012 @ 10:59
    Richard Eyres
    0

    Adding a Shipping Method Description

    Hello

    I am currently getting TeaCommerce integrated into a Razor Site we are building (Umbraco 4.9). One of the issues i am hitting is the need to expand the Shipping Methods within the backend to include a brief description of the Shipping Method.

    Example, 

    Shipping Method: Saturday
    Description: Order before 2pm to receive on the next available Saturday

    I would like to keep this description within the Common Tab, to make life easier for the client.

    Is this possible, or will i have to look at a different way of providing a shipping description.

  • Rune Grønkjær 1372 posts 3103 karma points
    Oct 25, 2012 @ 11:16
    Rune Grønkjær
    0

    Hi Richard,

    We actually do that in the Tea Commerce starter kit by default. But as you are using razor and the current starter kit is based on xslt you cannot copy the solution directly. What we do is pretty simple though:

    1. First of all you will be using the "Dictionary item name" field on the shipping method. Write a name in that e.g. "UPS".
    2. Create a dictionary item with the same name (UPS) in the dictionary That will be the name in your frontend.
    3. Now create a second dictionary item "UPSDesc". That will be your description.
    4. Finally you can fetch those dictionary items when you display your payment methods. The second one you wil get by appending "Desc" after the value from the shipping method.

    /Rune

  • Richard Eyres 98 posts 580 karma points
    Oct 25, 2012 @ 17:11
    Richard Eyres
    0

    Thank you Rune, Sorry for the delay in replying (and thank you for the FAST response).

    I can now see why it was done this way, and have now implemented into my Razor implentation.

Please Sign in or register to post replies

Write your reply to:

Draft