namespace Automattic\WooCommerce\Blocks\Templates;
* VariableProductAddToCartWithOptionsTemplate class.
class VariableProductAddToCartWithOptionsTemplate extends AbstractTemplatePart {
* The slug of the template.
const SLUG = 'variable-product-add-to-cart-with-options';
* The template part area where the template part belongs.
public $template_area = 'add-to-cart-with-options';
* Returns the title of the template.
public function get_template_title() {
return _x( 'Variable Product Add to Cart + Options', 'Template name', 'woocommerce' );
* Returns the description of the template.
public function get_template_description() {
return __( 'Template used to display the Add to Cart + Options form for Variable Products.', 'woocommerce' );