Hello
We have a Shopify store and need to add an extra add to cart button.
We sell blinds and also fabric samples.
What I want is to be able to put fabric directly in the shopping basket from a product that has the same fabric.
So I do not want to create my own buttons and add to the description of a product, but I want to add this to the code. perhaps directly below the add to cart button.
I guess I have to connect each fabric to the blind product?
Is there a solution to this?
You mean blinds which are same to fabric will be added to cart at same time ? Can you clarify your question
Hi and thanks for the reply!
Sorry if I was a little unclear.
I just want to add fabric sample in cart directly from a blind product. So if a customer is looking at a blind, he should be able to put a fabric sample in the shopping cart and not the blind itself. Right now we have created a new product for each sample and these should be able to be added to the shopping cart directly from a product with the same fabric. Hope I have made it a little clearer.
If you look at the pictures, you can see how I think.
Maybe there is a better way to do this instead of having our own products for each sample?
So you want to give a free sample correct on every product page correct? What you can do i create a checkbox and when customer orders your product from product page they want the free sample they will click the checkbox of free same if not they will not click the checkbox - hope this helps
No, before a customer buys a blind, they often want a sample to see what the material looks like. Then they come back and buy a blind. So what I want is for them to be able to just put a sample in the shopping cart directly inside a product and not the blind.
Then you need to have ADD ON - ADD TO CART button which will put the FREE sample in cart from product page
OR
Create a FREE SAMPLE collection in that put all the FREE SAMPLES with SKU ID of the respective product from here customer will add to cart the free sample.
Ah ok. I´ll take a look at this.
Thanks for your help!
I just had done this for one of my client feel free for further help
Hi,
I think I need som further support for this.
I have a collection with all the samples. How do I connect the sample to the product and then add an “add to cart” btn for just the sample? I want to add the btn to the code because we have like 140 sample products.
If you look at the picture you can see what I want.
So what i actually need is to add another product to the cart from inside a product.
Thanks!
/Tobbe
hi @Dagborn
What you mean add another product inside that product ?
Also since you have list of collection (free sample collection) from that page go to a particular sample page then tthere you add FREE SAMPLE add to cart button and view product button >> view product button will take the user to that particular product page
I just came to me that maybe we can use related products to solve this? Is it possible to just have an add to cart btn for related product and not the link? If yes, can I add that btn whatever I want? Like in the picture I send in my last question.
Can you see the image I send? Thats one main product(blind).
We have another product with the same fabric as the blind(sample)
What I need is to be able to add the fabric sample to the cart from inside the blind product. Thats why I maybe can use related products?
Better i suggest on product page add (add free sample button + add to cart product)
and on collection page - free sample product add free sample + view product >> this will take user to product page
Ok so how can I add a button “Add free sample to cart” on product page? When I click that btn The sample product end up in the cart.
You can see in my image where I want to add the btn.
Thnaks!
It needs to be coded dynamically.
I understand! Is that something you can help me with or is there any tutorials. I know were to put the code etc but not sure how to write it.
/T
Yes i can help you… there is no tutorial.. the code needs to go in multiple places as it is dynamic add to cart button.
Ok, Do you have a code I can use or how can you help me? What do you need etc?
No i would need to create the code which will take one business day as i will have to test the same after placing the code in multiple files in your store and to do the same i would need theme access of your store.