Plugin Directory

Changeset 3107683


Ignore:
Timestamp:
06/25/2024 08:28:27 PM (22 months ago)
Author:
homescript
Message:

update to version 1.3.1

Location:
doko-box-builder/trunk
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • doko-box-builder/trunk/README.txt

    r3089872 r3107683  
    66Requires PHP : 7.4
    77Tested up to: 6.5
    8 Stable tag: 1.3
     8Stable tag: 1.3.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    11 Requires Plugins : woocommerce
     11Requires Plugins: woocommerce
    1212
    1313Increase sales by allowing your WooCommerce customers to create personalized bundles their way, ensuring accurate pricing.
     
    7171
    7272== Changelog ==
    73 <h4> 1.3 - 22 May 2024 <h4>
     73<h4> 1.3.1 - 26 June 2024 </h4>
     74<ul>
     75    <li> Add Requires Plugins header for plugin </li>
     76    <li> Add compatibility with WooCommerce 9.0 </li>
     77    <li> Fix issue with add to cart button not appearing. </li>
     78</ul>
     79<h4> 1.3 - 22 May 2024 </h4>
    7480<ul>
    7581    <li> Add a option to customize easily the last step screens. </li>
     
    7985    <li> Prevent variations to be separated on shop loop. </li>
    8086</ul>
    81 <h4> 1.2 - 8 March 2024 <h4>
     87<h4> 1.2 - 8 March 2024 </h4>
    8288<ul>
    8389    <li> Add ability to manage product stock </li>
     
    8591</ul>
    8692
    87 <h4> 1.1.2 - 11 November 2023 <h4>
     93<h4> 1.1.2 - 11 November 2023 </h4>
    8894<ul>
    8995    <li> Remove out of stock, in backorder products from bundle screens </li>
  • doko-box-builder/trunk/changelog.txt

    r3001399 r3107683  
    11*** Changelog ***
     22024-06-26 - version 1.3.1
     3* Add Requires Plugins header for plugin
     4* Add support for WooCommerce 9.0
     5* Fix issue with add to cart button not appearing.
     6* Fix issue with empty box content
     7
     82024-05-22 - version 1.3
     9* Add a option to customize easily the last step screens.
     10* Disable the plugin on page where the bundle is not present
     11* Add support for all WooCommerce themes ( classic, blocks, Elementor and more)
     12* Add compatibility with WooCommerce 8.6
     13* Prevent variations to be separated on shop loop.
     14
     152024-03-08 - version 1.2
     16* Add ability to manage product stock
     17* Add compatibility with WooCommerce 8.4
    218
    3192023-11-24 - version 1.1.2
  • doko-box-builder/trunk/core/class-hs-doko-utils.php

    r3089872 r3107683  
    265265    return $products;
    266266}
     267
     268
     269if ( ! function_exists( 'doko_template_loop_add_to_cart' ) ) {
     270
     271    /**
     272     * Get the add to cart template for the loop.
     273     *
     274     * @param array $args Arguments.
     275     */
     276    function doko_template_loop_add_to_cart( $args = array() ) {
     277        global $product;
     278
     279        if ( $product ) {
     280            $defaults = array(
     281                'quantity'   => 1,
     282                'class'      => implode(
     283                    ' ',
     284                    array_filter(
     285                        array(
     286                            'button',
     287                            wc_wp_theme_get_element_class_name( 'button' ), // escaped in the template.
     288                            'product_type_' . $product->get_type(),
     289                            $product->is_purchasable() && $product->is_in_stock() ? 'add_to_cart_button' : '',
     290                            $product->supports( 'ajax_add_to_cart' ) && $product->is_purchasable() && $product->is_in_stock() ? 'ajax_add_to_cart' : '',
     291                        )
     292                    )
     293                ),
     294                'attributes' => array(
     295                    'data-product_id'  => $product->get_id(),
     296                    'data-product_sku' => $product->get_sku(),
     297                    'aria-label'       => $product->add_to_cart_description(),
     298                    'aria-describedby' => $product->add_to_cart_aria_describedby(),
     299                    'rel'              => 'nofollow',
     300                ),
     301            );
     302
     303            $args = apply_filters( 'woocommerce_loop_add_to_cart_args', wp_parse_args( $args, $defaults ), $product );
     304
     305            if ( ! empty( $args['attributes']['aria-describedby'] ) ) {
     306                $args['attributes']['aria-describedby'] = wp_strip_all_tags( $args['attributes']['aria-describedby'] );
     307            }
     308
     309            if ( isset( $args['attributes']['aria-label'] ) ) {
     310                $args['attributes']['aria-label'] = wp_strip_all_tags( $args['attributes']['aria-label'] );
     311            }
     312
     313            wc_get_template( 'loop/add-to-cart.php', $args );
     314        }
     315    }
     316}
  • doko-box-builder/trunk/hs-doko.php

    r3089872 r3107683  
    88 *
    99 * @wordpress-plugin
    10  * Plugin Name:       DokoBuilder : DIY Product Bundle for WooCommerce
    11  * Plugin URI:        https://ultiwp.com
     10 * Plugin Name:       DokoBuilder : The Ultimate dynamic bundle builder for WooCommerce
     11 * Plugin URI:        https://ultiwp.com/plugins/doko
    1212 * Description:       Increase sales by letting your customers create custom bundles.
    13  * Version:           1.3
     13 * Version:           1.3.1
    1414 * Author:            UltiWP
    1515 * Author URI:        https://ultiwp.com
     
    2020 * Requires at least: 6.0
    2121 * Requires PHP: 7.4
    22  * WC requires at least: 8.0.0
     22 * Requires Plugins: woocommerce
     23 * WC requires at least: 9.0.0
    2324 */
    2425
     
    3334 * Rename this for your plugin and update it as you release new versions.
    3435 */
    35 define( 'DOKO_VERSION', '1.3' );
     36define( 'DOKO_VERSION', '1.3.1' );
    3637
    3738add_action( 'before_woocommerce_init', function() {
  • doko-box-builder/trunk/templates/single-product/doko-products.php

    r3047333 r3107683  
    6969                $GLOBALS['post'] = get_post($variation);
    7070                setup_postdata($GLOBALS['post']);
    71                 wc_get_template_part('content', 'product');
     71                wc_get_template_part('doko-content', 'product');
    7272                wp_reset_postdata();
    7373            }
    7474        } else  {
    75             wc_get_template_part('content', 'product');
     75            wc_get_template_part('doko-content', 'product');
    7676        }
    7777    }
Note: See TracChangeset for help on using the changeset viewer.