Hi everyone — I run a custom website (rigrite.com) where I integrate Shopify Buy Buttons into my static PHP pages using a custom helper that injects buttons based on part numbers or product titles. I’m currently facing multiple issues and am looking for either a solution or someone I can hire to help fix it properly.
Here’s a breakdown of what I’ve got and what’s going wrong:
Setup:
- Shopify Buy Buttons are embedded using Shopify’s
buy-button-storefront.min.jsfrom their CDN - Buttons are generated dynamically by querying products by title, then injecting them into the page with the correct
variantId - The code is hosted on a DigitalOcean server (manual deployment) and the frontend is mostly PHP
- The checkout flow uses Shopify’s Buy Button SDK to generate a cart and direct to checkout
Current Issues:
- Clicking “Checkout” throws a “Something went wrong / Not Found” error — the Shopify checkout link fails (even though the product adds to cart correctly)
- Variant IDs are correct, and direct links like
https://rig-rite-inc.myshopify.com/cart/VARIANT_ID:1work perfectly — but the SDK-generated checkout does not - Tried applying a Git patch to update the SDK dependency, but it failed (npm version mismatches, likely due to
@shopify/buy-button-jsnot being published) - Shopify’s GitHub repo for
buy-button-jsis not npm-installable, and the build process is unclear - Want to fix this either by restoring the SDK-based method or migrating to a simpler cart-link-based method for reliability
What I Need:
- Help fixing or replacing the Buy Button SDK flow
- Preferably modernizing the integration to something stable and easy to maintain
- Open to hiring a developer who understands Shopify Storefront or Buy Button SDK and can implement a clean, working solution for my custom site
Thanks in advance for any guidance — or feel free to DM if you’re available for hire!