somewherewarm / woocommerce-subscribe-all-the-things

Experimental mini-extension for WooCommerce Subscriptions that explored the possibility of adding subscription plans to non-subscription product types. Now available on WooCommerce.com as "All Products For WooCommerce Subscriptions".
https://woocommerce.com/products/all-products-for-woocommerce-subscriptions/?aff=46147&cid=5699243
151 stars 50 forks source link

Problem Changing Shipping Method in Cart & Checkout with Bundled Product Subscriptions #50

Closed airmanzea closed 8 years ago

airmanzea commented 8 years ago

Hello,

First I would like to say thanks for all the work that is going into this plugin. I do however have an issue that I have been troubleshooting for the last 4 weeks and I have narrowed it down to this plugin. Ill provide the details below.

NOTE: I will gladly donate $100 towards the development team for anyone that can help me fix this problem!

Environment Details:

Wordpress Version: 4.5.3 Woocommerce Version: 2.6.2 Subscribe All Things Version: (Just pulled master again today - 7/18/16) Theme: EXCEPTION (latest version: https://themeforest.net/item/exception-responsive-multipurpose-wordpress-theme/10399551-RAYS) NOTE: I have changed to the default WP theme and the issue still appears so I believe it is not related to the theme

Plugins In Use (those that affect this scenario)

Problem

On a website that I am developing (www.rocksolidtraining.com), if you add a subscription product to the cart, when viewing the cart and the checkout pages, you can see the different shipment options that are available. However, if you change the radio button for these options to select a different one, you will see that:

  1. The Grand Total for the order does increase
  2. However the Reoccurring shipping total does not change
  3. And the radio button goes back to the default option (the first in the list)

Subscription Product Overview

The subscription products are bundled products. The bundle contains a woocommerce membership product and a variable number of physical products (based on the subscription level choosen).

Steps to Recreate the Problem

  1. Navigate to: https://rocksolidtraining.com/product/rock-solid-training-novice-subscription/
  2. Select One of the Physical products (one physical product is included with this bundle)
  3. Click the Add to Cart button at the bottom
  4. On the cart page notice that there are multiple shipping options available.
  5. Change the shipping option
  6. Notice that though the total price changes, the shipment option radio button list does not reflect the change.
  7. Go to the checkout page and notice that the shipment option that you choose on the cart page is not saved here. This is the same when you proceed to PayPal for payment.

Troubleshooting Steps Already Taken

I have tried a number of different things to diagnose this problem and they have led me to believe that this plugin is causing it. The things I have tried are:

  1. Checked for JS Errors - There are none that effect this
  2. Checked for theme conflicts - The issue appears even on the default theme
  3. Checked for other plugin conflicts - The issue exists until I disable the Subscribe All The Things Plugin
  4. Debug - Ran debugger and noticed no errors being thrown

Please contact me at the email below if you need access to the website. josh[at]xray-studios[dot]com

I really appreciate you taking a look at this!

greguly commented 8 years ago

Hi Josh,

I have sent you an email, but got no response.

Did you got this fixed?

Cheers, Gabriel

airmanzea commented 8 years ago

Gabriel,

I am sorry I must not have seen that email come in. However I have not yet been able to fix this. Do you think that you would be able to help? It would be greatly appreciated on my end!

V/R

Joshua Barnes, M.S. PMP Vice President - K9Cuisine, Inc E: josh.barnes@k9cuisine.com P: 1-866-919-2415

On Thu, Jul 21, 2016 at 2:17 PM, Gabriel Reguly notifications@github.com wrote:

Hi Josh,

I have sent you an email, but got no response.

Did you got this fixed?

Cheers, Gabriel

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Prospress/woocommerce-subscribe-all-the-things/issues/50#issuecomment-234355340, or mute the thread https://github.com/notifications/unsubscribe-auth/ADwvDgY05ktP5dXAD39bGOtmNA0acRN8ks5qX8XbgaJpZM4JPTjM .

http://www.k9cuisine.com/ Purchase Premium Pet Food and Products Today! \ www.k9cuisine.com

greguly commented 8 years ago

it seems to me that the issue is within shipping.

https://rocksolidtraining.com/product/whey-protien-isolate/?attribute_pa_flavor=cake-batter

If you add the above product to the car and make it monthly, you will see the one time shipping option changing the recurring shipping option.

airmanzea commented 8 years ago

I agree, if you add just one of those regular products to the cart then it seams to work at least somewhat better.

However, If you add the product below to the cart then it does not allow you to change shipping methods. The product below is a bundle that includes a membership (virtual product) and 1 physical product of your choice. I am using your extension so that when the subscription renews, it not only renews their membership but also places an order for the selected products.

https://rocksolidtraining.com/product/rock-solid-training-novice-subscription/ So if you add the product above (after choosing one of the physical products), and then go to the cart, you should see the different shipping options (UPS, USPS, Etc) but changing them does nothing. Thank you again this issue has been kicking my butt for the last few weeks! V/R _Joshua Barnes, M.S. PMP_ Vice President - K9Cuisine, Inc _E_: josh.barnes@k9cuisine.com _P_: 1-866-919-2415 On Thu, Jul 21, 2016 at 2:33 PM, Gabriel Reguly notifications@github.com wrote: > it seems to me that the issue is within shipping. > > https://rocksolidtraining.com/product/whey-protien-isolate/?attribute_pa_flavor=cake-batter > > If you add the above product to the car and make it monthly, you will see > the one time shipping option changing the recurring shipping option. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > https://github.com/Prospress/woocommerce-subscribe-all-the-things/issues/50#issuecomment-234359464, > or mute the thread > https://github.com/notifications/unsubscribe-auth/ADwvDin9tRZ6FSdhTicW6Hbq9D1OsMOKks5qX8mZgaJpZM4JPTjM > . ## http://www.k9cuisine.com/ *Purchase Premium Pet Food and Products Today! \* www.k9cuisine.com
greguly commented 8 years ago

It is still broken with the regular product, I would advise checking that issue first at looks to be a less complex issue than your product bundle issue.

airmanzea commented 8 years ago

So you think that the issue is within one of the shipping plugins? Sorry just wondering if you had in guesses as to where to look.

V/R

Joshua Barnes, M.S. PMP Vice President - K9Cuisine, Inc E: josh.barnes@k9cuisine.com P: 1-866-919-2415

On Thu, Jul 21, 2016 at 2:43 PM, Gabriel Reguly notifications@github.com wrote:

It is still broken with the regular product, I would advise checking that issue first at looks to be a less complex than your product bundle.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Prospress/woocommerce-subscribe-all-the-things/issues/50#issuecomment-234362096, or mute the thread https://github.com/notifications/unsubscribe-auth/ADwvDgfq1lxgYlq5DYXIf4B_W8z_tTo0ks5qX8v2gaJpZM4JPTjM .

http://www.k9cuisine.com/ Purchase Premium Pet Food and Products Today! \ www.k9cuisine.com

greguly commented 8 years ago

Nope, the shipping plugins shall be good.

The issue seems to be within the shipping component of this extension.

manospsyx commented 8 years ago

Can't replicate - issue looks unrelated to SATT. Does the issue go away if you disable SATT?

airmanzea commented 8 years ago

The issue does disappear when I disable SATT, however disabling that also disables the subscription capability for the bundled products. Ill take a look again at the code to see if I can try to narrow it down more. Thank you.

V/R

Joshua Barnes, M.S. PMP Vice President - K9Cuisine, Inc E: josh.barnes@k9cuisine.com P: 1-866-919-2415

On Thu, Jul 21, 2016 at 4:35 PM, Manos Psychogyiopoulos < notifications@github.com> wrote:

Closed #50 https://github.com/Prospress/woocommerce-subscribe-all-the-things/issues/50 .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Prospress/woocommerce-subscribe-all-the-things/issues/50#event-731024173, or mute the thread https://github.com/notifications/unsubscribe-auth/ADwvDn0CFjj8qbDPebAtJNw1uxUtFA-Eks5qX-YegaJpZM4JPTjM .

http://www.k9cuisine.com/ Purchase Premium Pet Food and Products Today! \ www.k9cuisine.com

manospsyx commented 8 years ago

Could be an issue with a specific shipping method and Subscriptions, but it's also likely that there might be something specific about SATT that a shipping method doesn't like? Core shipping methods seem to work fine for me, so the next step would be to deactivate your shipping method extensions one by one and re-test.

Might be a good idea to empty your cart between each test.