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 ... 26 27 [28] 29 30 ... 34   Go Down

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

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #675 on: February 08, 2010, 09:28:35 PM »
Quote from: crnogorac081 on February 08, 2010, 09:06:14 PM
UI is loaded twice (one from footer.htt -- the line which is commented in 2.8.1
But it doesn't result in problems, right?
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #676 on: February 08, 2010, 10:50:07 PM »
not so far.. :)
Logged
Web developer

terrajohn

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #677 on: February 09, 2010, 08:41:47 AM »
I have a page consisting of three sections
- Section 1: WYSIWYG
- Section 2: Bakery
- Section 3: WYSIWYG

Is there a way to show the detail page of an item in the same section of an existing page (so in fact replacing section 2 with the detailed page). Now bakery automatically puts an own url for each item on the overview page referring to a seperate bakery page. Is there a way that this link is created in such way that the individual page is pointed to the same section in which the overview is placed.
Logged

Claren

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #678 on: February 11, 2010, 02:23:56 PM »
Quote
What charset encoding did you set as WB default charset (advanced options of the general WB settings)?
What charset encoding did you use to save your SE localisation file?

Regards Christoph

UTF-8 in Website baker.

Eehh, localisation files?
In the comment on top of SE.php it says
"This file is saved using charset iso-8859-1.
  If utf-8 is set as WB default charset, some iso-8859-1 encoded localisation strings
  will be automatically converted to utf-8."
I didnt tamper with that. Just loaded the EN files, translated them and saved as SE.
Logged

lepracaun

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #679 on: February 15, 2010, 12:53:26 PM »
I installed Bakery 1.5.0 to a new install and everything seems to be working perfectly in admin, when I view it in the front (Simple, Round and Generic Theme) the product image is not showing. The image is loaded as it shows in the admin area when you view the product.

Any setting that I am not seeing?

Thanks
Logged

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #680 on: February 15, 2010, 02:54:08 PM »
Hi lepracaun

http://www.bakery-shop.ch/#item_images
Did you select the main item image at "Bakery Backend" > "Add/Modify Item" > section "2. Product Images"?

Regards Christoph
Logged

lepracaun

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #681 on: February 15, 2010, 03:13:58 PM »
Thanks freeSbee, with your guidance I managed to get it working  :wink:

Quote from: freeSbee on February 15, 2010, 02:54:08 PM
Hi lepracaun

http://www.bakery-shop.ch/#item_images
Did you select the main item image at "Bakery Backend" > "Add/Modify Item" > section "2. Product Images"?

Regards Christoph

Hi Christoph, thanks for reply. My image is selected as Main item image there. Do I have to edit my template with this?
Quote
To display the item images in your Bakery templates use the placeholders [THUMB], [THUMBS], [IMAGE] and [IMAGES] (requires Bakery v1.3 or later). Depending on your page settings the inserted images will be linked to the item detail page or the image will be overlayed on the current page using Lightbox2.

•[IMAGE] = Main item image selected at section "2. Product Images" of the "Add/Modify Item" page
•[IMAGES] = All item images except for the item main image
•[THUMB] = Thumbnail of the main item image selected at section "2. Product Images" of the "Add/Modify Item" page
•[THUMBS] = All thumbnails of the item images except for the item main image
« Last Edit: February 15, 2010, 03:26:01 PM by lepracaun »
Logged

ghost06

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #682 on: February 19, 2010, 04:39:42 PM »
hello to all,
the translation in Italian for v 1.5 :lol:,




question
I say that it is possible to add to a field tax identification number customer in the form address?

thanks


[gelöscht durch Administrator]
« Last Edit: February 19, 2010, 04:48:57 PM by ghost06 »
Logged

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #683 on: February 20, 2010, 08:15:50 PM »
Hi ghost06

Thanks a lot for your Bakery translation to Italian!

Regards
Christoph
Logged

dellington

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #684 on: February 25, 2010, 07:43:46 PM »
Quote from: freeSbee on February 23, 2009, 09:37:28 AM

@jollylama

Quote from: jollylama on February 23, 2009, 01:44:52 AM
can i somehow add a text field that will go along with the order on purchase?
hope this makes sense..
Hi jollylama
Yes, it makes sense. But Bakery does not come with the feature you require. You can implement it yourself but you need basic knowledge of PHP!

Regards Christoph


I am trying to do something like this. I have set up a web page to accept race registrations:

http://www.jwchendersonville.org/pages/pbj5k/fun-run.php

We want to collect a person's name on this screen, as it may be different from the name of the person paying for the order (like if a parent registers their child).

