Plugin Directory

Changeset 2966923


Ignore:
Timestamp:
09/14/2023 08:56:17 AM (2 years ago)
Author:
bdevs
Message:

Fixed WooCommerce issue in widget

Location:
generic-elements-for-elementor
Files:
208 added
4 edited

Legend:

Unmodified
Added
Removed
  • generic-elements-for-elementor/trunk/changelog.txt

    r2957773 r2966923  
    11== Changelog ==
     2= 1.1.7 - 12-09-2023 =
     3- Fixed: Shopping Cart error fixed.
     4
    25= 1.1.6 - 24-06-2023 =
    36- Added: customize burger menu icon.
  • generic-elements-for-elementor/trunk/generic-elements.php

    r2957773 r2966923  
    55 * Plugin URI:                  https://generic-elements.bdevs.net/
    66 * Description:                 The ultimate Elementor Addons
    7  * Version:                     1.1.6
     7 * Version:                     1.1.7
    88 * Author:                      bdevs
    99 * Requires at least:           5.8
     
    4949     * @var string
    5050     */
    51     public $version = '1.1.6';
     51    public $version = '1.1.7';
    5252
    5353    /**
  • generic-elements-for-elementor/trunk/readme.txt

    r2957773 r2966923  
    55Tested up to: 6.3
    66Requires PHP: 7.1
    7 Stable tag: 1.1.6
     7Stable tag: 1.1.7
    88License: GPLv3 or later
    99License URI: https://opensource.org/licenses/GPL-3.0
  • generic-elements-for-elementor/trunk/widgets/GenericShoppingCart.php

    r2845557 r2966923  
    376376                        <?php echo \Elementor\Group_Control_Image_Size::get_attachment_image_html($settings, 'thumbnail', 'image'); ?>
    377377                    <?php endif; ?>
    378                     <span id="generic-el-cart-item" class="cart-count">
    379                         <?php echo esc_html(WC()->cart->cart_contents_count); ?>
    380                     </span>
     378                    <?php if (!empty(WC()->cart)) : ?>
     379                        <span id="generic-el-cart-item" class="cart-count">
     380                            <?php echo esc_html(WC()->cart->cart_contents_count); ?>
     381                        </span>
     382                    <?php endif; ?>
    381383                </a>
    382384                <div class="mini-shopping-cart-box">
Note: See TracChangeset for help on using the changeset viewer.