Adding the button

Once we have our ID, we can our button. On the Edit Page screen for our landing page do the following:

  1. Add a new block as shown in the following screenshot. In our case, the block that we are adding is a Button:

  1. Select the Button block.
  2. Enter text for the button. I suggest Add to cart, followed by the price.
  3. For the link, add https://yourstore.com/cart/?add-to-cart={{product-id}}. Of course, replace the domain with your own domain and add your product ID.
  4. Save your page.

If anyone clicks the button they should land on the cart page with the product already in their cart. This can be seen in the following image, which has been taken from my site:

Now that we have a landing page, and users can add a product to their cart, we can share it with the world and get sales. That's fantastic news!

Building a landing page is great, but we can take it a step further by experimenting with the page. In the web development world, this is usually called A/B testing, since we're testing if version A is better or worse than version B.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.219.86.155