WebsiteBaker Support (2.8.x) > Bakery Shop
Bakery: Small Shop Module (ORIGINAL TOPIC)
freeSbee:
--- Quote from: orko3001 on December 16, 2007, 08:46:03 PM ---One for UK, one for Europe and one for the rest of the world.
--- End quote ---
Hi orko3001
Easiest way to do it would be to hard code it into view-summary.php file about line 140 AND 325. Look for the "Select shipping rate" comment!
Modify the code
// Select shipping rate
if($cust_country == $setting_shop_country) {
$setting_shipping_rate = $setting_shipping_domestic;
}
else {
$setting_shipping_rate = $setting_shipping_abroad;
}
to
// Select shipping rate
if($cust_country == $setting_shop_country) {
$setting_shipping_rate = $setting_shipping_domestic;
}
elseif($cust_country == "AL" || "AT" || "BE" || "BG" || "CH" || "DE" || "DK" || "EE" || "FI" || "FR" || "GR" || "GL" || "IE" || "IS" || "IT" || "LI" || "LV" || "LT" || "MT" || "NL" || "NO" || "PL" || "PT" || "RO" || "RU" || "SE" || "SK" || "SI" || "ES" || "CZ" || "TR" || "HU" || "CY") {
$setting_shipping_rate = 8.00;
}
else {
$setting_shipping_rate = $setting_shipping_abroad;
}
Adapt the list of europeen countries to fit your needs by deleting or adding country codes in the same way it is done in the example. Change the shipping for Europe (in the example 8.00) to your rate.
Domestic and world wide shipping can be set in the Bakery general settings as usual.
Best,
Christoph
vw-classics:
Hi,
i have a question, I would handle 5000 articles in my shop. Is bakery the right choice???
And dataimport. Is this possible? And how?
Sorry for my terrible english.
Thank“s a lot
freeSbee:
--- Quote from: vw-classics on December 17, 2007, 01:45:37 PM ---I would handle 5000 articles in my shop. Is bakery the right choice???
And dataimport. Is this possible? And how?
--- End quote ---
Hi vw-classics
No, dataimport is not possible with bakery.
You could do it by exporting your sql data and reimporting to the WB database with a sql tool like phpMyAdmin...
But, you are probably better off with a full featured e-commerce programm!
Why dont you want to stick to your osCommerce installation?
Gruss,
Christoph
kweitzel:
Hey Man,
I agree there ... do stick to your E-Commerce Package instead of using WB for it ... I think you will be better off.
cheers
Klaus
rickieleejones2000:
Chris,
I am having 2 problems with v0.7
1) Small one: the "selected" in the <SELECT> html tag for country is not set correctly -> Always the first country is selected -> "Albania"... I however have "CH" set in the config...
2) My shop pages are "private". When I am logged-in during the checkout process and I do push the last button "Ich bezahle per Vorauskasse" I get an error window and I get logged-out... See attached snapshot...
P.S: Do you already know if someone started french translation? I might be able to help translate...
Thanks,
Rick
[gelöscht durch Administrator]
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version