Skip to content

Commit

Permalink
shipping options removed && isWoo key added to newfoldruntime file
Browse files Browse the repository at this point in the history
  • Loading branch information
ramyakrishnai committed Sep 13, 2023
1 parent 90af4be commit 87ac40d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => 'd92107dfb0bd29fc36c3');
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => '8e53e1c28308c2476fa8');
2 changes: 1 addition & 1 deletion includes/Data/Brands.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static function get_config( Container $container ) {
'adminPage' => 'admin.php?page=hostgator',
'setup' => array(
'payment' => array('Paypal', 'Razorpay'),
'shipping' => array('Shippo'),
'shipping' => array(),
),
'defaultContact' => array(
'woocommerce_default_country' => 'BR:AL',
Expand Down
3 changes: 3 additions & 0 deletions src/sdk/NewfoldRuntime.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ export const NewfoldRuntime = {
get sdk() {
return window.NewfoldRuntime?.sdk;
},
get isWoo(){
return window.NewfoldRuntime?.isWoocommerceActive
}
};

0 comments on commit 87ac40d

Please sign in to comment.