This commit is contained in:
proelements
2026-02-16 11:44:35 +02:00
parent 08ec8d01f1
commit b499583e5a
348 changed files with 3915 additions and 1414 deletions

View File

@@ -8,7 +8,6 @@ use ElementorPro\Core\Utils;
use ElementorPro\Core\Utils\Hints;
use ElementorPro\Modules\QueryControl\Module;
use ElementorPro\Modules\Woocommerce\Traits\Product_Id_Trait;
use ElementorPro\Modules\Woocommerce\Traits\Send_App_Plg_Trait;
use ElementorPro\Plugin;
if ( ! defined( 'ABSPATH' ) ) {
@@ -18,7 +17,6 @@ if ( ! defined( 'ABSPATH' ) ) {
class Add_To_Cart extends Widget_Button {
use Base_Widget_Trait;
use Product_Id_Trait;
use Send_App_Plg_Trait;
public function get_name() {
return 'wc-add-to-cart';
@@ -76,8 +74,6 @@ class Add_To_Cart extends Widget_Button {
]
);
$this->maybe_add_send_app_promotion_control( $this );
$this->add_control(
'product_id',
[