WebsiteBaker Community Forum (upd)

WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: mgeene on February 24, 2015, 11:55:42 AM

Title: Delivery note
Post by: mgeene on February 24, 2015, 11:55:42 AM
Hello,

I do not want prices to the delivery note,
however i want the list of ordered products, is this possible?

Thanks for your comment.
Title: Re: Delivery note
Post by: Gast on February 24, 2015, 12:22:25 PM
its possible if you know something about php-coding. i build in a german shop some extra buttons in the view_order.php like "send delivery info mail" or "show all orders from this customer" etc.
you need some new selects and a little bit code, the most functions are avaiable in bakery
i'm sure, there are no finished and open source solutions avaiable
Title: Re: Delivery note
Post by: mgeene on February 24, 2015, 02:06:52 PM
Thanks for your comment, my php coding is basic, but i want to learn.
Can you help on with the beginning?

And i post a message with the question about scale of discount, do you have any experiance with this in Bakery?
Title: Re: Delivery note
Post by: Gast on February 24, 2015, 02:37:58 PM
because of health problems is my work on the PC currently limited to a maximum of 1-2 hours per day

one way
see modify_orders.php and there the buttons to start additional function like view-invoice or delete-a-order

build there one or more new buttons for more function. for every new function build a new php-file like the example in view_invoice.php or view_order.php

for example:
for a function "send delivery mail" build a button and a file called "send_delivery_mail"
view_order.php shows the example to read the order-informationen like customer-adress, order-id etc
view confirmation.php shows the mail function
you need some new language variables and some basic's in html + php, the rest is copy&paste   :wink:

Quotequestion about scale of discount
there are some little examples in the german forum (the most posting around this was from marmot)
but only hardcoded, no solutions to add a discount-rate pro product
Title: Re: Delivery note
Post by: mgeene on February 24, 2015, 04:06:55 PM
Thanks for your comment!

I continue puzzling.