Skip to content

Commit

Permalink
Adding Sales Channel route under Store main menu item
Browse files Browse the repository at this point in the history
  • Loading branch information
aratidgr8 committed Jul 4, 2024
1 parent d0b9056 commit 1a2c1d2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/app/data/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,13 @@ export const routes = [
title: __( 'Sales & Promotions', 'wp-plugin-bluehost' ),
}
: null,
NewfoldRuntime.hasCapability( 'hasYithExtended' ) &&
NewfoldRuntime.hasCapability( 'hasEcomdash' )
? {
name: '/store/sales_channel',
title: __( 'Sales Channel', 'wp-plugin-bluehost' ),

Check failure on line 115 in src/app/data/routes.js

View workflow job for this annotation

GitHub Actions / ESLint

Replace `↹` with `··`
}

Check failure on line 116 in src/app/data/routes.js

View workflow job for this annotation

GitHub Actions / ESLint

Delete `↹↹↹`
: null,
NewfoldRuntime.isWoo
? {
name: '/store/payments',
Expand Down

0 comments on commit 1a2c1d2

Please sign in to comment.