SamS1 Posted February 28 Share Posted February 28 (edited) Hi, Been trying all day to get this to work but posting here now as found a weird thing which seems like a bug. I've been using a standard_cart child theme for the order form and wanted to switch to the premium_comparison theme. Like before I copied the premium_comparison and testing it using, ?carttpl and it would just give me a blank page with no product comparison. Logs show: Smarty Error: Default handler: No template default content for 'file:orderforms/premium_comparison/recommendations-modal.tpl' But all I did was just copy the premium_comparison folder so why would it not work. This is where it gets weird. In 'general' setting and 'ordering' tab, i still have the current custom_standard_cart order form template selected and in product/services for the web hosting group, it is set to use the system default for the order form but for some reason it shows the new custom_premium_comparison template that i'm just testing with ?carttpl. If I go back to general setting and just hit save, it then show it correctly in product group but the minute I test with ?carttpl, it changes it again. Not sure if the two issues are related but pulling hair out trying to figure out why I can't get the premium_comparison to work. 🥵 Edit: ok so adding to the weirdness lol, I checked the product.tpl file in the premium_comparison folder and it references at the bottom to: {include file="orderforms/premium_comparison/recommendations-modal.tpl"} but that file does not exist in that location and exists in the standard_cart folder. But even then, why does the original premium_comparison work but not the 100% copy of it 🤬 Edit 2: Changed the line in product.tpl {include file="orderforms/premium_comparison/recommendations-modal.tpl"} in my copy to reference my copy and now this part works. Not sure why when that file is not even in that location but hey it works now. The other issue I mentioned does seem like a bug but glad I kept at it and got this working. Edited February 28 by SamS1 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.