Jump to content

Please help


Recommended Posts

Hi Sai,

You can edit -->  templates/orderforms/standard_cart/viewcart.tpl

Standard Theme search for :

                            {if $cartitems > 0}
                                <div class="empty-cart">
                                    <button type="button" class="btn btn-link btn-xs" id="btnEmptyCart">
                                        <i class="fa fa-trash"></i>
                                        <span>{$LANG.emptycart}</span>
                                    </button>
                                </div>
                            {/if}

Then you can modify it like :

                            {if $cartitems > 0}
                                <div class="empty-cart">Text before
                                    <button type="button" class="btn btn-link btn-xs" id="btnEmptyCart">
                                        <i class="fa fa-trash"></i>
                                        <span>{$LANG.emptycart}</span>
                                    </button>
                                Text after</div>
                            {/if}

result:

image.thumb.png.ea850031cc23fedc4079c28f067a454f.png

Greetings Christian

Edited by wp4all
Link to comment
Share on other sites

  • WHMCS Staff

Hi,

Please make sure that when you do this, you are copying the "six" folder in /templates to a new folder name of your choice.

This is because as WHMCS updates in the future, the "Six" directory will be overwritten and you will lose any changes. Any custom templates remain untouched. :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated