Changeset 3139818
- Timestamp:
- 08/22/2024 02:23:51 PM (20 months ago)
- Location:
- kluvos/trunk
- Files:
-
- 2 edited
-
kluvos.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kluvos/trunk/kluvos.php
r3108776 r3139818 4 4 * Description: Official plugin for Kluvos. 5 5 * Author: Kluvos, LLC 6 * Version: 1.1. 16 * Version: 1.1.2 7 7 * Requires at least: 1.0 8 * Tested up to: 6. 4.28 * Tested up to: 6.6.1 9 9 * Stable tag: 1.1.1 10 10 * Requires PHP: 7.0 … … 71 71 72 72 // Hook into WooCommerce product page load 73 add_action('woocommerce_ before_single_product', 'kluvos_send_viewed_product_to_server');73 add_action('woocommerce_after_single_product', 'kluvos_send_viewed_product_to_server'); 74 74 75 75 } … … 210 210 $cart = WC()->cart; 211 211 212 // Trigger cart totals recalculation 213 $cart->calculate_totals(); 214 212 215 $cart_contents = $cart->get_cart(); 213 216 … … 298 301 299 302 $cart = WC()->cart; 303 // Trigger cart totals recalculation 304 $cart->calculate_totals(); 300 305 $cart_contents = $cart->get_cart(); 301 306 … … 630 635 WC()->cart->add_to_cart($product_id, $quantity); 631 636 } 637 638 // Save the cart session and recalculate totals 639 WC()->cart->set_session(); 640 WC()->cart->calculate_totals(); 632 641 } 633 642 -
kluvos/trunk/readme.txt
r3108776 r3139818 3 3 Tags: analytics, attribution, kluvos 4 4 Requires at least: 1.0 5 Tested up to: 6. 4.26 Stable tag: 1.1. 15 Tested up to: 6.6.1 6 Stable tag: 1.1.2 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 64 64 == Changelog == 65 65 66 = 1.1.2 = 67 68 * WooCommerce Cart bug fixes. 69 66 70 = 1.1.1 = 67 71
Note: See TracChangeset
for help on using the changeset viewer.