When I put the product online

Put the product online (visible in the shop) or offline, with the switch at the top of the product page. Save the product afterwards.

Examples

When I put the product online
When I put the product offline
When we put the product online
And I put the product offline
When put the product online

Pattern

When(/^(I |we )*put the product (online|offline)$/, …)

Part of @webship-js/prestashop-steps (github.com/webship/prestashop-steps), a step pack for Webship-js 2.0.x.