• I would like to add a product variation that is hidden and not part of the visible or filtering summary section.

    The reason for this is metadata about the product is required for the line item data in the order (We have a plugin that posts the order data to a web service), but I don’t want this metadata to be displayed or used in filters in any way.

    I have tried not returning my hidden variation data, by modifying classes\jigoshop_product.class.php in the function – get_available_attributes_variations

    But after this change I can no longer successfully add a product to the cart.

    Is their some way to achieve hidden metadata about a variation?

    Thanks
    Paul

    https://wordpress.org/plugins/jigoshop/

Viewing 1 replies (of 1 total)
  • Thread Starter FrenchFries

    (@frenchfries)

    Update:
    I have now changed the code so that I can add the variation to the cart, but because my hidden variation meta data is not set, in the select fields before adding to the cart there doesn’t seem to be a way to get the value of my hidden variation meta data.

    Any thoughts?

    Thanks
    Paul

Viewing 1 replies (of 1 total)

The topic ‘Can a Product Variation be hidden’ is closed to new replies.