WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Bakery: Small Shop Module (ORIGINAL TOPIC)
  • Print
Pages: 1 ... 29 30 [31] 32 33 34   Go Down

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

snark

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #750 on: April 23, 2010, 08:09:01 PM »
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 ...


Logged

snark

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #751 on: April 23, 2010, 08:12:18 PM »
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?
Logged

Locoblade

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #752 on: April 23, 2010, 08:19:19 PM »
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!
Logged

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #753 on: April 23, 2010, 10:53:28 PM »
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:
Code: [Select]
<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
Code: [Select]
// Check for blank fields
foreach ($_POST as $field => $value) {
if ($value == "") {
$blanks[] = $field;
}
}
by
Code: [Select]
// 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
Code: [Select]
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
Code: [Select]
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
Logged

Locoblade

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #754 on: April 24, 2010, 12:16:43 AM »
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:

Code: [Select]
<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
« Last Edit: April 24, 2010, 12:18:20 AM by Locoblade »
Logged

Locoblade

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #755 on: April 24, 2010, 01:11:48 AM »
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
Logged

Offline Boudi

  • Posts: 1190
  • Gender: Male
  • //o_-\\
    • Yze Webdesign
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #756 on: April 26, 2010, 11:05:34 AM »
Quote
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...

Anyone?

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

Offline cmolina

  • Posts: 17
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #757 on: April 26, 2010, 06:53:18 PM »
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.
Logged

Locoblade

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #758 on: April 27, 2010, 12:25:01 PM »
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
« Last Edit: April 27, 2010, 12:28:01 PM by Locoblade »
Logged

Offline cmolina

  • Posts: 17
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #759 on: April 27, 2010, 06:59:48 PM »
Hi folks.

I'm trying to setup a multilanguage (spanish and english) shop. I modified my template using instructions under wbsitebaker help page

On other way I setup "page language" on WebsiteBaker setup.

I have my Spanish shop under http://www.rls-art.es/pages/tienda/bolsos-de-viaje.php and works fine (using multiple menu)

