Add to cart button for samples on some product

Hi community,

I’m looking to add a button (or link) to the product page that adds a copy of the product to the cart for a lower price. I have tried this in Liquid:

[{{product.first_available_variant.title}}](https://{{shop.domain}}/cart/add?id={{product.first_available_variant.id}}&quantity=1
)

However this only holds for variants, which is not what I want. I need a duplicate of the product (no variant) to a lower price.

For example a product page that has a book with SKU/ID:222 to 999$. Then I want a button ‘Add sample to cart’ which adds the product to the cart to 9$ and adds the suffix ‘-sample’ to the SKU/ID.

I imagine this done in Liquid, but I’m open to solutions that adds another (duplicate) product created with correct, image, price etc. to the cart.

Any help would be greatly appreciated :slightly_smiling_face:

I’m afraid it’s not possible to add a sample product and change the price as you desire. Shopify can only add products that already exist in your store to retrieve their information and add them to the cart.

I thought so..

If I then create a copy of the product and give it a lower price, så that I have 2 separate products. Is it then possible to make a button on the product page for the full-price-product which puts the low-price-product into the cart? :slightly_smiling_face: