AbstractPageTemplate.php
1 year ago
AbstractTemplate.php
10 months ago
AbstractTemplateCompatibility.php
1 year ago
AbstractTemplatePart.php
2 years ago
AbstractTemplateWithFallback.php
7 months ago
ArchiveProductTemplatesCompatibility.php
1 year ago
CartTemplate.php
10 months ago
CheckoutHeaderTemplate.php
2 years ago
CheckoutTemplate.php
10 months ago
ClassicTemplatesCompatibility.php
1 year ago
ComingSoonSocialLinksTemplate.php
1 year ago
ComingSoonTemplate.php
1 year ago
ExternalProductAddToCartWithOptionsTemplate.php
1 year ago
GroupedProductAddToCartWithOptionsTemplate.php
1 year ago
MiniCartTemplate.php
2 years ago
OrderConfirmationTemplate.php
1 year ago
ProductAttributeTemplate.php
7 months ago
ProductBrandTemplate.php
7 months ago
ProductCatalogTemplate.php
7 months ago
ProductCategoryTemplate.php
7 months ago
ProductSearchResultsTemplate.php
7 months ago
ProductTagTemplate.php
7 months ago
SimpleProductAddToCartWithOptionsTemplate.php
1 year ago
SingleProductTemplate.php
2 months ago
SingleProductTemplateCompatibility.php
10 months ago
VariableProductAddToCartWithOptionsTemplate.php
1 year ago
VariableProductAddToCartWithOptionsTemplate.php
51 lines
| 1 | <?php |
| 2 | declare(strict_types=1); |
| 3 | |
| 4 | namespace Automattic\WooCommerce\Blocks\Templates; |
| 5 | |
| 6 | /** |
| 7 | * VariableProductAddToCartWithOptionsTemplate class. |
| 8 | * |
| 9 | * @internal |
| 10 | */ |
| 11 | class VariableProductAddToCartWithOptionsTemplate extends AbstractTemplatePart { |
| 12 | |
| 13 | /** |
| 14 | * The slug of the template. |
| 15 | * |
| 16 | * @var string |
| 17 | */ |
| 18 | const SLUG = 'variable-product-add-to-cart-with-options'; |
| 19 | |
| 20 | /** |
| 21 | * The template part area where the template part belongs. |
| 22 | * |
| 23 | * @var string |
| 24 | */ |
| 25 | public $template_area = 'add-to-cart-with-options'; |
| 26 | |
| 27 | /** |
| 28 | * Initialization method. |
| 29 | */ |
| 30 | public function init() { |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * Returns the title of the template. |
| 35 | * |
| 36 | * @return string |
| 37 | */ |
| 38 | public function get_template_title() { |
| 39 | return _x( 'Variable Product Add to Cart + Options', 'Template name', 'woocommerce' ); |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * Returns the description of the template. |
| 44 | * |
| 45 | * @return string |
| 46 | */ |
| 47 | public function get_template_description() { |
| 48 | return __( 'Template used to display the Add to Cart + Options form for Variable Products.', 'woocommerce' ); |
| 49 | } |
| 50 | } |
| 51 |