| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Update Qty Button Broken | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I think I just need a fresh set of eyes to take a look at nerdseven.com/cart.php (with an item in the cart of course)
I can't seem to get the update cart button to do anything, it's clickable just does not change quantity. Its something to do with the cart.tpl file, as I reverted to the original as a test and was able to update quantity from that...but after switching back to my customized version it was still broken. Can anyone take a look for me and see if you can find whats causing this?
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World - Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com) X-Cart Version 4.1.10 |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() Quote:
Not without seeing your cart.tpl.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() Thanks JSwait, can you detect anything that might be causing this issue?
Code:
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World - Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com) X-Cart Version 4.1.10 |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() The big difference I can see is where the quantity is changed.
You have... <font class="ProductPriceConverting">{include file="currency.tpl" value=$price}{if $products[product].ship_price} ({include file="currency.tpl" value=$products[product].ship_price}){/if} x {if $active_modules.Egoods and $products[product].distribution}1<input type="hidden"{else}<input type="text" size="3"{/if} name="productindexes[{$products[product].cartid}]" value="{$products[product].amount}" /> = </font><font class="ProductPrice">{math equation="price*amount" price=$price amount=$products[product].amount format="%.2f" assign=unformatted}{include file="currency.tpl" value=$unformatted}{if $products[product].ship_total} ({include file="currency.tpl" value=$products[product].ship_total}){/if}</font><font class="MarketPrice"> {include file="customer/main/alter_currency_value.tpl" alter_currency_value=$unformatted}{if $products[product].ship_total} {include file="customer/main/alter_currency_value.tpl" alter_currency_value=$products[product].ship_total}{/if}</font> when the stock cart.tpl has <font class="ProductPriceConverting">{include file="currency.tpl" value=$price} x {if $active_modules.Egoods and $products[product].distribution}1<input type="hidden"{else}<input type="text" size="3"{/if} name="productindexes[{$products[product].cartid}]" value="{$products[product].amount}" /> = </font><font class="ProductPrice">{math equation="price*amount" price=$price amount=$products[product].amount format="%.2f" assign=unformatted}{include file="currency.tpl" value=$unformatted}</font><font class="MarketPrice"> {include file="customer/main/alter_currency_value.tpl" alter_currency_value=$unformatted}</font> I have no idea what all of the added code does, but I think that is where the problem lies. PS - you also have a link to (http://www.tqualizer.biz) in your cart if it is empty. Do you really want this?
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#5
|
|||||||||
|
|||||||||
![]() Thanks for checking that,
I tested the stock template code by replacing my customized block but the update is still not functioning. Must be happening somewhere else?
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World - Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com) X-Cart Version 4.1.10 |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() Use a diff program to analyze the two files.
__________________
xcart 5.1.2 |
|||||||||
#7
|
|||||||||
|
|||||||||
![]()
__________________
xcart 5.1.2 |
|||||||||
#8
|
|||||||||
|
|||||||||
![]() the other thing I did was take my cart.tpl from tqualizer.biz (thanks JS for pointing that link out btw) which is a similar design and replaced the cart.tpl on nerdseven.com. On tqualizer.biz qty update works perfectly, on nerdseven the same exact code doesn't.
I'm wondering if I might be having a module conflict...we recently installed BCSE's rewards module onto NerdSeven, which t-qualizer *isn't* running.
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World - Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com) X-Cart Version 4.1.10 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|