Skip to content

Commit

Permalink
Merge pull request #348 from newfold-labs/PRESS0-1968
Browse files Browse the repository at this point in the history
Bugfix: Empty script being loaded from the e-commerce module
  • Loading branch information
aratidgr8 authored Sep 5, 2024
2 parents 1aff908 + 1d0e6c3 commit 2aeb447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/ECommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ public function register_assets() {
$asset = require $asset_file;
\wp_register_script(
'nfd-ecommerce-dependency',
NFD_ECOMMERCE_PLUGIN_URL,
NFD_ECOMMERCE_PLUGIN_URL . 'vendor/newfold-labs/wp-module-ecommerce/build/index.js',
array_merge( $asset['dependencies'], array() ),
$asset['version']
);
Expand Down

0 comments on commit 2aeb447

Please sign in to comment.