hide shipping methods when a product is set to a class (1 post)

  1. helencham
    Posted 2 years ago #

    Hi All,

    I'm trying to make a customization to the delivery options where if a product is no longer shippable, make pickup from store the only option available for delivery option. However, I dont have enough knowledge in PHP to know how to adjust the Woocommerce codes. Can anyone help? I've found this website with similar


    I think the logic is along the lines of "if Product A has flag RED (example if i put it in a class nonshippable) then show PICKUP AT OFFICE as only option for delivery method". Is anyone able to help?

Topic Closed

This topic has been closed to new replies.

About this Topic