Welcome, Guest. Please login or register.
Did you miss your activation email?
February 11, 2012, 10:17:04 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
149599 Posts in 21097 Topics by 7538 Members
Latest Member: lotte2
* Home Help Search Login Register
Pages: 1 ... 26 27 [28] 29 30 ... 34   Go Down
Print
Author Topic: Bakery: Small Shop Module (ORIGINAL TOPIC)  (Read 136874 times)
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4751



« Reply #675 on: February 08, 2010, 09:28:35 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

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1680



« Reply #676 on: February 08, 2010, 10:50:07 PM »

not so far.. Smiley
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
terrajohn

Offline Offline

Posts: 43


« 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

Offline Offline

Posts: 9


« 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

Offline Offline

Posts: 23


« 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
Moderator
**
Offline Offline

Posts: 729


WWW
« 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

Offline Offline

Posts: 23


« Reply #681 on: February 15, 2010, 03:13:58 PM »

Thanks freeSbee, with your guidance I managed to get it working  wink

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.

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

Offline Offline

Posts: 53


« Reply #682 on: February 19, 2010, 04:39:42 PM »

hello to all,
the translation in Italian for v 1.5 cheesy,




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

thanks
« Last Edit: February 19, 2010, 04:48:57 PM by ghost06 » Logged
freeSbee
Moderator
**
Offline Offline

Posts: 729


WWW
« 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

Offline Offline

Posts: 86


« Reply #684 on: February 25, 2010, 07:43:46 PM »


@jollylama

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:
[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
Moderator
**
Offline Offline

Posts: 729


WWW
« 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:
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

Offline Offline

Posts: 86


« Reply #686 on: February 27, 2010, 02:52:12 PM »

Could you say a little more about this:

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
Moderator
**
Offline Offline

Posts: 729


WWW
« Reply #687 on: February 27, 2010, 03:01:18 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

Offline Offline

Posts: 86


« 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.  sad

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

Offline Offline

Posts: 86


« Reply #689 on: February 27, 2010, 06:25:55 PM »

I have modified the page settings template to include:

Code:
Racer's full name: <input type="text" size="25" name="racername">

I have updated the language file as follows:

Code:
$MOD_BAKERY['TXT_SKU'] = 'Racer\'s Name';

Line 239 of the view.php file originally says this:

Code:
$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:
$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

Offline Offline

Posts: 16


« 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
zonathen

Offline Offline

Posts: 6


« 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

Offline Offline

Posts: 16


« 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

Offline Offline

Posts: 16


« Reply #693 on: March 08, 2010, 03:00:44 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

Offline Offline

Posts: 16


« 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 Wink
Logged
Ruud
Board member
WebsiteBaker Org e.V.

Online Online

Posts: 2088



WWW
« Reply #695 on: March 09, 2010, 10:54:21 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

Professional WebsiteBaker Developer
westonjeff

Offline Offline

Posts: 11


« 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
Moderator
**
Offline Offline

Posts: 729


WWW
« Reply #697 on: March 10, 2010, 08:51:11 PM »

Hi Westonjeff

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
westonjeff

Offline Offline

Posts: 11


« 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
Moderator
**
Offline Offline

Posts: 729


WWW
« Reply #699 on: March 10, 2010, 10:05:09 PM »

@ westonjeff

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.

#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
Pages: 1 ... 26 27 [28] 29 30 ... 34   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!