mirror of
https://github.com/proelements/proelements.git
synced 2026-04-19 10:32:16 +00:00
v3.35.0
This commit is contained in:
@@ -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',
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user