| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Getting double Estimate Shipping Cost buttons in cart | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Getting double Estimate Shipping Cost buttons in cart
For some reason, I am getting double Estimate Shipping Cost buttons in cart.
See attached image.
__________________
xCart 5.2.16 |
|||||||
#2
|
|||||||
|
|||||||
Re: Getting double Estimate Shipping Cost buttons in cart
The top button take you to a seperate page to enter the info and the bottom button opens the modal window to enter the info.
If i open the bottom button and enter nothing then close the window, the shipping button is normal (see attached).
__________________
xCart 5.2.16 |
|||||||
#3
|
|||||||
|
|||||||
Re: Getting double Estimate Shipping Cost buttons in cart
It is showing everything twice in this area (see attached).
__________________
xCart 5.2.16 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Getting double Estimate Shipping Cost buttons in cart
Do you have a custom skin? This might happen if you copied a template file (or a PHP class) having "@ListChild" tag into a custom skin and left the tag in the copy.
Also, try to run the "Re-deploy the store" function (after creating a full backup including files and the MySQL database). Does this help?
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#5
|
|||||||
|
|||||||
Re: Getting double Estimate Shipping Cost buttons in cart
I am running a custom skin. There are "@ListChild" lines in some of the tpl files. How do we specify weight if that line is removed? Or what do you mean " in the copy".
__________________
xCart 5.2.16 |
|||||||
#6
|
|||||||||
|
|||||||||
Re: Getting double Estimate Shipping Cost buttons in cart
It is a bit tricky - you should do this from your module's Main.php file:
PHP Code:
Then run the "Re-deploy the store" function to get this method look through lists of views and update necessary templates/classes. I haven't tested the code, but this either should work as is, or the logic would be very similar
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#7
|
|||||||
|
|||||||
Re: Getting double Estimate Shipping Cost buttons in cart
So if I leave the line below in the top of the tpl file that I copied to my custom skin, that could cause the Estimate Shipping Cost buttons to display twice?
@ListChild (list="layout.main.center", weight="100")
__________________
xCart 5.2.16 |
|||||||
#8
|
|||||||||
|
|||||||||
Re: Getting double Estimate Shipping Cost buttons in cart
Yes, this will cause the template to appear in "layout.main.center" twice
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#9
|
|||||||
|
|||||||
Re: Getting double Estimate Shipping Cost buttons in cart
In the documentation, it is creating a new template and says to keep the @ListChild line.
Adding new templates and widgets http://kb.x-cart.com/display/XDD/Step+2+-+applying+design+changes#Step2-applyingdesignchanges-Addingnewtemplatesandwidgets Actually, I don't have any tpl's in my skin that displays that right bar in the checkout page. It looks like the GiftCertificate module tries to display but after a few seconds the second shipping button displays.
__________________
xCart 5.2.16 |
|||||||
#10
|
|||||||||
|
|||||||||
Re: Getting double Estimate Shipping Cost buttons in cart
@jack68938,
As I see you tried to apply some change to estimate shipping dialog. Could you please let me know what change you tried to apply and how? Tony
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|