I did a test and clicked the link which you provided in the post also and found the same result. This is what I see here when I followed the process. I’m going to take a deeper look into this for you and get back to you when I have an update if that’s ok. I’m not quite sure why it isn’t working.
I did some further testing on this for you and found out why the link you added was not working. The reason behind the link not working is because it is a product id and not a variant id for the product. For the permalink to sync properly it must be a variant id. For example, it is like saying t-shirt instead of black t-shirt with the logo in red in small. So just to make sure to get the variant id in the search console after adding .xml at the end of the product page.
I did one which works which you can see from the link below:
Hope this helps and makes it clear why this wasn’t working with the link you used. Don’t hesitate to ask should you have any other questions about this or anything else.
Thank you Nick, that’s great and its working for me now.
But this looks like its sending you directly to checkout page. Can we use the same concept for Cart page?
There is also a way to add different quantities for this feature also. It would slightly change the layout of this to something like this for example https://store.uprightpose.com/cart/add?id=43106781710&quantity=99. Maybe Jason knows a more simple way to put the link together for a different quantity in the cart?
I am trying to add Unique URL for add to cart for each product through meta
Its working fine like adding that product in cart but on checkout page its showing Sold out, and I have done setting of Continue selling when out of stock
I don’t understand how shopify is so inept with this basic feature - I had to look through 20 different articles to explain this in simple terms.
To find the variant id of a product with no variants: in shopify backend goto Products > Click the product you want to add > Now add .xml to the end of the url so store.com/admin/products/id.xml
From the xml page, look for ######### - This is the number you need to add instead of the product number.
Shopify actually creates a new silent variant when you create a product.
This can be found with their API with a simple query, but they could have included an easier way to access ids like that in the dashboard, for non-developers.
Keep in mind, in the .xml file, the right id is in the variants array, as opposed to the field directly.