Jump to content

Editing to viewcart.tpl doesn't work


lizzus

Recommended Posts

Hello everyone. Thanks again to those who helped me in the past few days in customizing my whmcs template. Today I'm customizing the last aspects of the template. Specifically I'm setting up

whmcsroot/templates/orderforms/custom_orderforms_name/viewcart.tpl

I'm trying to modify the "Continue shopping" link in order to redirect to a page I created (for example custom_page.php)

Original code of viewcart.tpl is

 <a href="cart.php" class="btn btn-link btn-continue-shopping" id="continueShopping">
 {$LANG.orderForm.continueShopping}
</a>

and i change with 

 <a href="custom_page.php" class="btn btn-link btn-continue-shopping" id="continueShopping">
 {$LANG.orderForm.continueShopping}
</a>

This change appears to have no effect. I also tried putting some text in the divs to see if it appeared on the page, but it doesn't appear. At first I was thinking of a cache problem, but even after clearing the cache the problem remains the same. It is as if any changes I make to the template are ignored.

img_continue_shopping.jpg

Link to comment
Share on other sites

14 hours ago, lizzus said:

very strange. it seems to be using the default_cart and not the customized one.

the joys of conflicting orderform templates.

are both products in that viewcart from the same product group, or at least assigned to product groups using the same custom orderform template ?

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