Solved

Samples at Checkout

marvic
Explorer
51 4 6

Hi there,

 

we want to offer customers with a total cart value >X $ product samples. These should not be free! The customer still has to pay for them but at a much reduced price.

 

We want to have 1 product sample at a given time (it's a take it or leave it offer, no choices here, max 1 item per order). Once that sample is sold out we restock with a different product sample and so on.

We know that there are apps doing this, but it sounds like something rather simple (adding a product to checkout page, when cart is >X$ with a checkbox to add to order). Anyone got a clue how to achieve this? No point giving paying an app and giving access to the store API for this task.

Thanks!!

Accepted Solution (1)

PaulNewton
Shopify Partner
6273 572 1309

This is an accepted solution.


 

 

@marvic wrote:

but it sounds like something rather simple (adding a product to checkout page


Stores on general plans cannot edit the checkout experience , only Shopify Plus enterprise could edit the checkout.liquid before it's depreciated.

To add functionality to parts of the checkout requires using or making an app. 

 

@marvic wrote:

No point giving paying an app and giving access to the store API for this task.

This is a mindset that will limit you from using every tool available, stick to the time-investment,  math and data.

There is an inflection point for adding such features as an app vs customizing to a theme. 

If an apps cost in fee & time managing it is less than the revenue that app generates do you really want to spend time figuring out how to create a business feature that hasn't even been validated yet with customers (read: shortlist and install "best" app to test conversions then invest). Customizations can cost easily cost 10x upfront vs the a monthly app cost.

/end caveat.

 

To do something like this on the /cart page , not the checkout, see the gift wrap customization. https://shopify.dev/tutorials/customize-theme-add-gift-wrap-option 

See other conversations for auto adding products to the cart, and about hiding/preventing products from being added to the cart normally; though in typical fashion this is generally handles by apps like locksmith.

 

 And there's the backend problem of making sure orders(post checkout) are valid with total cart values to make sure customers aren't being too clever by using the ajax api to add products to the cart.

Try and setup the free shopify-flow app to validate orders totals or an automation app like usemechanic to script custom order validation logic. 

 

If you need this customizatio & process built you can contact me directly for services.
Please provide context, examples: post url(s), store url, theme name,, or any further detail.
Contact Info in signature.

 

 

To restrict it to certain customers see conversations/tutorials on making a membership site with tags. 

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org


View solution in original post

Replies 3 (3)
marvic
Explorer
51 4 6

Hi there. Thank you for your answer. What's a product loklok? You have example code?

The thing is we also don't want these samples to show up as regular products in our shop. Kind of like a hidden product only visible at checkout to select customers.

PaulNewton
Shopify Partner
6273 572 1309

This is an accepted solution.


 

 

@marvic wrote:

but it sounds like something rather simple (adding a product to checkout page


Stores on general plans cannot edit the checkout experience , only Shopify Plus enterprise could edit the checkout.liquid before it's depreciated.

To add functionality to parts of the checkout requires using or making an app. 

 

@marvic wrote:

No point giving paying an app and giving access to the store API for this task.

This is a mindset that will limit you from using every tool available, stick to the time-investment,  math and data.

There is an inflection point for adding such features as an app vs customizing to a theme. 

If an apps cost in fee & time managing it is less than the revenue that app generates do you really want to spend time figuring out how to create a business feature that hasn't even been validated yet with customers (read: shortlist and install "best" app to test conversions then invest). Customizations can cost easily cost 10x upfront vs the a monthly app cost.

/end caveat.

 

To do something like this on the /cart page , not the checkout, see the gift wrap customization. https://shopify.dev/tutorials/customize-theme-add-gift-wrap-option 

See other conversations for auto adding products to the cart, and about hiding/preventing products from being added to the cart normally; though in typical fashion this is generally handles by apps like locksmith.

 

 And there's the backend problem of making sure orders(post checkout) are valid with total cart values to make sure customers aren't being too clever by using the ajax api to add products to the cart.

Try and setup the free shopify-flow app to validate orders totals or an automation app like usemechanic to script custom order validation logic. 

 

If you need this customizatio & process built you can contact me directly for services.
Please provide context, examples: post url(s), store url, theme name,, or any further detail.
Contact Info in signature.

 

 

To restrict it to certain customers see conversations/tutorials on making a membership site with tags. 

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org


marvic
Explorer
51 4 6

Thank you Paul!

We're not against using apps in general, more concerned about the fact that all these apps want access to customer and shop data, with some of these web developers being overseas and outside the jurisdictions in which we operate.