Created
May 22, 2020 00:46
-
-
Save staycreativedesign/66c38536bcd2238282815c5e4d74538a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT id FROM `caffeine_product_options`WHERE `product_option_title` = "we start with 5"; | |
UPDATE caffeine_product_options SET option_qty = option_qty - '$quantity' WHERE id= is_set_from_select |
UPDATE caffeine_product_options
SET option_qty = option_qty - '$quantity'
WHERE `product_option_title` = "we start with 5";
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.