Support » Fixing WordPress » hide shipping methods when a product is set to a class

  • 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

    http://docs.woothemes.com/document/hide-other-shipping-methods-when-free-shipping-is-available/

    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?

  • The topic ‘hide shipping methods when a product is set to a class’ is closed to new replies.