Now, My english shop is not show me anything (http://www.rls-art.es/pages/shop/travel-bags.php?lang=EN)

How Can I fix this ?

I missed any config ?

I' read the forum but the i'm not clear with the instructions that people are using.

Any help would be appreciated

Thanks in advance 

PS: On attach file, i upload an screenshot with site structure

[gelöscht durch Administrator]
Logged

Offline Boudi

  • Posts: 1190
  • Gender: Male
  • //o_-\\
    • Yze Webdesign
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #760 on: April 27, 2010, 07:17:26 PM »
Your menu structure is incorrect.

What you need to do is create a shop underneath each language (and give it it's own language in the page settings)

After that, create a product. Duplicate it directly into the other language, edit the language data and put it on active.

This should do the trick.

1 disadvantage: when buying stuff the email template will only be send 1 language. You can edit the email template in 2 languages (e.g. underneath each other)

If you want to avoid the last step then the only thing left to do is to create another db with WB on it, install the bakery mod, (all in another language) and wrap this thing up into the original store.


Boudi
« Last Edit: April 27, 2010, 07:32:39 PM by Boudi »
Logged
...:: Bake the Unbakable ::...

Offline cmolina

  • Posts: 17
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #761 on: April 27, 2010, 09:15:09 PM »
Hi boudi.

Thanks for your reply

I modified my setup, and look like the image attached. Now, when I setup a product under travel bags category, cannot see product (under english language)
All products under spanish language works fine.

What do you mean with "create a shop underneath each language"

I have TIENDA shop under ES and SHOP shop under English. TIENDA and SHOP are new pages (bakery type)

Is this that you mean ?

Thanks in advance.



[gelöscht durch Administrator]
Logged

Offline Boudi

  • Posts: 1190
  • Gender: Male
  • //o_-\\
    • Yze Webdesign
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #762 on: April 27, 2010, 11:20:24 PM »
You mean you cannot see the images in the English part? You DO see the images in the English shop in the admin?

otherwise pm me :)
Logged
...:: Bake the Unbakable ::...

Offline cmolina

  • Posts: 17
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #763 on: April 28, 2010, 12:44:59 AM »
Hi All.

I have solved the bakery "multilanguage" problem. The issue was caused by anynews error (missing EN language file for this module)

In resume, to take bakery multilanguage, is did the following

1. Use an structure like my lastpost (EN, ES and any other language, following WebsiteBaker multilangiage instructions. Here is neccesary to modify template)
2. Enable  page language on settings
3. Under ES structure, build spanish pages and select Spanish language, on each webpage settings
4. Under EN structure,  build english pages and select English language, on each webpage settings

My shop is under http://www.rls-art.es

Note. Take care with any module error caused for language files (ES.php and EN.php). This can cause that websitebake drop an erro an stop processing template and other modules. Enable Error log to ALL (on settings ) can help to detect it.

Thanks to Boudi for his help
Logged

Locoblade

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #764 on: May 02, 2010, 01:05:26 PM »
Quote from: Locoblade on April 27, 2010, 12:25:01 PM
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

If anyone's interested I've now managed to code this Voucher / Coupon Code functionality into bakery. It gives a Promo Code box at the bottom of the user form submitted during order, then looks up the promo code and applies the relevant discount to the following summary page, as well as modifying the output to the invoices etc so when printing invoice / delivery notes, they also show the correct amounts. Currently the discount options need to be set raw in the database but with a bit more work it should be possible to allow control of the discount codes from within the General Settings page in bakery. Thus far I have 3 options, two are percentage discounts and one gives free postage.

Id be happy to share my modified files or even pass to Christoph for inclusion in the next revision, but I will say that my php coding skills were non existant before embarking on this little project though, so there may well be flaws. It works for me but Im only using Paypal and only using flat rate postage on the above website, so it needs testing over a wider range of options as other combinations of postage /  may not work.

It can be seen in action here: www.minkyfabrics.co .uk , enter "MAY5" as the 5% off promo code then cancel the order when it takes you to Paypal assuming you don't want to actually place an order!

cheers
Chris
« Last Edit: May 02, 2010, 02:13:17 PM by Locoblade »
Logged

Locoblade

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #765 on: May 02, 2010, 01:16:24 PM »
Using something similar to the front end output filter for e-mail addresses, there a way to replace the 3 figure currency reference with a symbol, for example replace "USD" with "$" or "GBP" with "£", so that prices to the customer show as "£5.00" rather than "GBP 5.00"?

If you put the symbol in directly to the bakery admin rather than the official 3 figure currency reference, it shows correctly on the website but then the cart doesn't work as Paypal etc doesn't recognise the currency to use.

thanks
Chris
Logged

MeAgain

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #766 on: May 04, 2010, 05:18:11 AM »
Greetings - I've gone thru the whole 32 pages of this thread and I've search using every term I can think of but haven't been able to find the answer to where to put the PDT token from Paypal into the backend of the Bakery module.

Perhaps I'm looking in the wrong place or it is no longer needed? This is what it says  on the Bakery site:

"Copy your identity token and paste it to the "PDT Identity Token" field at Bakeries backend (see "PayPal Settings")."

But I don't see where this goes. Also the 'transaction status', where would these go in the picture I've uploaded?

Thanks in advance for any help you can offer, and pardon me if I missed finding the answer in my searching.

Just MeAgain

[gelöscht durch Administrator]
Logged

instantflorian

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #767 on: May 04, 2010, 07:36:27 AM »
Hi,

there sees to be sth. missing in the english language file... replace "[TRANSCATIONSTATUS]" with the token

[gelöscht durch Administrator]
Logged

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #768 on: May 04, 2010, 09:08:55 AM »
Hi MeAgain

Quote from: MeAgain on May 04, 2010, 05:18:11 AM
... but haven't been able to find the answer to where to put the PDT token from Paypal into the backend of the Bakery module.

  • Bakery version?
  • PayPal payment method version? (=> find it in the bakery/payment_methods/paypal/info.php file)

You might use an old version of the PayPal payment method. Upgrade the plugin by just replacing the full bakery/payment_methods/paypal/ directory by an up to date version (currently v0.4 included in Bakery v1.5.3 and later).

Regards Christoph
« Last Edit: May 04, 2010, 09:22:38 AM by freeSbee »
Logged

MeAgain

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #769 on: May 04, 2010, 01:42:56 PM »
Thanks for the quick response ppl. I appreciate it.

I am using WebsiteBaker ver2.8 (I may have upgraded to 2.8.1, can't remember and am rushing off to work so can't check) and my was 1.5.3 ? but was upgraded to bakery to v.1.5.4

Is it possible the upgrade didn't go correctly. I uploaded the zip and thought it did what it was supposed to but don't remember the message I got when I did. I can say I didn't get any errors and everything seems to work just fine to where it takes me to paypal with a test CC. That's as far as I've gotten.

Again thanks in advance.
Logged

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #770 on: May 04, 2010, 02:02:37 PM »
Quote from: freeSbee on May 04, 2010, 09:08:55 AM
You might use an old version of the PayPal payment method. Upgrade the plugin by just replacing the full bakery/payment_methods/paypal/ directory by an up to date version (currently v0.4 included in Bakery v1.5.3 and later).

Regards Christoph
Logged

MeAgain

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #771 on: May 05, 2010, 03:49:55 AM »
Thanks so much instantflorian and freeSbee. Between your picture and directions I was able to fix it. But in fixing it, things got curiouser and curiouser. Now I am wondering what other pages didn't get updated in the upgrade to 1.5.3 of bakery.

I had installed it by uploading the zip file via Bakery's back end (install module) .Was there something else I should've done after uploading the zip file? Or should the act of uploading it be enough?

As I said, I'm wondering what other files may not have been properly upgraded.

And again thank so much. You were both spot on.
Logged

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #772 on: May 05, 2010, 03:02:37 PM »
Hi MeAgain

If you originally installed Bakery using FTP the upgrade using the WB backend might not have worked out.
In this case delete the full Bakery directory on your server by FTP and replace it by the latest version of Bakery.

Regards Christoph
Logged

Offline macsmet

  • Posts: 255
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #773 on: May 11, 2010, 11:28:07 AM »
Hi there,

I am looking for a way to add three extra fields on the order form (where customers fill in there name and address).
is this possible? If it is, can anyone explain what I have to do to get it right.

Thanks!

Greetings,

MacSmet
Logged

Offline quinto

  • Posts: 103
    • http://www.clubnumeric.org/
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #774 on: May 11, 2010, 07:17:06 PM »
Quote from: Locoblade on May 02, 2010, 01:16:24 PM
Using something similar to the front end output filter for e-mail addresses, there a way to replace the 3 figure currency reference with a symbol, for example replace "USD" with "$" or "GBP" with "£", so that prices to the customer show as "£5.00" rather than "GBP 5.00"?

If you put the symbol in directly to the bakery admin rather than the official 3 figure currency reference, it shows correctly on the website but then the cart doesn't work as Paypal etc doesn't recognise the currency to use.

thanks
Chris

i've made some test of the bakery module, is it normal that in the backend when i choose currency code : 978 (for Euro) on the backend when i wand to add an item i see : 978 as unit for the price or the shipping ? it must be show me EUR instead of 978 normally or it's the normal behaviour of the Shop ?
Logged

  • Print
Pages: 1 ... 29 30 [31] 32 33 34   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Bakery: Small Shop Module (ORIGINAL TOPIC)
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2