• Resolved reszek

    (@reszek)


    How can I enable the selection of an attribute on a single Simple Product page that will reduce inventory after purchase (in selected attribute)? I know I need to programmatically create an additional Custom Field on the individual product page. I want to use your plugin in conjunction with the ‘Events Tickets Manager for WooCommerce,’ (https://www.ads-software.com/plugins/event-tickets-manager-for-woocommerce/) which doesn’t support Variable Products because I want to have one product but two types of tickets (attributes) with separate inventory counts for each.

Viewing 1 replies (of 1 total)
  • Plugin Author Mewz

    (@mewz)

    Essentially you’d just need to make sure that the order item has the correct attribute metadata attached (e.g. pa_type: ticket-a). This will ensure the stock associated with that attribute is reduced when the order is placed. How you implement the rest of it such as the product options is up to you.

Viewing 1 replies (of 1 total)
  • The topic ‘Attributes in Simple Product, allow customer to choose attribute in product page’ is closed to new replies.