Created
February 1, 2017 17:03
-
-
Save eighty20results/fb93bfaa9f037c6d018bbbd035591fa1 to your computer and use it in GitHub Desktop.
SQL Example for adding price to multiple addon packages
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
INSERT INTO PREFIX_postmeta (`post_id`, `meta_key`, `meta_value`) | |
SELECT `ID`, '_pmproap_price`, '<your price without a currency sign, i.e. 3.99>' | |
FROM PREFIX_posts | |
WHERE ID IN ( <comma>, <separated>, <list>, <of>, <addon>, <package>, <post>, <ids> ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment