Bakery: Small Shop Module (ORIGINAL TOPIC)

Locoblade

#759
Hi Guys

Is there a way to offer a voucher/discount code during checkout, so for example we can advertise on websites offering a 5% off voucher code, so customers visiting from that advert add in a code (e.g. "SUMMER5" or "FREEPOST") that which will automatically remove 5% or free postage etc when checking out?

thanks
Chris

cmolina

Hi.

Is there a way to limit the characters numbers that user can add to short and long description for a product ?

I'm see that product listing lost align if one product have more text lines than other

Thanks in advance.

Boudi

QuoteComplex question?

The following problem came up with one of our WB shops:

- there are 5 products in the shop
- 3 products have different shipping costs for national and international sending
- 2 products have no shipping costs at all

After taking a close look at the settings the only solution I came up with that this is not possible to configure the above data in the shop!

Anyone who thinks he/she has the solution...

Anyone?

Regards,
Boudi
...:: Bake the Unbakable ::...

Locoblade

Also, do you how I can get the cart to display say 3m rather than "6" in the quantity column, Ive had a look inside the mini_cart.php but I can't see anything obvious?

thanks
Chris

Locoblade

#755
Many thanks Christoph, that's brilliant. What I've put in seems to work fine on the item detail pages but the same doesn't on the overview. When clicking Add to Cart on the overview, nothing happens, any idea why?

this is my overview (Product Loop) code:

<td class="mod_bakery_main_td_f">
[THUMB]
<br />
<a href="[LINK]"><span class="mod_bakery_main_title_f">[TITLE]</span></a>
<br />
[TXT_PRICE]: [CURRENCY] [PRICE]
<br />
<select name="item[ITEM_ID]">
   <option value="1">0.5m</option>
   <option value="2">1m</option>
   <option value="3">1.5m</option>
   <option value="4">2m</option>
   <option value="5">2.5m</option>
   <option value="6">3m</option>
   <option value="7">3.5m</option>
   <option value="8">4m</option>
   <option value="9">4.5m</option>
   <option value="10">5m</option>    ....
</select>
<input type="submit" name="add_to_cart" class="mod_bakery_bt_add_f" value="[ADD_TO_CART]" />
</td>
</form>
</td>



cheers
Chris

freeSbee

Hi all

@ Locoblade
Replace in the "Layout Settings" the input field by a select (http://www.bakery-shop.ch/#default_item_quantity). Set something like:

<select name="item[ITEM_ID]">
    <option value="0.5">0.5</option>
    <option value="1">1.0</option>
    <option value="1.5">1.5</option>
    <option value="2">2.0</option>
    ....
</select>



@snoork
Make the phone number optional by replacing in the file view.php

// Check for blank fields
foreach ($_POST as $field => $value) {
if ($value == "") {
$blanks[] = $field;
}
}

by

// Check for blank fields
foreach ($_POST as $field => $value) {
if ($value == '' AND $field != 'cust_phone') {  // Phone optional
$blanks[] = $field;
}
}


and replace in the same file

if (eregi("phone",$field)) {
if (!ereg("^[0-9)(xX +.-]{7,20}$",$value)) {
$error_bg[] = $field;
$errors[] = htmlspecialchars($value, ENT_QUOTES)." ".$MOD_BAKERY['ERR_INVAL_PHONE'];
}
}

by

if (eregi("phone",$field)) {
if(!ereg("^[0-9)(xX +.-]{0,20}$",$value)) {  // Phone optional
$error_bg[] = $field;
$errors[] = htmlspecialchars($value, ENT_QUOTES)." ".$MOD_BAKERY['ERR_INVAL_PHONE'];
}
}


Regards Christoph

Locoblade

Quote from: snoork on April 23, 2010, 08:09:01 PM

with the option value you can create options for

1m + an 'extra price'
2m + an 'extra price'
3m + an 'extra price'
4m + an 'extra price'
etc +

that way people will have a dropdownmenu with the 'size' to order ...

you can even add an extra field for color ...


Thanks Snoork, I did consider using the options dropdowns but the big downside is that for every material she needs to add in say 10 prices (for each 0.5m increment 0.5m-5m). With 20-30 different items obviously thats adds up to quite a bit of admin, especially if a bulk price change is required!

snark

I want to make the phone number 'NOT' to be compulsory, it can stay but just is nog necessary to fill it in.

where do I have to change the files?

snark

Quote from: Locoblade on April 23, 2010, 07:22:43 PM
Hi All

I'm currently configuring Bakery for my wife's fabric business. Most of the items she sells are sold by length rather than as an individual item, so for example a customer may wish to buy 6m of a specific fabric that's priced at say £5 per half metre.

At the moment we can obviously ask customers to add multiples of the product to buy larger sizes but if for the example above, if a customer wants 6m they have to add "12" to their cart. Its not rocket science but not entirely intuitive so I'd prefer it if I could change it to suit. Is there an area of code I can edit to change the "Number of Items" display into a dropdown list of say 0.5m,1m,1.5m etc so the amount of fabric required can be directly chosen?

thanks in advance

with the option value you can create options for

1m + an 'extra price'
2m + an 'extra price'
3m + an 'extra price'
4m + an 'extra price'
etc +

that way people will have a dropdownmenu with the 'size' to order ...

you can even add an extra field for color ...



Locoblade

#750
Hi All

I'm currently configuring Bakery for my wife's fabric business. Most of the items she sells are sold by length rather than as an individual item, so for example a customer may wish to buy 6m of a specific fabric that's priced at say £5 per half metre.

At the moment we can obviously ask customers to add multiples of the product to buy larger sizes but if for the example above, if a customer wants 6m they have to add "12" to their cart. Its not rocket science but not entirely intuitive so I'd prefer it if I could change it to suit. Is there an area of code I can edit to change the "Number of Items" display into a dropdown list of say 0.5m,1m,1.5m etc so the amount of fabric required can be directly chosen?

thanks in advance

Boudi

Complex question?

The following problem came up with one of our WB shops:

- there are 5 products in the shop
- 3 products have different shipping costs for national and international sending
- 2 products have no shipping costs at all

After taking a close look at the settings the only solution I came up with that this is not possible to configure the above data in the shop!

Anyone who thinks he/she has the solution...please tell me :)

