Changeset 3084375
- Timestamp:
- 05/10/2024 07:20:12 AM (2 years ago)
- Location:
- stan-checkout/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (1 diff)
-
includes/classes/class-wc-stan-checkout-button.php (modified) (1 diff)
-
includes/classes/class-wc-stan-checkout-cart-api.php (modified) (1 diff)
-
wc-stan-checkout.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
stan-checkout/trunk/README.txt
r3081748 r3084375 4 4 Requires at least: 5.0.0 5 5 Tested up to: 6.5.2 6 Stable tag: 1.2. 06 Stable tag: 1.2.1 7 7 License: GPLv3 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html -
stan-checkout/trunk/includes/classes/class-wc-stan-checkout-button.php
r3081756 r3084375 109 109 */ 110 110 public function init_stan_checkout_button( $attrs ) { 111 if ( ! isset( $_COOKIE[ STAN_SESSION_ID_COOKIE ] ) ) { 112 wc_setcookie( STAN_SESSION_ID_COOKIE, wp_generate_uuid4(), 0, true, true ); 113 } 114 111 115 if ( isset( $_COOKIE[ STAN_SESSION_ID_COOKIE ] ) && WC()->cart ) { 112 116 WC()->cart->maybe_set_cart_cookies(); -
stan-checkout/trunk/includes/classes/class-wc-stan-checkout-cart-api.php
r3081748 r3084375 99 99 $variations[ $attribute->name ] = $attribute->value; 100 100 } 101 102 $variation_id = $this->decode_request_payload->variation_id; 101 103 } 102 104 103 WC()->cart->add_to_cart( $this->decode_request_payload->product_id, 1, $ this->decode_request_payload->variation_id, $variations );105 WC()->cart->add_to_cart( $this->decode_request_payload->product_id, 1, $variation_id, $variations ); 104 106 remove_filter( 'woocommerce_add_to_cart_redirect', '__return_empty_string' ); 105 107 -
stan-checkout/trunk/wc-stan-checkout.php
r3081748 r3084375 19 19 * Plugin URI: https://compte.stan-app.fr 20 20 * Description: Vous perdez des utilisateurs lorsque vous demandez de s'inscrire, remplir les formulaires est la première raison qui mène les utilisateurs à quitter un site. Avec Stan Checkout vos utilisateurs s'inscrivent sans formulaire, sans contrainte. 21 * Version: 1.2. 021 * Version: 1.2.1 22 22 * Author: Brightweb 23 23 * Author URI: https://stan-business.fr
Note: See TracChangeset
for help on using the changeset viewer.