Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(customizer): append plan to woocomerce up sell labels #4195

Merged
merged 4 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ test.describe('Blog/Archive 1 / Default Layout', () => {
}
});

test('Post Content Order', async ({ page }) => {
test('Post Content Order', async ({ page, request, baseURL }) => {
// Make sure the default layout is set.
await setCustomizeSettings('defaultLayout', data.archive1, {
request,
baseURL,
});

await page.goto('/?test_name=defaultLayout');
const posts = await page.locator('article.post');

Expand Down
8 changes: 4 additions & 4 deletions inc/customizer/options/upsells.php
Original file line number Diff line number Diff line change
Expand Up @@ -499,22 +499,22 @@ private function control_upsells() {

if ( class_exists( 'WooCommerce', false ) ) {
$upsells['product_catalog'] = [
'text' => __( 'More product catalog options available in PRO', 'neve' ),
'text' => __( 'More product catalog options available in PRO', 'neve' ) . ' (Business & Agency)',
'button_text' => __( 'Learn More', 'neve' ),
'section' => 'woocommerce_product_catalog',
];
$upsells['woocommerce_checkout'] = [
'text' => __( 'More checkout options available in PRO', 'neve' ),
'text' => __( 'More checkout options available in PRO', 'neve' ) . ' (Business & Agency)',
'button_text' => __( 'Learn More', 'neve' ),
'section' => 'woocommerce_checkout',
];
$upsells['single_product_layout'] = [
'text' => __( 'More single product options available in PRO', 'neve' ),
'text' => __( 'More single product options available in PRO', 'neve' ) . ' (Business & Agency)',
'button_text' => __( 'Learn More', 'neve' ),
'section' => 'neve_single_product_layout',
];
$upsells['typography'] = [
'text' => __( 'WooCommerce typography options available in PRO', 'neve' ),
'text' => __( 'WooCommerce typography options available in PRO', 'neve' ) . ' (Business & Agency)',
'button_text' => __( 'Learn More', 'neve' ),
'panel' => 'neve_typography',
'type' => 'section',
Expand Down
Loading