| 开发者 | yosisah |
|---|---|
| 更新时间 | 2026年7月30日 05:11 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
The sticky add-to-cart bar requires WooCommerce and appears on single product pages. The floating contact button can work across the site when enabled and configured.
It appears on WooCommerce single product pages after the original add-to-cart button scrolls out of view.
No. For simple products, the sticky add-to-cart bar triggers the original WooCommerce add-to-cart button. This helps preserve your theme and WooCommerce behavior.
Yes. For variable products, the button scrolls shoppers back to the variation form so they can choose the required options before adding the product to the cart.
No. The coupon bar and exit-intent coupon are part of DreamFast Commerce Float Pro.
The free version includes a floating contact button that opens a chat/messaging link. Additional contact channels such as phone, email, and Waze are part of the Pro version.
Yes. The free version includes style presets, color presets, icons, animation options, position controls, and live previews. Custom colors and additional options are part of the Pro version.
Yes. DreamFast Commerce Float supports both RTL and LTR layouts.
Yes. The plugin declares compatibility with WooCommerce High-Performance Order Storage.
No. DreamFast Commerce Float Pro replaces the free version when installed.
Yes. Since version 1.1.0 the plugin ships a documented hook API, so you can customize everything from a child theme or a code snippets plugin without editing the plugin itself. Your changes then survive updates.
Show or hide each widget with your own rules:
add_filter( 'dreamfast_cf_show_sticky_cart', function ( $show ) { return $show && ! is_user_logged_in(); } );
Change the call-to-action text:
add_filter( 'dreamfast_cf_sticky_cart_button_text', function ( $text, $product ) { return __( 'Buy now', 'my-theme' ); }, 10, 2 );
Wrap or replace the markup:
add_filter( 'dreamfast_cf_sticky_cart_html', function ( $html, $args, $product ) { return '<div class="my-wrapper">' . $html . '</div>'; }, 10, 3 );
Available hooks include dreamfast_cf_show_sticky_cart, dreamfast_cf_show_contact, dreamfast_cf_sticky_cart_args, dreamfast_cf_contact_args, dreamfast_cf_sticky_cart_button_text, dreamfast_cf_contact_tooltip_text, dreamfast_cf_sticky_cart_html, dreamfast_cf_contact_html, dreamfast_cf_frontend_config, dreamfast_cf_cart_button_selectors, plus dreamfast_cf_before_* and dreamfast_cf_after_* actions around each widget. Pro adds the matching coupon bar hooks.