dcbaldwin1
Forum Replies Created
-
Forum: Plugins
In reply to: [Sequential Order Numbers for WooCommerce] woocommerce 3.4.xI can confirm WooCommerce Sequential Order Numbers 1.8.2 is working normally with WooCommerce 3.4.1
Forum: Plugins
In reply to: [Sequential Order Numbers for WooCommerce] WC 3.3.3I can confirm it’s working normally with Woocommerce 3.4.1
Forum: Plugins
In reply to: [Sequential Order Numbers for WooCommerce] WC 3.3.3What about woocommerce 3.4.x?
Sorry you guys are having trouble!
The discount information is stored per product, in the wp_postmeta database table.
I see two options here (code monkey required):
1. Custom Database Import
2. Edit/Fork the pluginHope that helps,
DerekForum: Plugins
In reply to: [WooCommerce] proper way to intitialize cartForum: Plugins
In reply to: [WooCommerce] proper way to intitialize cartOkay there goes a day… Now I’m up against a wall.
Can anyone tell me why
$woocommerce->cart->add_to_cart($productID, $product_quantiy, $productVariation);
will only work if:1. the user is logged in
2. if not logged in, a cart has been created and deleted firstI have to get this done today and am willing to pay for help….
Forum: Plugins
In reply to: [WooCommerce] proper way to intitialize cartAfter some more testing, I’ve found that this is only happens if you are not logged in.
Forum: Plugins
In reply to: [Order Delivery Date for WooCommerce] Compatibility with 3.9.1Seems to work just fine with 3.9.1
Forum: Plugins
In reply to: [WooCommerce] 2.1.3 Minimum Order RequiredOkay I have accomplished what I want, but I still feel it’s ‘hacky.’ Below is my code. I moved the output of the error into the else block:
add_action('the_post','minimum_order_func',10); function minimum_order_func(){ global $woocommerce; if ( is_checkout() ) { $minorder = 150; $url = 'https://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; if( $woocommerce->cart->subtotal < $minorder ){ if (false !== strpos($url,'order-received')) { //order recieved enpoint exists //do nothing } else { $woocommerce->add_error( sprintf(__('Sorry, you have not met the minimum order amount of $' . $minorder . '. Once you do meet this minimum, you can proceed with the checkout. <a href="%s/store">Continue Shopping →</a>', 'woocommerce'), home_url()) ); wp_redirect( get_permalink( woocommerce_get_page_id( 'cart' ) ) ); exit; } } } }
Forum: Plugins
In reply to: [WooCommerce] 2.1.3 Minimum Order RequiredThanks Roy. The snippet provided at https://docs.woothemes.com/document/minimum-order-amount/ doesn’t seem to do anything at all.
Forum: Plugins
In reply to: [WooCommerce] 2.1.3 Minimum Order RequiredOkay I tried this (hacky) work-around which does prevent the redirect after successful checkout, but, the error message still shows on the order-received page.
add_action('the_post','minimum_order_func',10); function minimum_order_func(){ global $woocommerce; if ( is_checkout() ) { $minorder = 150; $url = 'https://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; if( $woocommerce->cart->subtotal < $minorder ){ $woocommerce->add_error( sprintf(__('Sorry, you have not met the minimum order amount of $' . $minorder . '. Once you do meet this minimum, you can proceed with the checkout. <a href="%s/store">Continue Shopping →</a>', 'woocommerce'), home_url()) ); if (false !== strpos($url,'order-received')) { //order recieved enpoint exists //do nothing } else { wp_redirect( get_permalink( woocommerce_get_page_id( 'cart' ) ) ); exit; } } } }
Forum: Reviews
In reply to: [WooCommerce] Beware of manual install on media temple – 3.8.1 2.1.1Fixed rating – woocommerce is a 5 star plugin all day long…
Forum: Plugins
In reply to: [WooCommerce] Woocommerce 2.1.1 doesn't work with 3.8.1 default themeMy solution (may be specific to media temple) is posted at:
https://www.ads-software.com/support/topic/broken-dont-upgrade?replies=6#post-
Forum: Plugins
In reply to: Woocommerce 2.1.1 – broken – don't upgrade!For my specific issue (on media temple) the solution was:
https://www.ads-software.com/support/topic/broken-dont-upgrade?replies=6#post-
I haven’t made it to the front end to see if adding variable products to cart is an issue but I will let you know if I experience that.
Forum: Reviews
In reply to: [WooCommerce] Beware of manual install on media temple – 3.8.1 2.1.1I think I found the culprit, for sites on media temple. I went back to media temple and used their 1-click install. I then installed woocommerce and everything was fine – after clicking and configuring for about 30 minutes – I could not replicate my issue that I had on my first install. I noticed in the new install, there is one line of code that is inserted in the .htaccess:
AddHandler php-stable .php
This must have been placed by mt application installer.
In my first install I conducted a manual install of WordPress, and my .htaccess didn’t have this line of code. After I added this line of code in the .htaccess of my first install, everything seems fine and I don’t get the random permission behavior.
Hope this helps…