![]() |
Re: Getting double Estimate Shipping Cost buttons in cart
I haven't changed anything on the shipping estimate shipping dialog. I found a temporary fix by removing the code in the file
var/run/skins/modules//RedSqui/GiftCertificates/Parts/shopping.cart.panel.box.tpl.php When i removed this code, the shipping estimate shows correctly. |
Re: Getting double Estimate Shipping Cost buttons in cart
Good, but this is probably not the best solution.
Could you please let me know whether you removed the redundant code Code:
@ListChild (list="layout.main.center", weight="100") as was suggested before? Thank you. Tony |
Re: Getting double Estimate Shipping Cost buttons in cart
Thanks for the help so far, I removed that line from
main.center.left.tpl main.center.right.tpl main.center.center.tpl main.center.tpl and the problem still exists. |
Re: Getting double Estimate Shipping Cost buttons in cart
I am still a bit confused.
Here it says: I have removed license-related comments, although I kept assignment to view list in place. If we omit @ListChild directive, then X-Cart will not know where to put HTML code produced by this template. http://kb.x-cart.com/display/XDD/Step+2+-+applying+design+changes Adding new templates and widgets |
Re: Getting double Estimate Shipping Cost buttons in cart
In that example, we first run the routine of removing template from the view list:
Code:
\XLite\Core\Layout::getInstance()->removeTemplateFromLists('product/details/parts/common.add-button.tpl'); and then we create a new template, which must contain @ListChild directive. In your case, you are overriding template by custom skin, @ListChild directive must be omitted. See here: http://kb.x-cart.com/display/XDD/Basic+guide+to+theme+creation Quote:
Hopefully, it helps. Tony Quote:
|
All times are GMT -8. The time now is 05:01 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.