Jump to content

Editing complete.tpl template does not shows on page


poliquinp

Recommended Posts

Hello,

 

We are trying to complete the editing of the last orderform template for our cart process and it is the complete.tpl.

 

First, we copied the exact file from standard_cart/complete.tpl and placed it in our dev folder.

 

After, when we use this link to complete order (whmcs/cart.php?a=complete&carttpl=dev&systpl=dev) we recive the email confirmation but we fall on a blank page.

 

But if we write (whmcs/cart.php?a=complete&carttpl=standar_cart&systpl=six) as a default value, we see the Paypal redirection page.

 

test.PNG

 

Also, if I do this link (whmcs/cart.php?a=complete&carttpl=standard_cart&systpl=dev) I get nothing also. So I think it might be something in the template folder directly that I am missing.

 

Any clue where I could fix this?

 

- - - Updated - - -

 

I did not found the "edit" button so pardon me !

 

As I mentionned above, when I set the six template and standar_cart cart template everything is fine.

 

If I set dev as template, nothing works. So I was thinking about the fact that I might be missing some includes files or folder. I looked in the six folder, and I saw the oauth and store folders. Does anything of this could resolve my problem?

Link to comment
Share on other sites

Here we are :twisted:

I did yes called all includes files to my dev folder. But even if I deleted everything and only write Hello World or {debug} nothing happened still.

Very strange :o

actually, it's quite usual... and just one of those strange quirks you get used to after a while.... there used to be all sorts of conflicts you could create when specifying a cart template that wasn't your default one... happy days! :roll:

 

carttpl & systpl can only take you so far, and I tend to only use them when testing earlier stages... to give a through test, I tend to make the testing template the default one and that avoids a lot of hassle... though obviously i'm doing that on a dev, not a live site. :)

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