PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.2.0
ShopBuilder – WooCommerce Builder For Elementor v3.2.0
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
shopbuilder / app / Controllers / Admin / Notice / BFDiscount.php

BFDiscount.php in ShopBuilder – WooCommerce Builder For Elementor 3.2.0, at app/Controllers/Admin/Notice/BFDiscount.php

56 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Special Offer.
4 *
5 * @package RadiusTheme\SB
6 */
7
8 namespace RadiusTheme\SB\Controllers\Admin\Notice;
9
10 // Do not allow directly accessing this file.
11 use RadiusTheme\SB\Abstracts\Discount;
12 use RadiusTheme\SB\Traits\SingletonTrait;
13
14 if ( ! defined( 'ABSPATH' ) ) {
15 exit( 'This script cannot be accessed directly.' );
16 }
17
18 /**
19 * Black Friday Offer.
20 */
21 class BFDiscount extends Discount {
22
23 /**
24 * Singleton Trait.
25 */
26 use SingletonTrait;
27
28 /**
29 * @return array
30 */
31 public function the_options(): array {
32 return [
33 'option_name' => 'woobundle_eid_ul_fitr_offer_2025',
34 'global_check' => 'woobundle_notice' ,
35 'plugin_name' => 'ShopBuilder',
36 'notice_for' => 'WooCommerce Bundle - 🌙 Eid Special Offer <img style="width: 60px;position: relative;" src="' . rtsb()->get_assets_uri( 'images/deal.gif' ) . '" />',
37 'download_link' => 'https://www.radiustheme.com/downloads/woocommerce-bundle/',
38 'start_date' => '17 March 2025',
39 'end_date' => '07 April 2025',
40 'notice_message' => ' <strong>Eid Special:</strong> Celebrate Eid with exclusive discounts on <strong>ShopBuilder Bundle</strong>. Save <b style="display:inline-block;color: white;background:red;padding: 3px 8px;border-radius:3px; transform: skewX(-10deg);">UP TO 40%</b> </strong>for a limited time! 🎁🌙✨',
41 ];
42 /**
43 return [
44 'option_name' => 'woobundle_eid_ul_fitr_offer_2025',
45 'global_check' => 'woobundle_notice' ,
46 'plugin_name' => 'ShopBuilder',
47 'notice_for' => 'WooCommerce Bundle [Black Friday <img style="width: 60px;position: relative;" src="' . rtsb()->get_assets_uri( 'images/deal.gif' ) . '" />]',
48 'download_link' => 'https://www.radiustheme.com/downloads/woocommerce-bundle/',
49 'start_date' => '17 March 2025',
50 'end_date' => '07 April 2025',
51 'notice_message' => 'Enjoy savings of <strong style="font-size: 20px; color:red;"> up to 50% </strong> with our <b>ShopBuilder Elementor Addon</b>, <b>Variation Swatches</b>, <b>Variation Gallery</b>, and <b>Themes</b>!',
52 ];
53 */
54 }
55 }
56