2.7.Pickup Choices
Pickup Choices | |||
---|---|---|---|
Display the option to choose between pickup and delivery. Pickup option must be enabled in “Wppizza -> Order Settings -> Pickup : Allow order pickup by customer” for this to do anything. | |||
type=’pickup_choices’ | required | string | |
toggle=’1′ | optional | omit|0|1 | omit -> default set in setting, 0 -> checkboxs, 1 -> radio input toggle |
class=’some-class’ | optional | valid class name | Add your own class name to the widget container |
Examples |
---|
[wppizza type='pickup_choices']
|
– Display the widget/option according to settings in Wppizza -> Order Settings. |
[wppizza type='pickup_choices' toggle='1' class='some-class']
|
– Display the widget/option according to settings in Wppizza -> Order Settings, using/forcing radio toggle and adding “some-class” to element. |
documentor id 3