-M- Posted September 30, 2015 Share Posted September 30, 2015 (edited) Hi all, I am currently redesigning several orderform/cart templates. In order to stay "safe" in regards to future upgrades, I decided to copy the edited orderforms/cart templates to different names. For example: I duplicated the folder cloud_slider and renamed it to custom_design. I also did the same for standard_cart and renamed it to custom_cart. Obviously the newly duplicated custom_cart had all kinds of references to 'standard_cart' (in it's .tpl files) which I replaced to custom_cart (thank God for 'Find & Replace' tools). I thoroughly tested this and didn't find any errors. I only am experiencing one, tiny, problem... When I was testdriving and looked at the html source I saw one referral to the 'modern' style.css file. <link rel="stylesheet" type="text/css" href="templates/orderforms/modern/style.css" /> But I have no clue where it's coming from. My guess is that somewhere {$carttpl} is the problem, but I am not sure. And this is just a guess. Maybe someone experienced this as well and/or can point me in the right direction. As mentioned the reason for doing all of this, is when there is an upgrade/update to WHMCS, all our templates will function (or at least should) as before. Thank you in advance. Regards //update Well I noticed it switches to modern after you press continue on the configurable options screen. After this you get the 'Overview and order' page. So somewhere there is the issue, I guess? Well I looked and searched several times and I really don't understand where the call to the modern.css is coming from. My only guess is, is that it's located in the hardcoded files. Sigh. Edited September 30, 2015 by MvdL1979 Added an update... 0 Quote Link to comment Share on other sites More sharing options...
-M- Posted September 30, 2015 Author Share Posted September 30, 2015 Sigh... Nevermind. It's probably hardcoded, but you have to set the template also under Setup > General Settings > Ordering. Kinda weird. It uses the template you set for your product, but the checkout thing is depending on the above. 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.