Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 ASP (Windows server) versions
 can't read cart contents after update7.9.8
Author    Topic »  

a2c
New Member

USA
52 Posts

Posted - 11/27/2026 :  09:15:53  
I have mod on the cart.asp to get reservation information before payment. I need to read the cart contents to ask information, but after update 7.9.8, it doesn't read them.
What made this and how to fix?
https://freefallfactory.com/shop/cart.asp

Edited by - a2c on 11/27/2026 09:58:40

Vince
Administrator

43594 Posts

Posted - 11/27/2026 :  10:28:52  
Hi a2c
I'm sorry to hear about your problems but I really have no idea how your MOD works. Could you get in touch with whoever set it up for you to see if they could update it for the current version?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

a2c
New Member

USA
52 Posts

Posted - 11/27/2026 :  11:14:55  
What did you change about cookies or Java script on v7.8.9?
The cord rerated reading is below.
for (var i = 1; i <= row; i++) {
getnum=Number(document.getElementsByTagName("input")[i+4].value);
p14=p14+getnum;
inputtext=document.getElementsByClassName('cartlinename')[i-1].innerHTML;//document.getElementsByTagName("img").attr('alt');//document.getElementsByTagName("input")[i+4].attr('aria-label');
if(inputtext.search('#20445;#38522;')>-1){
pax = pax+getnum;
}
if(inputtext.search('#20889;#30495;')>-1 && inputtext.search('#12499;#12487;#12458;')>-1){
pnv = pnv+getnum;
continue;
}
if(inputtext.search('#20889;#30495;')>-1){
p10 = p10+getnum;
continue;
}
if(inputtext.search('#12499;#12487;#12458;')>-1){
p11 = p11+getnum;
}
// if(inputtext.search('#32207;#21512;#35336;')>-1){
// inputtotal = 1;
// }
}

paxcnt = pax;
if(paxcnt==0) paxcnt=1;
document.cookie = 'paxCount='+paxcnt+'; expires=' + expire.toUTCString()+'; Secure';
var insind="";
if(pax>0) insind="i";
document.cookie = 'prod='+p14+'F'+p10+'P'+p11+'V'+pnv+'B'+insind+inputtotal+ '; expires=' + expire.toUTCString()+'; Secure';

dbdave
ECT Moderator

USA
10827 Posts

Posted - 11/27/2026 :  14:38:58  
Hi Custom mods are not really supported, but if you use a file compare program (I use winmerge (free)) you can load up the old folder and new one to see all of the changes.
But really whoever wrote this code for you should be able to sort it out. Additionally, there are some great AI coding tools that can likely sort this out.

David

a2c
New Member

USA
52 Posts

Posted - 11/27/2026 :  20:00:17  
I don't know why but maybe the number of "input" was changed?
I stop count the
document.getElementsByTagName("input")[i+4].value
and replaced by
document.getElementsByClassName("ecttextinput cartquant")[i-1].value
then working back to OK.
Thank you for help.

Vince
Administrator

43594 Posts

Posted - 11/28/2026 :  00:58:46  
Hi a2c
Yes, <input type="button"> are now <button type="button"> tags so could that have been the problem? Have you sorted it now though?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
     Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000