I figured out how to display "Racer's name:" as a free-definable text field and even got a text input area to show up by putting this into the template:

Code: [Select]
[TXT_FIELD_1]: <input type="text" size="25" name="racername">
but I don't know how to make it work beyond that.

I do know some php...help?
Logged

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #685 on: February 27, 2010, 02:36:50 PM »
Hi Deborah

In this case you do not have to make use of the free-definable text fields. Just write
Code: [Select]
Racer's full name: <input type="text" size="25" name="racername"> into your template. Make sure the input field is inside of the form tag otherwise it will not be submitted!
Then catch the $_POST['racername'], sanitize it and do whatever you want using the appropriate PHP code.

Regards Christoph
Logged

dellington

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #686 on: February 27, 2010, 02:52:12 PM »
Could you say a little more about this:

Quote from: freeSbee on February 27, 2010, 02:36:50 PM
Then catch the $_POST['racername'], sanitize it and do whatever you want using the appropriate PHP code.

Which files would I edit? The save_attribute.php one?
Logged

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #687 on: February 27, 2010, 03:01:18 PM »
Quote from: dellington on February 27, 2010, 02:52:12 PM
Which files would I edit? The save_attribute.php one?
view.php is a good starting point. Other files involved will be included - just have a look into the code. It is well commented.

Regards Christoph
Logged

dellington

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #688 on: February 27, 2010, 03:49:14 PM »
Sorry, I haz the dum. I tried to make that work and only broke the cart.  :-(

I fixed it back the way it was and now it works again.

I'm wondering if it might be easier to hijack one of the existing fields I'm not using? For example I am not using the sku field. I see that it gets inserted into the mod_bakery_order table.

Could I name my racername field to sku and then do some post thing to get it inserted into the database?

Then I could make use of the existing template strings that would display the sku field in the order details and confirmation emails.

Does that make any sense?
Logged

dellington

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #689 on: February 27, 2010, 06:25:55 PM »
I have modified the page settings template to include:

Code: [Select]
Racer's full name: <input type="text" size="25" name="racername">
I have updated the language file as follows:

Code: [Select]
$MOD_BAKERY['TXT_SKU'] = 'Racer\'s Name';
Line 239 of the view.php file originally says this:

Code: [Select]
$sku = $row2['sku'];
My understanding of that area of code is that it is collecting the item's sku # from the mod_bakery_items table and then inserting it into the mod_bakery_order table.

I would like instead for view.php to get the value for the sku field from the racername input field in my current order. I tried changing line 239 to this:

Code: [Select]
$sku = $_POST['racername'];
but it doesn't work - the sku field in the database is still blank.

It seems like this should work and I am just missing a small step somewhere. Any help?
Logged

SickBoy75

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #690 on: February 28, 2010, 04:08:56 PM »
I made a few changes in this module, in order to add a few SEO improvements.

1.- Changed the default item directory (/bakery/ by default) to a php variable, so i can change that dir to /shop/, /buy/, or something is related to the shop.

2.- Added a keywords field, so you easy can add keywords.
So I use "simplypagehead" snipet to change the head of every item page, adding a better title and keywords

NOTE: I made changes in simplypagehead in order to get the keywords from the shop items.

If someone likes this, or you plan to include it in future bakery version, I would post the zip with the changed files. I just want to return to WebsiteBaker my modest contribution.

I'm spanish, be patient with my english
Logged

Offline zonathen

  • Posts: 6
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #691 on: March 08, 2010, 02:59:54 AM »
Thanks for wonderful module.

When I upload with resize option it seems to be rotating the image 90 degrees to the left so the image is sideways when displayed.  I looked at the code and didin't see anything obvious in resize functions.  Anybody else experiencing this behaviour with resizing images on upload?
Logged

SickBoy75

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #692 on: March 08, 2010, 02:46:16 PM »
Is there a way to skip/avoid the address validation in the shop form??

I need to validate address like "Monterrey nº2" and the º gives an error.

Also, á, é, í, ó, ú, ñ, ü, /,  etc... will return the address error.

I'm searching for the validation code in the php files, but can find it.

thanks a lot
Logged

SickBoy75

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #693 on: March 08, 2010, 03:00:44 PM »
Quote from: Claren on February 11, 2010, 02:23:56 PM
Quote
What charset encoding did you set as WB default charset (advanced options of the general WB settings)?
What charset encoding did you use to save your SE localisation file?

Regards Christoph

UTF-8 in Website baker.

Eehh, localisation files?
In the comment on top of SE.php it says
"This file is saved using charset iso-8859-1.
  If utf-8 is set as WB default charset, some iso-8859-1 encoded localisation strings
  will be automatically converted to utf-8."
I didnt tamper with that. Just loaded the EN files, translated them and saved as SE.


I'm having the same problem, many of my spanish cutomers can validate their orders because of this.

I need to add special chars to de validate function, but can't find it
Logged

SickBoy75

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #694 on: March 08, 2010, 04:17:44 PM »
Found it!!!!

Just edit your lang php file, ie ES.php and find this:
// MODUL BAKERY ADDITIONAL CHARS
// Define additional chars to be accepted by the customer address form.
// The chars should be corresponding to the localisation language.

Add your especial chars in this line
$MOD_BAKERY['ADD_REGEXP_CHARS'] = 'Á,É,Í,Ó,Ú,á,é,í,ó,ú,ñ,Ñ,ç,º,ª';

Works like it should ;)
Logged

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #695 on: March 09, 2010, 10:54:21 AM »
Quote from: zonathen on March 08, 2010, 02:59:54 AM
Thanks for wonderful module.

