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
 LinkedIn share causes Product to add on Cart
Author « Topic »  

danh
Starting Member

USA
4 Posts

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

Posted - 02/05/2021 :  08:18:10  
Hi,

I am using the Premium version of Shopping Cart application(Classic ASP) and I am running into an issue with LinkedIn share.

On Product details page, whenever user clicks on LinkedIn share icon, product detail page also refreshes and causes the Product to get automatically added into the cart without even clicking the "Add to Cart" option.

I am using Ecommerce PlusASP v7.1.11

Please advise what could be wrong here?


Vince
Administrator

42756 Posts

Posted - 02/05/2021 :  09:51:49  
Hi Danh
The problem comes from the fact that an HTML5 <button> tag's default type is not "button" but rather "submit". To make it act as a button you have to give it the type="button" attribute but linkedIn haven't done this. I've tried bringing this up with them but it seems they haven't fixed it so I'll see about doing our own linkedIn button somehow if possible.

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.02 seconds. Snitz Forums 2000