Go to previous topic
Go to next topic
Last Post 22 Feb 2019 07:48 AM by  Ton Hermes
warning while create new template checkout
 6 Replies
Author Messages


Basic Member


Posts:281
Basic Member


--
17 Feb 2019 07:12 AM

    Hi Stephen,

    I use SF 15.4
    When I want to create a custom template from the singlestep checkout then I get the warning mentioned below.
    Even when I do not make any change in the template.
    I do not use the new 15.4 checkout template because the pictures in the listing right in the minicart are way to big.
    When you have 15 or 30 items in your basket the listing is very very long :-)
    (by the way, how to change the size of these pictures, I forgot how to do -:()

    Regards, Ton

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

    Minicart picture new standardsinglestep. TO BIG FOR LONG LISTING

    minicart picture old size standardsinglestep GOOD FOR LONG LISTING

    0


    Veteran Member


    Posts:2956
    Veteran Member


    --
    18 Feb 2019 03:18 PM

    Hi Ton

    Please login as host user and go to Configuration > Security settings and enable the server side code edit. This is a security feature to prevent employees from editing template to access backend data.

    Thanks

    0


    Basic Member


    Posts:281
    Basic Member


    --
    18 Feb 2019 03:41 PM

    Hi Stephen,

    The only thing left now is the problem with the thumbnail in the listing of the cart in the checkout module.
    In the old singlestep checkout the thumbnail was fine.
    Now in the new version the thumbnail is way to big.
    I did not changed anything in the checkout template.
    Can you point me out where to edit the checkout template to get the thumbnail smaller?
    (see the example in the earlier question)

    With regards, Ton

    0


    Veteran Member


    Posts:2956
    Veteran Member


    --
    18 Feb 2019 04:03 PM

    I think your images are very tall. Try adding the following CSS to set a max-height to your image. You can play with the max-height value.

    .rvdsf-checkout-container .rvdsf-salesorderdetail-table img {
    max-height: 100px;
    }

    0


    Basic Member


    Posts:281
    Basic Member


    --
    18 Feb 2019 05:36 PM

    Hi Stephen,

    The thumbnail is perfect now.
    Only the display of the amounts is not very nice (see below)
    This happens only in the German and Dutch language.
    The English language displays correct.
    Maybe you can correct this behavior in a next release?

    With regards, Ton

    0


    Veteran Member


    Posts:2956
    Veteran Member


    --
    21 Feb 2019 04:25 PM

    The translation for the currency prints the "EUR" word that makes the whole thing too long. If this was a new install, by default, it prints without the EUR word (only the symbol is printed). Since you upgraded from an older release, the translation resources were not changed.

    Try upgrading your language pack to the latest one for the Storefront. You can download from here.

    Alternatively, you can also edit your translation directly by going to your Settings > Site Settings and under Languages tab, edit the translation (Globally) for Dutch and German. Look for the Local Resources\DesktopModules\Revindex.Dnn.RevindexStorefront\App_LocalResources\SharedResources and change the Format.CurrencyTaxInclusive.Text to {2:c}

    0


    Basic Member


    Posts:281
    Basic Member


    --
    22 Feb 2019 07:48 AM

    Hi Stephen,

    I changed this and the output was partially ok

    Then I changed this below in the same file also to the new format.

    Now everything looks fine.
    Thanks, Ton Hermes

    0


    ---