• Resolved cegasol

    (@cegasol)


    1. Current Behavior:
      • When a user adds a product of type?job_visibility_subscription?to the cart, they are?redirected directly to the checkout page, which works perfectly.
      • However, if the user decides to go back to the product selection page and chooses a?different subscription product, the following happens:
        • They are redirected to the?/cart?page (instead of the checkout).
        • Three messages appear on the?/cart?page:
          1. “Annual Subscription has been added to your cart.”
          2. “Your cart has been emptied of subscription products. Only one subscription product can be purchased at a time.”
          3. “Your cart is currently empty.”
    2. What I Want:
      • When the user goes back to the product selection page and chooses a?different subscription product, I want the following behavior:
        • The new product should?replace the old one in the cart.
        • The user should be?redirected directly to the checkout page?(not the?/cart?page).
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Moses M. (woo-hc)

    (@mosesmedh)

    Hi @cegasol,

    Just to clarify, we only offer support for WooCommerce core issues and bugs in this forum. Your request appears to be a customization request, which falls outside of our support scope. For assistance, I recommend hiring a developer from codeable.io or reaching out to WooExperts.

    Thread Starter cegasol

    (@cegasol)

    Hi @mosesmedh thanks for the information, I think it is a woocommerce issue, because, what other way a user can select another product? and why is always redirecting to the cart after another product y selected (intuitive process for product change for clients)? the cart gets empty and don’t know why. I will look on what you send. Thanks

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    You’re welcome! To clarify, WooCommerce core does not limit the cart to one subscription product at a time by defualt. The behavior you’re seeing, where the cart is emptied when a new subscription is added and users are redirected to the cart page seems to be coming from a third-party plugin or custom code.

    By default, WooCommerce allows multiple products in the cart, so if your cart gets emptied when selecting another product, it’s likely due to the settings of a subscription-related plugin. I recommend checking the plugin’s documentation or reaching out to its support team for more details.

    To confirm whether this issue is caused by WooCommerce itself or another plugin, you can perform a conflict test by:

    1. Temporarily switching to a default theme like Twenty Twenty-Four or Storefront.
    2. Deactivating all plugins except WooCommerce.
    3. Testing whether the issue still occurs.
    • If the issue disappears, it’s likely caused by another plugin or theme.
    • If the issue persists, we can look further into WooCommerce’s default behavior.

    Let me know what you find after testing!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.