Jump to content

Child-Theme with standard_cart not work


J-B

Recommended Posts

Hello, 

i am trying to create a child-theme for the oderforms template.

I create a folder in /whmcs/templates/orderforms/new-cart/ and create a YAML File "theme.yaml".

config:
  parent: standard_cart

Now, i copy the checkout.tpl into my new folder "new-cart" and customize it. But I don't see any changes.

I change the default Template to Setup > General Settings > Ordering and Setup > Products/Services > Products/Services.

 

Any idea?

Link to comment
Share on other sites

Strange ...

If I have only these two files:

-rw-r--r--  1 web121 web121 47651 Jan 21 14:01 checkout.tpl
-rw-r--r--  1 web121 web121    32 Jan 21 13:24 theme.yaml

the Child-Theme is not working.

If I copy another one, like viewcart.tpl then it works.

-rw-r--r--  1 web121 web121 47651 Jan 21 14:01 checkout.tpl
-rw-r--r--  1 web121 web121    32 Jan 21 13:24 theme.yaml
-rw-r--r--  1 web121 web121 43200 Jan 21 14:03 viewcart.tpl

Why? Is it a Bug?

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