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
 Checkoutform only showing ZIP and Country
Author « Topic »  

jaapg@promanent.com
Advanced Member

Netherlands
376 Posts

Posted - 06/20/2023 :  23:41:49  
I am implementing a new design of our website using a responsive template.

When I put some items in my cart and go to checkout only the ZIP field and Country selector are shown. All other lines in the form have <div class="billformrow" style="display:none">

What to do so I can see the complete form at checkout?

Greetings,

Jaap

jaapg@promanent.com
Promanent b.v.
www.promanent.com | www.vaarwinkel.nl

Vince
Administrator

42766 Posts

Posted - 06/21/2023 :  02:32:52  
Hi Jaap
It could be that there is a javascript error on the page and that is stopping the form from expanding. Could you let us know the URL of the page and I'll take a look?

Vince

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

jaapg@promanent.com
Advanced Member

Netherlands
376 Posts

Posted - 06/21/2023 :  03:42:37  
Hi Vince,

I also think it must be a Javascript issue, but cannot find which and where?

Our test site can be found here: https://www.vaarwinkel.nl/_sandbox/

Greetings,

Jaap

jaapg@promanent.com
Promanent b.v.
www.promanent.com | www.vaarwinkel.nl

jaapg@promanent.com
Advanced Member

Netherlands
376 Posts

Posted - 06/22/2023 :  00:57:19  
Hi Vince,

Did you have chance to check our test site ?

Greetings,

Jaap


jaapg@promanent.com
Promanent b.v.
www.promanent.com | www.vaarwinkel.nl

Vince
Administrator

42766 Posts

Posted - 06/22/2023 :  05:00:14  
Hi Jaap
I don't seem to have any problem. Is this any particular browser?

Vince

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

jaapg@promanent.com
Advanced Member

Netherlands
376 Posts

Posted - 06/22/2023 :  06:48:55  
We experience it in Chrome and Edge on Windows and in Chrome on iOS for example. But not in Safari on iOS.

But problem occurs 9 out of 10 times we try and with different products in cart.

jaapg@promanent.com
Promanent b.v.
www.promanent.com | www.vaarwinkel.nl

quadrant
Ecommerce Template Guru

United Kingdom
1110 Posts

Pre-sales questions only
(More Details...)

Posted - 06/22/2023 :  08:35:46  
Hi Jaap,

Just had a look in Firefox and I too only see Zip and Country fields.

In the console it looks like it might be your gtag code causing the issue:
SyntaxError: missing : after property id
...ping_info",{ currency:'EUR',value:20,99,items:[{item_id:'anwbcursusboekmarifonie...

Difficult to say for sure but you might want to try commenting that out and see if it cures the problem.

I notice you have a comma in your currency. Have you tried changing to a decimal point to see if that sorts it.

At least then you know what needs to be looked at.

Regards,
David

Edited by - quadrant on 06/22/2023 09:04:13

jaapg@promanent.com
Advanced Member

Netherlands
376 Posts

Posted - 06/22/2023 :  09:19:14  
Hi David,

Many thanks.

Guess you are right. When I add a product with a price in whole euros I see the whole checkout form. When I add a product with a comma price (45.35 for example) I only see the ZIP and country.

The problem is we do not add this information. This is done in the Google Tag and Analytics stuff and thus also in the Template scripts. Our website is Dutch so I guess there are some country specific settings to be able to display a broken number as a Dutch price € 45,35. But Google probably expects the international or US notation and a . as comma identifier. That explains why sometimes it works and most of the times not.

How can I instruct Google or the cart page to use the internation notation?

Greetings,

Jaap


jaapg@promanent.com
Promanent b.v.
www.promanent.com | www.vaarwinkel.nl

quadrant
Ecommerce Template Guru

United Kingdom
1110 Posts

Pre-sales questions only
(More Details...)

Posted - 06/22/2023 :  09:41:27  
Hi Jaap,

Vince might be able to suggest something.

This might also help:
https://stackoverflow.com/questions/73233184/how-to-replace-comma-with-a-dot-in-gtm-for-json-structured-data

Perhaps a bit of js to replace the comma.

Regards,
David

jaapg@promanent.com
Advanced Member

Netherlands
376 Posts

Posted - 06/22/2023 :  10:10:50  
The line which is causing this problem is located in inccart.asp

print "gtag(""event"",""add_shipping_info"",{ currency:'" & countryCurrency & "',value:" & totalgoods & ",items:[" & getcartforganalytics("") & "]});" & vbLf


totalgoods is calculated in the loop just above this line.



jaapg@promanent.com
Promanent b.v.
www.promanent.com | www.vaarwinkel.nl

dbdave
ECT Moderator

USA
10411 Posts

Posted - 06/22/2023 :  10:40:00  
FYI - To all involved, this is the third time, recently, this issue has popped up here on the forum.
Perhaps we are on the way to a fix now that you all have discovered what the issue may be.

David

jaapg@promanent.com
Advanced Member

Netherlands
376 Posts

Posted - 06/22/2023 :  10:56:38  
Totalgoods is used in different gtag vode as well so I guess the same problem occurs there as well and probably causes Google not being able to track all data.

jaapg@promanent.com
Promanent b.v.
www.promanent.com | www.vaarwinkel.nl

Vince
Administrator

42766 Posts

Posted - 06/22/2023 :  11:46:42  
My apologies Jaap but it seems it's the number format for Latin locales that is causing the problem and I've added the fix to the v7.5 and v7.6 updaters now. Thanks all for helping to track this down.

Vince

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

jaapg@promanent.com
Advanced Member

Netherlands
376 Posts

Posted - 06/23/2023 :  01:48:08  
Hi Vince,

Many thanks the updated version of 7.5.8 works.

I experience a different problem, but will make a new topic for this.

Greetings,

Jaap

jaapg@promanent.com
Promanent b.v.
www.promanent.com | www.vaarwinkel.nl
  « 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