poliquinp Posted September 19, 2017 Share Posted September 19, 2017 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. 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? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 19, 2017 Share Posted September 19, 2017 remember yesterday when I set doing this could cause issues at the end of the ordering process... here we are! in your dev/complete.tpl - did you remember to change all references of standard_cart in the 3 includes ? 0 Quote Link to comment Share on other sites More sharing options...
poliquinp Posted September 19, 2017 Author Share Posted September 19, 2017 Here we are 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 happend still. Very strange 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 19, 2017 Share Posted September 19, 2017 Here we are 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 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! 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. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.