Add prefix to addon
-
Hi, I am using this plugin for one of my site. The cash machine is connected to the wooCommerce. Facing one problem, which is cash machine slip doesn’t show addons which were ordered with the main product & i want to print full order on the slip instead of just main product.
i.e: if someone orders pizza-1 & added addon of “sauce-2” “sauce-4” the order slip only shows Pizza-1 only & doesn’t show the selected addon with it, the cash machine provider said :WooCommerce supports variants (sizes) but no options (toppings). You can create ingredients / toppings with additional plugins. The toppings are usually transferred as name / value pairs in the item’s metadata. If the ingredients are not displayed in WinOrder: Assign the prefix “winorder_” or “Topping” / “Ingredient” / “Side dish” as the name, then the option value is evaluated as an ingredient and displayed in WinOrder. Only “Value” not the “Name” will be adopted
Not sure how & where to add this prefix can you provide the code please? which i can add to function.php? looking forward.
Thanks.
- The topic ‘Add prefix to addon’ is closed to new replies.