Coder Social home page Coder Social logo

Comments (5)

timbroder avatar timbroder commented on August 14, 2024 2

@minasmart did this ever become possible? Thanks!

from js-buy-sdk.

minasmart avatar minasmart commented on August 14, 2024

There isn't currently a way to do this. The checkout permalink does pre-load the cart, but it takes the user directly to the checkout. As far as I know, there's no way to force the user to return to the cart page. Additionally, checkout permalinks don't support line item properties at the moment. Depending on your solution, you might be able to extract the variant id and quantities from the cart, and build a hidden form and submit it like in this support thread solution: https://ecommerce.shopify.com/c/ecommerce-design/t/passing-product-line-item-properties-to-cart-via-permalink-196271.

Hopefully that helps! If you have any problems please let me know.

from js-buy-sdk.

geoffchan23 avatar geoffchan23 commented on August 14, 2024

Thank you for your response! We decided on a workaround solution where we send the user to a custom page to add our custom properties and attributes, and then send them to the checkout page.

from js-buy-sdk.

minasmart avatar minasmart commented on August 14, 2024

Sounds good! I'm going to close this issue, but I'll see if there's a way we can work in a feature around these sorts of problems.

from js-buy-sdk.

geoffchan23 avatar geoffchan23 commented on August 14, 2024

Hi Derek,

Your list of features looks good! I know that we would definitely find this
useful.

I was wondering if you would also be able to add the ability to add custom
attributes for products through the link?

Geoff

On Sun, Jul 10, 2016 at 12:04 PM, derekmorin [email protected]
wrote:

Hi @minasmart https://github.com/minasmart and @geoffchan23
https://github.com/geoffchan23 I'm about to launch this feature to
preload the cart via a link. Here's how I see it, but I would really like
you guys to tell me some ideas, must have or nice to have features:

  • When he clicks the link, the user falls on the Cart page
  • The cart is pre-populated
  • The user can edit the cart, remove or add items, remove or add
    quantities
  • The store owner can build "product bundles" and multiple links
  • The store owner can track link clicks and purchases, and then
    optimize the "product bundles"
  • The store owner can send create links that send users directly to
    the checkout page, too.

What do you think?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#120 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AAvxj27mSUx7cAvtYTnXmfrIHLjzL_mfks5qURghgaJpZM4Iilr2
.

Geoffrey Chan
Designer & Web Developer
416-827-2426 | www.geoffreychan.com

from js-buy-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.