Discount

Shefra

Scratch,

I modified the view, add and modify files. When a customer add more than X pieces there is a discount of Y procent discount.

Frank

scratch

Does any bogy have the modified files or code that they could post to enable the discount code please?
I'm really struggling to implement it...

Many thanks

Shefra

With existing bakery page you mean the standard bakery module? I'm using the standard bakery shop. If you want the share it, it would be appreciated.

Thanks in advance.


Bug

Are you making a new shop or is it an existing bakery page...

I got something that has all the discount options (even a time scheduler for the discount)...


Shefra

Thanks Bug....This helps.

Bug

Basically:

Add a field to the database in the bakery items table called something like discount

Add an input field to the modify item phph and do not forget to add it to the save item php

Now you can fill in a discount amount

In overview php and view item php get the new values and do some math

$price = $price - $discount;

You also need to add these new things to

- view cart and templates cart

- view summery and templates summary





Once you get into it you will come up with amazing extra features

Discount in percentages,

Display the discount, display new and old price, change the layout depending on wheter the item has a discount etc etc


jacobi22

its possible, if you change the code, 3,4 ours if you know something about PHP and the bakery-code

Its not possible with the actuell Version of bakery without code-work

Shefra

Hello,

Is there a possibility to add a discount ? And if so is it also possible to use the disccount only when buying 4 or more peaces of 1 product.

Thanks in advance