Default HPOS value to true
This commit is contained in:
parent
ffda17042d
commit
240fdefb7a
|
@ -11,7 +11,9 @@ export const customer_username =
|
||||||
export const customer_password = __ENV.C_PW || 'password';
|
export const customer_password = __ENV.C_PW || 'password';
|
||||||
export const customer_user_id = __ENV.C_UID || '2';
|
export const customer_user_id = __ENV.C_UID || '2';
|
||||||
|
|
||||||
export const hpos_enabled = __ENV.HPOS === 'true';
|
export const hpos_enabled = [ 'true', 'false' ].includes( __ENV.HPOS )
|
||||||
|
? JSON.parse( __ENV.HPOS )
|
||||||
|
: true;
|
||||||
|
|
||||||
export const admin_orders_base_url = 'edit.php?post_type=shop_order';
|
export const admin_orders_base_url = 'edit.php?post_type=shop_order';
|
||||||
export const hpos_admin_orders_base_url = 'admin.php?page=wc-orders';
|
export const hpos_admin_orders_base_url = 'admin.php?page=wc-orders';
|
||||||
|
|
Loading…
Reference in New Issue