Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I'd like to have variants greyed out and unselectable when sold out, but is this possible when the product is embedded on a website and not using a shopify theme or store?
Solved! Go to the solution
This is an accepted solution.
@boziggy - embedded products are added using iframe and any css or code will not work on iframe to disable embedded products.
Those need to be disabled on original site.
This is an accepted solution.
Hello @boziggy,
If you are embedding the product page URL of Shopify products in other different websites then it will work the same as the Shopify website.
Shopify website code will work within the iframe but if you want to control the Shopify website code, from different website codes then it is not possible.
Hope it helps, let us know if you need any other help.
Regards,
CedCommerce
This is an accepted solution.
@boziggy - embedded products are added using iframe and any css or code will not work on iframe to disable embedded products.
Those need to be disabled on original site.
This is an accepted solution.
Hello @boziggy,
If you are embedding the product page URL of Shopify products in other different websites then it will work the same as the Shopify website.
Shopify website code will work within the iframe but if you want to control the Shopify website code, from different website codes then it is not possible.
Hope it helps, let us know if you need any other help.
Regards,
CedCommerce
I actually don’t use the shopify website. I create the products and embed them on a different website altogether. So i guess i’m unable to add code to the embedded product code to be able to do that.
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025