diff --git a/patterns/hero-product-3-split.php b/patterns/hero-product-3-split.php index 6b07c3445d6..932688faf2d 100644 --- a/patterns/hero-product-3-split.php +++ b/patterns/hero-product-3-split.php @@ -6,104 +6,107 @@ */ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; + $content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/hero-product-3-split' ); $images = PatternsHelper::get_pattern_images( 'woocommerce-blocks/hero-product-3-split' ); -$first_title = $content['titles'][0]['default'] ?? ''; -$second_title = $content['titles'][1]['default'] ?? ''; -$third_title = $content['titles'][2]['default'] ?? ''; -$fourth_title = $content['titles'][3]['default'] ?? ''; -$fifth_title = $content['titles'][4]['default'] ?? ''; +$main_title = $content['titles'][0]['default'] ?? ''; +$first_title = $content['titles'][1]['default'] ?? ''; +$second_title = $content['titles'][2]['default'] ?? ''; +$third_title = $content['titles'][3]['default'] ?? ''; $first_description = $content['descriptions'][0]['default'] ?? ''; $second_description = $content['descriptions'][1]['default'] ?? ''; $third_description = $content['descriptions'][2]['default'] ?? ''; -$fourth_description = $content['descriptions'][3]['default'] ?? ''; -$fifth_description = $content['descriptions'][4]['default'] ?? ''; ?> - -
- -
- -
-
- -
- -

- - - -

- - - -
- -
- -
- -
- -
- + +
+
+ +
+ + <?php esc_attr_e( 'Placeholder image used to represent a product being showcased.', 'woo-gutenberg-products-block' ); ?> +
+ +

+
-
- <?php esc_attr_e( 'Placeholder image used to represent a product being showcased in a hero section.', 'woo-gutenberg-products-block' ); ?> -
- +
- -
- -

- - - -

- - - -
- + +
+ +
+ +

+ + + +
+ +
+ +
+ - -

- + +

+ +
+ - -

- + +
+ - -
- + +
+ +
+ - -

- + +

+ +
+ - -

- + +
+ - -
- + +
+ +
+ - -

- + +

+ +
+ +
+ - -

- + +
+
+ Shop now +
+ +
+ +
+
diff --git a/src/Patterns/dictionary.json b/src/Patterns/dictionary.json index 19f8a167466..931a3f4fa3f 100644 --- a/src/Patterns/dictionary.json +++ b/src/Patterns/dictionary.json @@ -131,7 +131,7 @@ "content": { "titles": [ { - "default": "Endless Tee's", + "default": "New in: 3-in-1 parka", "ai_prompt": "An impact phrase that advertises the displayed product: {image.0}" }, { @@ -145,32 +145,20 @@ { "default": "Durable Fabric", "ai_prompt": "A title describing the third displayed product feature" - }, - { - "default": "Sustainable Dyes", - "ai_prompt": "A title describing the fourth displayed product feature" } ], "descriptions": [ - { - "default": "With high-quality materials and expert craftsmanship, our products are built to last and exceed your expectations.", - "ai_prompt": "A description of the product" - }, { "default": "Never worry about the weather again. Keep yourself dry, warm, and looking stylish.", "ai_prompt": "A description of the first displayed product feature" }, { - "default": "Our products are made with expert craftsmanship and attention to detail, ensuring that every stitch and seam is perfect.", + "default": "Our products are made with expert craftsmanship and attention to detail.", "ai_prompt": "A description of the second displayed product feature" }, { - "default": "We use only the highest-quality materials in our products, ensuring that they look great and last for years to come.", + "default": "We use only the highest-quality materials in our products, ensuring that they look great.", "ai_prompt": "A description of the third displayed product feature" - }, - { - "default": "From bold prints and colors to intricate details and textures, our products are a perfect combination of style and function.", - "ai_prompt": "A description of the fourth displayed product feature" } ] }