Allow user to export certain products only
-
Hi,
is it possible to give users permission on the frontend to export orders only with specific products?
I was able to put a button on the frontend which exports all orders with the help of another question:<form method="get" action="/wp-admin/admin-ajax.php"> <input type="hidden" name="action" value="order_exporter"> <input type="hidden" name="method" value="run_one_job"> <input type="hidden" name="profile" value="now"> <input type="submit" name="exportAllOrders" id="exportAllOrders" value="Export"> </form>So for example I have 3 products, and I want user1 to be able to export product 1 and 2, user2 to export only product 1 etc.
Thanks,
Tamas
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
The topic ‘Allow user to export certain products only’ is closed to new replies.