Regards,

Boudi
...:: Bake the Unbakable ::...

Boudi

Normally I would give you the solution but this is not a bakery bug.

Someone was willing to check what caused this. I payed him to solve this. So I'm sorry I can't help you.

Boudi
...:: Bake the Unbakable ::...

neilrees

Hi

Could you tell me how you fixed this error please, as I am getting exactly the same thing.

It worked the very first time I tested an order, but as soon as I altered the mail settings (they are correct and as advised) it stopped sending confirmation mails to the customer. I've even reverted back to the original default settings, but it still won't work. Grrrrrrr!!

Thanks
N

Boudi

#746
Yes orders are being saved.

I even placed orders with other payment methods but then too: no emails.
The whole website is under SSL so I disabled SSL and placed an order: same thing.

Although the website is up and running I can create a login If you like.

Update: The problem is solved.
...:: Bake the Unbakable ::...

freeSbee

Boudi, and what about the order? Is it saved in the Bakery "Order Administration"?

Boudi

#744
That message was only once. After that I got only green screens that the payment was done and I would receive an email from the shop.

Today I did a diagnostic test in order to see if the PHP() function was indeed working like it should be. This all works fine. So no problems there.

The only thing left for me to do is to set the error reporting on E_ALL.  I will report it soon.

Update: No error reporting at all through the whole checkout procedure and redirect after the payment was done.

Did a payment and all things went fine. Again no confirmation email from the shop. See att.



[gelöscht durch Administrator]
...:: Bake the Unbakable ::...

freeSbee

Hi Boudi

But if you get this error message (red part) the email() function gives back 0.
I still believe it must have something to do with your server or the PHP settings.

Do you have set error_reporting E_ALL?
Do you get any PHP error messages / warnings?

Regards Christoph

Boudi

Hi Christoph,

Quote
This is not a specific Bakery problem since the PHP mail() function is not working properly on your server.
If you are testing localy try again on a webserver.

The PHP mail() function was/is working properly on our server. Even the email spamfilters are turned off. Still no emails.  :-(

Boudi
...:: Bake the Unbakable ::...

freeSbee

Hi Boudi

This is not a specific Bakery problem since the PHP mail() function is not working properly on your server.
If you are testing localy try again on a webserver.

Regards Christoph

Boudi

#740
3rd attempt :)

Quote
The problems began when doing a Paypal payment. All steps did work fine but... no email to customer.
Today I did a test with Pay in Advance. This message came up. See att.

So to get short; In my case Bakery is unable to send email payment notifications to the customer regardless which payment option I use. I wonder how this is possible. It's a fresh install of the latest version.

The website itself is multilanguage and full SSL.

Same problems keeps existing. Did a fresh install of 1.5.4. Payed with paypal. All data is 100% correct. After paypal payment customer is send back to the store. The store says that the payment was succeeded and that the customer will receive an email from the store.

No email to the customer is send.

I'm I really the only one with this problem????

Boudi

...:: Bake the Unbakable ::...

freeSbee


New Version of Bakery:

VERSION 1.5.4 (04/08/2010)


VERSION HISTORY
Bakery 1.5.4 version history

KNOW HOW
Further information can be found on the Bakery Website.

DOWNLOAD
Download from the Bakery Website.

PLEASE NOTE
Please read the upgrade notes when upgrading to version 1.5.4.


Christoph

MCoffman

Hello,

I am running 1.36 on one site and everything is fine, so I downloaded 1.53 today, and I am getting an error when I add a product.

Both sites are using 2.7

Parse error: syntax error, unexpected $end in /home/xxxxx/public_html/xxxxx/modules/bakery/save_item.php on line 538

So it appears that there is a close missing....

Thank you,

Mark

freeSbee


New Version of Bakery:

VERSION 1.5.3 (04/07/2010)


VERSION HISTORY
Bakery 1.5.3 version history

KNOW HOW
Further information can be found on the Bakery Website.

DOWNLOAD
Download from the Bakery Website.

PLEASE NOTE
Please read the upgrade notes when upgrading to version 1.5.3.


Christoph

Boudi

For a short while ago I had problems with baker 1.5.2. The emails send to the customer never were send at all.

What I did was a fresh install of bakery 1.5.2.
The only small change was a little css.

The problems began when doing a Paypal payment. All steps did work fine but... no email to customer.
Today I did a test with Pay in Advance. This message came up. See att.

So to get short; In my case Bakery is unable to send email payment notifications to the customer regardless which payment option I use. I wonder how this is possible. It's a fresh install of the latest version.

The website itself is multilanguage and full SSL.

Help would be appreciated.

Boudi





[gelöscht durch Administrator]
...:: Bake the Unbakable ::...

cmolina

Greetings.

I'm looking for bakery module. I'm impressing for this module. Very easu to use, and fully integrated with WB. Great job.

I want to propose some features for this module that can jump it to next level. I can help with anything, but I have a few years that cannot make any code.

First feature that is very important to implement is ACL for users. For example. would be great if WebsiteBaker admin, can add a new users and assign some permissions to bakery. For example, user A can only add products, but cannot modify shop settings, page settings, etc.

User B can add and modify products, but caanot delete it, or modify inventory properties.

I don't know if this feature is hard or easy to implement, but I think that is necessary.

Thanks a lot