Jump to content

Button in Orders>Orders


Recommended Posts

Hello!

 

I made script for auto-order ordered items from our supplier, and now i need to make "admin-panel".

 

There is two ways i can do it - inserting "Order from supplier" in Orders page in back-end OR making second admin panel and doing it from there.

 

So the question is - can anybody help me creating such a button? Simplier for me is create second back-end, because i dont know really good how PS works. 

 

At moment I have supplier_order.php file, which is listening $_POST['id_order']. May be such button may be made as

<form action="*url*/adminblabla/script/supplier_order.php" method="POST">
<input type="hidden" name="id_order" value=PRESTA->ORDERID>
<input type="submit" class="xXx"> <-- Button
</form>

It would be cool to make module, but my knowledge in presta "moduling" is fooo x)

 

Thank you!

post-1129762-0-77452200-1463413511_thumb.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...