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 ![]()