• Resolved dhakadkkrg

    (@dhakadkkrg)


    Recently, we have introduced subscription-based products on our platform. However, we’ve noticed that the map feature is not compatible with these subscription products. Consequently, we need to disable the map feature for all subscription products.

    Could you please assist us in implementing this change? We understand that it might involve some adjustments to our current settings or possibly some custom development work. Any guidance or support you can provide to expedite this process would be greatly appreciated.

    Here are the key details:

    • Product Type: Subscription
    • Issue: Map feature needs to be disabled
    • Desired Outcome: Map feature should not be displayed for subscription products

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Uriahs Victor

    (@uriahs-victor)

    Do you want the map to hide as long as the cart has a subscription product? What if the customer has a subscription product in addition to a normal product in their cart?

    Thread Starter dhakadkkrg

    (@dhakadkkrg)

    Hi
    Thank you for your prompt response.
    Our preference is to restrict the cart to only allow subscription products. If a customer attempts to add a non-subscription product alongside a subscription product, we would like the non-subscription product to be removed from the cart, ensuring that only subscription products remain.

    Plugin Author Uriahs Victor

    (@uriahs-victor)

    “If a customer attempts to add a non-subscription product alongside a subscription product, we would like the non-subscription product to be removed from the cart”

    How do you plan to do that? I’m simply asking because I have gotten requests in the past for my various plugins and disabling them when certain types of products are in the cart. The main question I always have is what would happen when a customer has a mixed cart? What should the plugin do, should it still disable itself?

    Thread Starter dhakadkkrg

    (@dhakadkkrg)

    For now, I have overridden the hook you are using conditionally. If you want to understand how we can remove products, you can refer to the Dokan Subscription module. In that module, they have implemented the code to remove the delivery time and date option when the product type is set to subscription or dokan subscription.
    Thanks

    Plugin Author Uriahs Victor

    (@uriahs-victor)

    Hi again,

    “I have overridden the hook you are using conditionally” can you let me know which hook and possibly paste the snippet you’re using here?

    Are you simply using remove_action ? I’ve gotten this request a few times for a few particular type of products, its just that I haven’t decided on the best way to approach this because there’s always the case of a customer having a mixed cart and users so far haven’t told me how they plan to handle/prevent those situations

    Plugin Author Uriahs Victor

    (@uriahs-victor)

    Since I havent heard back from you in a while I will close this thread. Feel free to open another one if need be

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove map for subscription product’ is closed to new replies.