Skip to content

Instantly share code, notes, and snippets.

@wickchucked
Created October 10, 2014 19:09
Show Gist options
  • Save wickchucked/fc245fab61adf9c852b5 to your computer and use it in GitHub Desktop.
Save wickchucked/fc245fab61adf9c852b5 to your computer and use it in GitHub Desktop.
Set on demand to true
UPDATE
public.spree_products
SET
on_demand = true;
@wickchucked
Copy link
Author

Used this to mass update spree products table so all products are on demand

@wickchucked
Copy link
Author

UPDATE
public.spree_variants
SET
on_demand = true;

This makes so products don't show as ready right away when they are ordered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment