Author Topic: Bakery: Small Shop Module (ORIGINAL TOPIC)  (Read 393596 times)

cchhita

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #475 on: July 14, 2009, 10:35:06 PM »
Hi There!
I would just like to say this is a great module!

I am trying to use Item Options and Set my own order of the options, but I cannot do this.

I have products with a choice of the amount i.e.
25 pack
50 pack
100 pack

Because the 100 pack starts with a 1, it is always displayed first! Is there anyway to reorder these items?

Thanks

cchhita

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #476 on: July 15, 2009, 05:47:23 AM »
HI There,
I have dscovered the answer to my above question about reordering Item Options by numeric value!

If you have a list of numeric values, here is how it will look:
100 pack
25 pack
50 pack
75 pack

Here is what you do:
Go to modules/bakery/view.php - MAKE A BACKUP

Look for this code on Line (Approx) 907

Code: [Select]
// Get item attributes
$query_attributes = $database->query("SELECT o.option_name, a.attribute_name, ia.attribute_id, ia.price,
 ia.operator FROM ".TABLE_PREFIX."mod_bakery_options o INNER JOIN ".TABLE_PREFIX."mod_bakery_attributes a
ON o.option_id = a.option_id INNER JOIN ".TABLE_PREFIX."mod_bakery_item_attributes ia ON a.attribute_id = ia.attribute_id WHERE item_id = $item_id AND ia.option_id = '$option_id'
ORDER BY o.option_name, a.attribute_name ASC");


Change to

Code: [Select]
// Get item attributes
$query_attributes = $database->query("SELECT o.option_name, a.attribute_name, ia.attribute_id, ia.price,
ia.operator FROM ".TABLE_PREFIX."mod_bakery_options o INNER JOIN ".TABLE_PREFIX."mod_bakery_attributes a ON
o.option_id = a.option_id INNER JOIN ".TABLE_PREFIX."mod_bakery_item_attributes ia ON a.attribute_id = ia.attribute_id WHERE item_id = $item_id AND ia.option_id = '$option_id'
ORDER BY ABS(a.attribute_name) ASC");


Look for this code on Line (Approx) 1167

Code: [Select]
$query_attributes = $database->query("SELECT o.option_name, a.attribute_name, ia.attribute_id,
ia.price, ia.operator FROM ".TABLE_PREFIX."mod_bakery_options o INNER JOIN ".TABLE_PREFIX."mod_bakery_attributes a
ON o.option_id = a.option_id INNER JOIN ".TABLE_PREFIX."mod_bakery_item_attributes ia ON a.attribute_id = ia.attribute_id WHERE item_id = ".ITEM_ID." AND ia.option_id = '$option_id'
ORDER BY o.option_name, a.attribute_name ASC");

Change to

Code: [Select]
// Get item attributes
$query_attributes = $database->query("SELECT o.option_name, a.attribute_name, ia.attribute_id, ia.price,
ia.operator FROM ".TABLE_PREFIX."mod_bakery_options o INNER JOIN ".TABLE_PREFIX."mod_bakery_attributes a
ON o.option_id = a.option_id INNER JOIN ".TABLE_PREFIX."mod_bakery_item_attributes ia ON a.attribute_id = ia.attribute_id WHERE item_id = ".ITEM_ID." AND ia.option_id = '$option_id'
ORDER BY ABS(a.attribute_name) ASC");


ORDER BY ABS(a.attribute_name) ASC will order items by numeric value, so your list now should look like this:

12 Pack
24 Pack
36 Pack
100 Pack


Hope that helps someone out!

Cheers for the great Module!
« Last Edit: July 15, 2009, 05:58:07 AM by cchhita »

Offline masarin

  • Posts: 56
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #477 on: July 15, 2009, 10:46:29 AM »
Quote
These are the default email templates. Bakery uses the default WB language setting to determine which email template will be saved in the database for later modifications.

Regards Christoph

Is there a way to make Bakery use these different email templates (the default email templates) depending on what language you chose for for for a page in a multilingual shop?

Or could it be a feature to be able to turn of the ability to edit the email templates in the Bakery backend, and instead use the default email templates according to a Bakery page language setting.
This would make Bakery multilingal wouldn't it?


snark

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #478 on: July 16, 2009, 08:52:26 AM »
A modification to make the definable fields have a wysiwyg editor

for anyone that might need to ad more than just some words to the definable fields...


wysiwyg function for the definable fields

if I find the time I am going to ad the option to ad both non wysiwyg definable fields and wysiwyg definable field and increase the amount of definable fields a bit





[gelöscht durch Administrator]

Offline idamay

  • Posts: 10
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #479 on: July 16, 2009, 05:26:50 PM »
Hello,  My emails (order notifications) are not being sent out in a fresh install of WebsiteBaker and Bakery.

Emails sent from other pages (through a form) are sending ok.

Please advise!!!  Thank you!

Offline Évatoupin

  • Posts: 59
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #480 on: July 23, 2009, 01:38:59 PM »
Hello everybody,

I am not a baker at novice as such, but for "bakery" yes. I install "bakery V.1.36

I add country canada and the provinces. But I do not know how to add the fees for quebec that are more complex example:

but in Quebec and PEI, the tax calculations are done cumulatively:
i.e. in Quebec, the tax calculation must be:
Code:

Subtotal $ 10.00
GST (5%) 0.50 ($ 10 x 5%)
QST / TVQ (7.5%) 0.79 ==>($ 10.50% x7.5) - effectively, 7.875%
--------------------------------------
Total $ 11.29


Does anyone find how to program it? If so can you help me. I have no objection has paid a programmer what my average is not terrible, but if it's worth it when there is an appeal I need a programmer who speaks french, because I was Google's Language Tools, because I do not speak English at all.

Thank you all in advance!

Éva Toupin
« Last Edit: July 23, 2009, 01:45:13 PM by Évatoupin »

Offline djdeeno

  • Posts: 51
  • Gender: Female
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #481 on: July 24, 2009, 11:38:47 PM »
HI
Is it poisable to ad a new pay methode or edit?
I see there is Ideal include but goes to mollie, very nice but i use ideal from the bank self, not with mollie.
Can anyone helpe me with this problem?
Thankssss

Offline masarin

  • Posts: 56
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #482 on: July 26, 2009, 09:10:03 PM »
Swedish translation of Bakery and the Payment Methods attached as a zip file.

I haven't changed the special characters like å ä ö to the HTML equal å ä ö , because when I tried that Bakery refused to add any items to the cart. It seems to work fine anyway but please tell me if I should do it in another way.

Regards Masarin

EDIT
Sorry, the files were corupt. something with saving åäö.
I will look into this.

/masarin
« Last Edit: August 01, 2009, 03:47:45 PM by masarin »

Offline rlaw66

  • Posts: 12
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #483 on: July 30, 2009, 03:09:44 AM »
Maybe I am being thick here but in the new layout for Bakery under Payment Methods with the drop down box for paypal selected there is a box that says Paypal Page

What goes in there?

Offline masarin

  • Posts: 56
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #484 on: August 02, 2009, 04:35:56 PM »
Hi

Need some directions about how to create (translate and save) language files.

It's the "Payment Methods" -files that are bugging me. The standard Bakery language file works both ways described below.

If I upload the files with Swedish ÅÄÖåöä they get to look strange in the e-mails that are sent out to customers and shop owners.

If I upload the files with the HTML equivalents for ÅÄÖåäö (å ä etc) Bakery stops working and It gets impossible to add any item to the cart and I get the error:
Not Found
The requested URL /musite/pages.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I have saved all files in utf-8

Regards masarin

Offline zarathustra.at

  • Posts: 58
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #485 on: August 03, 2009, 10:04:38 AM »
I think this has to do with allowed special characters - you have to define which special characters are allowed:

(in your case i suppose) in file bakery/languages/SE.php

    $MOD_BAKERY['ADD_REGEXP_CHARS'] = 'ÄÖÜäöüß';

make sure the file is encoded the same as your WB installation.

Hope this helps!
« Last Edit: August 03, 2009, 10:06:19 AM by zarathustra.at »

neilrees

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #486 on: August 03, 2009, 02:18:01 PM »
Hi everyone

This is probably a long shot, but does anyone know how to set a 'minimum order' in Bakery. I need to set a £150 minimum order made up of any combination of around 15 products (i.e. could be one of each or 10 of one product) but havent been able to find any info on this, any help would be really gratefully received!!  :-)

Thanks in advance

N

Offline masarin

  • Posts: 56
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #487 on: August 04, 2009, 08:20:09 PM »
Hi

Need some directions about how to create (translate and save) language files.

It's the "Payment Methods" -files that are bugging me. The standard Bakery language file works both ways described below.

If I upload the files with Swedish ÅÄÖåöä they get to look strange in the e-mails that are sent out to customers and shop owners.

If I upload the files with the HTML equivalents for ÅÄÖåäö (å ä etc) Bakery stops working and It gets impossible to add any item to the cart and I get the error:
Not Found
The requested URL /musite/pages.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I have saved all files in utf-8

Regards masarin

It seems that there's only the email part of the Payment Methods" -files that doesn't work properly with special characters.
I tried to copy the email text into the backend and now it works all right.

Still haven't figured out if theres something wrong with my translated files.

I will attach the SE language files both with the special characters as is (ÅÄÖåäö) and with the HTML equivalents and maybe someone can have a look and save them in the right format.

/masarin

[gelöscht durch Administrator]
« Last Edit: August 04, 2009, 08:50:44 PM by masarin »

Offline masarin

  • Posts: 56
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #488 on: August 05, 2009, 11:59:00 AM »
I think this has to do with allowed special characters - you have to define which special characters are allowed:

(in your case i suppose) in file bakery/languages/SE.php

    $MOD_BAKERY['ADD_REGEXP_CHARS'] = 'ÄÖÜäöüß';

make sure the file is encoded the same as your WB installation.

Hope this helps!

Thank you for your answer.
I have tried this but still no go.
Solved it by copying the Payment Method emails directly into the backend edit aria.

pctechhelp

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #489 on: August 15, 2009, 08:39:16 PM »
 :mrgreen:Hi guys im new to WebsiteBaker just want to ask about the shop module on how to update the price for my shopping cart

example is i bought 2  mouse, price for $100 each   and shipping is $100each total total is $400

Shop module output:
                  Quantity             Price          Shipping          Total
mouse            2                    100             100                400

what i want to happen
                  Quantity            Price            Shipping         Total
mouse             2                   200              200                400

my problem is i don;t know what variable that was used and where to put it exactly for price and shipping
shippingsum=shippingprice&quantity
pricesum=itemprice*quantity

Please enlighten me  :-(


freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #490 on: August 16, 2009, 12:42:58 PM »
Hi pctechhelp

1. Open the files view_cart.php and view_summary.php.

2. Localize the code line (4 times)
Code: [Select]
$f_price = number_format($items[$i]['price'], 2, $setting_dec_point, $setting_thousands_sep);and replace it by
Code: [Select]
$f_price = number_format($items[$i]['quantity'] * $items[$i]['price'], 2, $setting_dec_point, $setting_thousands_sep);
3. Localize the code line (2 times)
Code: [Select]
$f_shipping = number_format($items[$i]['shipping'], 2, $setting_dec_point, $setting_thousands_sep);and replace it by
Code: [Select]
$f_shipping = number_format($items[$i]['quantity'] * $items[$i]['shipping'], 2, $setting_dec_point, $setting_thousands_sep);
Regards Christoph

pctechhelp

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #491 on: August 16, 2009, 03:14:01 PM »
Thanks freesbee,

My SMTP is off in a free webhost , is that the reason i can forward email to the customer

just want to be sure
 :-D

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #492 on: August 16, 2009, 05:45:13 PM »
@pctechhelp
Bakery makes use of the PHP mail() function (no SMTP).

Regards Chiristoph

Offline D. Peeters

  • Posts: 128
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #493 on: August 18, 2009, 10:37:52 AM »
Is it possible to add a gift coupon function to this module??

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #494 on: August 18, 2009, 10:47:47 AM »
Hi Peeters

Is it possible to add a gift coupon function to this module??
Not by default. All features are listed at the >> Bakery website.

Regards Christoph

daydreamer

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #495 on: August 19, 2009, 09:43:48 AM »
Is there any way to add Sage Pay as additional payment gateway?
http://www.sagepay.com/

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #496 on: August 19, 2009, 10:25:06 AM »
Hi daydreamer

Is there any way to add Sage Pay as additional payment gateway?
Yes, of course. Use the two resources below to add a new payment method plugin to Bakery:
   http://www.bakery-shop.ch/#payment_methods
   http://www.sagepay.com/developers/integration_manual/form_testing.asp

Regards Christoph

Offline D. Peeters

  • Posts: 128
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #497 on: August 20, 2009, 11:57:48 AM »
Hi Peeters

Is it possible to add a gift coupon function to this module??
Not by default. All features are listed at the >> Bakery website.

Regards Christoph

how could I add this extra feature?

haulakoski

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #498 on: August 21, 2009, 12:50:11 PM »
Hello everybody!

Have someone the WebsiteBaker Bakery -Swedish translation? Could somebody post it to henry.aulakoski(at)gmail.com

Cheers, HA

vanbemmel

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #499 on: August 21, 2009, 02:59:06 PM »
Hello,

1. is it possible in the product detail page of Bakery to change the url /bakery/ to /shop/ ?
2. how can i display more information in the order mail then only the default information inside [ITEM_LIST]? 
For example i would like to add the title or description of the product.  Where can I change the content of [ITEM_LIST] ?

 

postern-length