Why create an add to cart link?
Creating an add to cart link can be beneficial in many ways, especially when you have a conversion-optimized page that isn’t necessarily a product page.
By adding a product to the cart with a link, you can create a button or even a text hyperlink that adds the product to the visitor’s shopping cart without having them go to an extra product page.
A great example of why you would need to create an add to cart link to your products would be when you create a “top 5 products” blog post. You can display an add to cart button directly on that sales page to get your visitors to purchase that product right away.
Creating an add to cart link with query strings
So in order to create the add to cart link, we have 2 parameters to remember: the URL to your cart page and the product ID number.
Start by copying your shopping cart page URL. This is going to be the base url for the query string.
Head over to your dashboard and go to the products > all products tab. For this example, we are using the VIP Membership product. Hover over the product to see the product ID number. In this example the product ID number is 147.
Initiate the query string by adding a question mark after the slash, then add the add-to-cart query followed by the equal sign.
So far, it should look like this: “?add-to-cart=”
To tell which product we are adding to the cart, we simply add the product ID number to the end of the query string.
This tells the cart that we are adding that specific product to the shopping cart.
FOR HELP IN THE CREATION OF YOUR PERFECT WEBSITE...Keep Flawless In Mind
5 Add-ons to Enhance Your Business Website0 Comments Enhance Your Business Website As a small business owner, you’re always on the lookout for tools which can enhance your business website to have the competitive edge it needs to succeed. In the digital marketplace,...read more
5 Pro Tips to Help You Avoid Costly Mistakes in Mobile App Development0 Comments Mar 30, 2019For most retailers, it used to be that Black Friday was the big kick-off to the holiday shopping season. In the last few years, Cyber Monday has outpaced Black Friday in...read more
Your website’s homepage gives potential clients their first impression of your business and if experts are right, it’d better be a good one. Time-strapped consumers have a short attention span, and they won’t waste their time on a poorly designed website trying to figure out if you can meet their needs — they’ll just move on. How do you make your message clear? With these three things that need to be on every business website homepage.read more