Jump to content

Unable to customize checkout.tpl


Recommended Posts

Hello, i followed this simple guideline to customize some order forms: https://docs.whmcs.com/Order_Form_Templates#Creating_a_Custom_Order_Form_Template

I created a folder 'gws_cart' inside the templates/orderforms/ folder and created the following files:

├── checkout.tpl
├── configureproduct.tpl
└── theme.yaml


    parent: standard_cart

I copied the configureproduct.tpl and checkout.tpl files and adapted them to my needs. While the configureproduct.tpl works fine and displays all the changes i have made, I can't get the changes in the checkout.tpl displayed 😕

diff gws_cart/checkout.tpl standard_cart/checkout.tpl 
<                         </p>HELLO FROM GWS_CART
>                         </p>HELLO FROM STANDARD TEMPLATE!

The checkout page always shows me "HELLO FROM STANDARD TEMPLATE".

Interestingly the configureproduct.tpl file works fine and displays the right modifications.

I set the theme in General Settings -> Ordering to the "Gws Cart" Theme, i cleared the template cache and also made sure, that no product group is configured with another theme.

Any suggestions on how to get this working or if the checkout.tpl file needs some special treatment?

Thanks in advance!

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.

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