When I upload with resize option it seems to be rotating the image 90 degrees to the left so the image is sideways when displayed.  I looked at the code and didin't see anything obvious in resize functions.  Anybody else experiencing this behaviour with resizing images on upload?
Probably you are locally viewing your images in a (smart) viewer that will autorotate based on the camera orientation information in the image.
Before upload, just be sure your image is really rotated corectly.
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline westonjeff

  • Posts: 13
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #696 on: March 10, 2010, 03:42:34 PM »
Need to test with PayPal's Sandbox system

I've tried revising line #27 in "payment_methods\paypal\check_payment.php"  from "false" to "true" but orders still get directed to www.paypal.com instead of www.sandbox.paypal. com
 
// Use payment gateway sandbox for testing
$testing  = false;

I see later in the file the following:
$pdt_url = $testing ? 'www.sandbox.paypal. com' : 'www.paypal.com';

Not being a seasoned PHP programmer, I appreciate any help you experts can provide.

Couldn't find anything on http://www.bakery-shop.ch/ or here . .  .

Thanks in advance for any help, and for a great module!!
Logged

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #697 on: March 10, 2010, 08:51:11 PM »
Hi Westonjeff

Quote from: westonjeff on March 10, 2010, 03:42:34 PM
Need to test with PayPal's Sandbox system

I've tried revising line #27 in "payment_methods\paypal\check_payment.php"  from "false" to "true" but orders still get directed to www.paypal.com instead of www.sandbox.paypal. com

Due to a lack of a config file you have to set it 3 times:

Set $testing = false; to $testing = true; at...
  • payment_methods/paypal/processor.php line 26
  • payment_methods/paypal/check_payment.php line 27
  • payment_methods/paypal/ipn.php line 29

If you like to get detailed information on the PayPal IPN (Instant Payment Notification) testing transaction to a special email account specify a testing email address at payment_methods/paypal/ipn.php line 30.

Regards Christoph
Logged

Offline westonjeff

  • Posts: 13
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #698 on: March 10, 2010, 09:22:05 PM »
Revised three files as suggested, and order now went to Paypal's sandbox as hoped, but . . .

#1 -- Order detail didn't display at PayPal, just a total order amount. I'll look around, but wonder how I can get order detail to display on Paypal page(s).

#2 -- Upon return to test store, Bakery informed me "Payment status or payment method is not defined."

#3 -- Didn't receive email notifications from Bakery or Paypal.

More help would be *much* appreciated if time permits . . . thank you!

« Last Edit: March 10, 2010, 09:25:29 PM by westonjeff »
Logged

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #699 on: March 10, 2010, 10:05:09 PM »
@ westonjeff

Quote from: westonjeff on March 10, 2010, 09:22:05 PM
Revised three files as suggested, and order now went to Paypal's sandbox as hoped, but . . .
#1 -- Order detail didn't display at PayPal, just a total order amount. I'll look around, but wonder how I can get order detail to display on Paypal page(s).
True, no order details are sent to PayPal by Bakery, just the order total amount.

Quote from: westonjeff on March 10, 2010, 09:22:05 PM
#2 -- Upon return to test store, Bakery informed me "Payment status or payment method is not defined."
#3 -- Didn't receive email notifications from Bakery or Paypal.
Login to your PP sandbox account to get further information on the payment status and to see the PP emails (no real emails are sent by the sandbox). Bakery just sends email notifications if the transaction payment status returned by PayPal is "Completed".

Regards Christoph
Logged

  • Print
Pages: 1 ... 26 27 [28] 29 30 ... 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