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 ... 7 8 [9] 10 11 ... 34   Go Down

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

terrajohn

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #200 on: July 29, 2008, 10:10:11 AM »
I would like to use this module as a catalogue and not as a webshop. Is it possible not to show add to my cart, looking at my cart,...
Logged

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #201 on: July 29, 2008, 10:42:42 AM »
@terrajohn
Yes, just do not include them in the templates (General Setttings).

But there is a catalog module as well. You might have a look at the catalog thread in the WB forum:
https://forum.WebsiteBaker.org/index.php/topic,1463.msg8821.html#msg8821

Regards Christoph

Logged

Geek

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #202 on: August 02, 2008, 08:38:15 PM »
Any good coder able to get Authorize.net payment gateway to work with this? I have looked at it some but not sure how to integrate into this. Here is a link to authorize.net on using the SIM method, its the best one because the user does not have to get SSL --- http://developer.authorize.net/guides/SIM/
Logged

rrjbeans

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #203 on: August 02, 2008, 09:26:56 PM »
Quote from: freeSbee on July 20, 2008, 10:43:35 PM
Quote from: rrjbeans on July 20, 2008, 10:21:26 PM
Is there a way to have the admin get a different order confirmation than the customer.

Hi rrjbeans

No, it is the same and it is not modifiable in the bakery settings.

But if you like to it should not be a problem to modify the code slightly. Have a look into:
view_summary.php => look for the "// CONFIRMATION E-MAILS AND INVOICE" comment
view.php => look for the "// PAYMENTS, SHOW CONFIRMATION AND SEND E-MAIL" comment

Regards Christoph
Thanx.

1 more question...

Wondering if there is a way to have an attribute/option for a product and have the customer type their response.
Logged

Offline Luckyluke

  • Posts: 556
  • Gender: Male
  • Let's Rock
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #204 on: August 03, 2008, 10:00:02 PM »
Hi,

Is it possible to have  2 different shops on 1 site? Of course, on other pages but within 1 site.

Grtz,
Luc
Logged

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #205 on: August 04, 2008, 10:47:42 AM »
Quote from: Luckyluke on August 03, 2008, 10:00:02 PM
Is it possible to have  2 different shops on 1 site? Of course, on other pages but within 1 site.

Hi Luc

Not by default.

Try this: Rename the module Bakery to another name, eg. first shop is called "bakery" and second shop you could call "bakery_1" or "bakery_fr" or whatever makes sense to you.
Keep in mind you have to rename the directory itself AND all module names in the code of ALL files where ever they occur!

Good luck!
Regards Christoph
Logged

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #206 on: August 14, 2008, 06:14:43 PM »
[offtopic]

Hallo Christoph,

I created a banner for your module.
Maybe you like it.
If yes, please let me know so I can adjust it to your needs.

Best Regards,
Stefek

//Edit:
the second one (small) you can use for the beginning post in this thread if you like to.
[/offtopic]


[gelöscht durch Administrator]
« Last Edit: August 15, 2008, 03:18:26 PM by Stefek »
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 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 #207 on: August 14, 2008, 09:58:31 PM »
Quote from: Stefek on August 14, 2008, 06:14:43 PM
I created a banner for your module.

Cool!

Ruud
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Pam1234

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #208 on: August 16, 2008, 07:22:14 PM »
Your module is wonderful. I should have simply posted that simple statement before I had any questions... because it can be discouraging to work so hard on something and then hear mostly about the problems. "Your cart is great, but it doesn't make coffee..."  :wink:

I hope you know that we are all very thankful. I believe every single person who has tried Bakery would agree... even though some, like me, have been silent... YOU ROCK!! I am amazed that you would spend so much time giving back to the community.

Enough gushing. So you knew it was coming; here's my question. I ship to US and international customers but am finding that the zip code field is always "required." A customer can't put anything in the field other than numbers so can't just type in "none" or leave it blank or whatever. I searched the view_form.php file but can't seem to grasp what is generating the error message. Can you steer me in the right direction? I'm not a PHP or Javascript coder.

Forgive me for not telling you prior to this what a great module you have freely provided for us. I simply love it.

Pam

Logged

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #209 on: August 16, 2008, 08:51:16 PM »
Quote from: Pam1234 on August 16, 2008, 07:22:14 PM
I ship to US and international customers but am finding that the zip code field is always "required." A customer can't put anything in the field other than numbers so can't just type in "none" or leave it blank or whatever. I searched the view_form.php file but can't seem to grasp what is generating the error message. Can you steer me in the right direction?

Hi Pam

Thanks for all your encouraging words!

The file you are seeking for is called view.php.

Line 349 et sqq. check for blank fields. You could exclude the zip field by coding something like:
    if ($value == "" AND $field != "zip") {

Line 422 et sqq. check the zip code. Allowed are at least 4 and up to 10 chars a-z, A-Z, space, - (hyphen) and all digits 0-9, so "none" should be ok to enter.

Hope this helps!
Regards Christoph

Logged

Pam1234

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #210 on: August 16, 2008, 09:08:34 PM »
Quote from: freeSbee on August 16, 2008, 08:51:16 PM
The file you are seeking for is called view.php.

Line 349 et sqq. check for blank fields. You could exclude the zip field by coding something like:
    if ($value == "" AND $field != "zip") {

Line 422 et sqq. check the zip code. Allowed are at least 4 and up to 10 chars a-z, A-Z, space, - (hyphen) and all digits 0-9, so "none" should be ok to enter.

Wow, that was fast. It works great. Thanks!

Logged

johnp

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #211 on: August 18, 2008, 08:38:16 PM »
I guess I have the same question as geek

Quote
Any good coder able to get Authorize.net payment gateway to work with this? I have looked at it some but not sure how to integrate into this. Here is a link to authorize.net on using the SIM method, its the best one because the user does not have to get SSL

Is it possible to add payment gateways like
http://www.authorizenet.com/
https://www.2checkout.com
http://www.chronopay.com/
http://www.ipayment.de/
http://www.paynova.com/
http://www.psigate.com/
http://www.secpay.com/
http://www.trustcommerce.com/


to what I see as a good module going places but using paypal is not my payment gateway of choice!

I would think I am not the only one asking this but a flavor of payment gateways could do justice for this module..

JP
Logged

Offline sparkdigital

  • Posts: 366
  • Once a baker, always a baker!
    • romantic hotels
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #212 on: August 20, 2008, 10:27:58 AM »
Hi Freesbee,

Thanks again for all your hard work!

I'm just wondering if it is possible to send a slightly altered email to the shop owner - my client is a bit confused when it receives a copy of the confirmation / invoice sent to the customer.

How would I do this?

Thanks,

Konrad
Logged

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #213 on: August 20, 2008, 11:21:21 AM »
Hi Konrad

Ok, here you go (just a suggestion - not tested):

1.
Write the email body text into a new file you could call shop_email.php using a php var like
$shop_email_body_advance = 'Here goes your email body text.';

2.
If you need a different subject make another var for it
$shop_email_subject_advance

3.
If you need different texts depending on the payment methode make other vars like
$shop_email_body_paypal
$shop_email_subject_paypal
$shop_email_body_invoice
$shop_email_subject_invoice


4.
Upload the file by ftp into the bakery directory.

5.
Include your new file shop_email.php into view.php and replace the appropriate $_SESSION vars in the mail() function (about lines 573, 586, 599) by your new ones:

E.g. replace

@mail($setting_shop_email, $_SESSION['email_subject_advan ce'], $_SESSION['email_body_advance'], $_SESSION['email_headers_shop']);

by ( => step 1 w/o step 2 implemented only)

include('shop_email.php');
@mail($setting_shop_email, $_SESSION['email_subject_advan ce'], $shop_email_body_advance, $_SESSION['email_headers_shop']);


else by ( => step 1 and step 2 implemented)

include('shop_email.php');
@mail($setting_shop_email, $shop_email_subject_advance, $shop_email_body_advance, $_SESSION['email_headers_shop']);


6.
Use the same code again for replacing the 2 lines

@mail($setting_shop_email, $_SESSION['email_subject_paypa l'], $_SESSION['email_body_paypal'], $_SESSION['email_headers_shop']);

@mail($setting_shop_email, $_SESSION['email_subject_invoi ce'], $_SESSION['email_body_invoice'], $_SESSION['email_headers_shop']);

If you have implemented step 3 repeat step 5 using the other vars defined in step 3 and replace the 2 lines above by the appropriate code.

Your done...

7.
Let us know about problems / errors / success!

Regards Christoph

Logged

Offline sparkdigital

  • Posts: 366
  • Once a baker, always a baker!
    • romantic hotels
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #214 on: August 20, 2008, 12:38:23 PM »
Thanks Christoph,

I'll try and let you know how I get on.

Konrad
Logged

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #215 on: August 23, 2008, 10:20:51 PM »
Quote from: johnp on August 18, 2008, 08:38:16 PM
Is it possible to add payment gateways like
http://www.authorizenet.com/
https://www.2checkout.com
http://www.chronopay.com/
http://www.ipayment.de/
http://www.paynova.com/
http://www.psigate.com/
http://www.secpay.com/
http://www.trustcommerce.com/

@johnp

Hi John
At the moment I am not thinking about including new payment gateways.

I don't know the listed payment gateways. But if there is one accepting payment information by $_POST vars it shouldent be that complicated to modifiy the hidden paypal form in the view_pay.php file to fit other payment gateways than paypal.

Just modify the action url and the names of the hidden input fields which are self-explanatory.

Regards Christoph
Logged

craighamnett

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #216 on: August 23, 2008, 11:11:55 PM »
Is it just me or does this not calculate the shipping cost of each individual product?

All my settings appear to be correct (I've adjusted the free shipping to over 200.00 too)

[edit] fixed below ;)
« Last Edit: August 23, 2008, 11:22:35 PM by craighamnett »
Logged

craighamnett

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #217 on: August 23, 2008, 11:19:42 PM »
I fixed the problem... the adding of shipping for individual items seems to be completely missing:

Line 140 of view_cart.php

Code: [Select]
$total = $items[$i]['quantity'] * $items[$i]['price'];
Change to:

Code: [Select]
$total = $items[$i]['quantity'] * ($items[$i]['price'] + $items[$i]['shipping']);
Hope this helps people, and if I've missed something completely n00bish please let me know.

Craig :)
Logged

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #218 on: August 24, 2008, 02:06:54 PM »
Hi Craig

Bakery cart AND Bakery summary page show shipping per item of ONE product only - as you have detected. But it is calculated correctly in the shipping total of all ordered products.

See view_cart.php (line 108):
Code: [Select]
// Determine shipping sum of all items specified
for($i = 1; $i <= sizeof($items); $i++) {
    $shipping_sum[] = $items[$i]['shipping'];
}
$shipping_sum = array_sum($shipping_sum);

Now, if you want to display the shipping subtotal of an ordered product, modify the view_cart.php AND view_summary.php files in the way you have mentioned in your post above.

Regards Christoph
Logged

Offline StefanRSA

  • Posts: 97
  • Gender: Male
  • Just Me... Baking...
    • THE HOST
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #219 on: August 28, 2008, 04:32:15 PM »
Hi freeSbee... I must say... I am new to PhP, MySql and dicovered WebsiteBaker... EVERY DAY I am learning more from Website baker than I learnt in PhP/MySql Manuals!!!! YOUR BAKERY BAKES MASSIVE SWEETCAKES!!!!!

I am implementing the Bakery Module but need to make some changes and am not too sure how...

PLEASE be so kind to assist me or to put me into the right direction.....

How can I make the Item Price editable for the user....?
I want, for instance, advertize a service. This service will be billed to a client at an daily rate...The client will then get a total to pay with a ref number.
I want to give them the option to go to the website and make a payment thru PayPal or any other PayGate system... He will then have to go onto the site, go to the specific service page, enter amount and referance number for the specific job.....

Is it possible and if so, what and where should I make changes?

PLEASE HELPPPPPPPPP!
(Found the answer to the PayPal question but the editable prices still outstanding........ :-()
« Last Edit: September 01, 2008, 04:00:04 PM by StefanRSA »
Logged
How can the sky be the limit? There is much more behind the sky!!!

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #220 on: September 01, 2008, 09:19:27 PM »
Quote from: StefanRSA on August 28, 2008, 04:32:15 PM
How can I make the Item Price editable for the user....?

Hi Stefan

This does not make sense to me!
I think it would be more reasonable to use a donation service of any payment gateway to aim for it. Do not flog a dead hors using Bakery for this goal.

But if you think you really have to, replace the item price by a <input type="text" ... /> tag in the item footer template which you can modify in the page settings of Bakery.

Regards Christoph

Logged

Offline StefanRSA

  • Posts: 97
  • Gender: Male
  • Just Me... Baking...
    • THE HOST
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #221 on: September 01, 2008, 09:52:29 PM »
Hi Christoph.

Sorry if I didn't make myself clear... Let me try from another direction....

What should I do if I want a webuser to enter his own amount he wants to pay for each product...
In other words. If I have captured the product, the price will only be a sugested price to be paid...
If I place the <input type="text" ..../> tag in the Page settings, should it be in the "Product (Footer)" section as well as in the "Page (Product-Loop)" section??? Where exactly should I put it to make sure it is sent to the admin side as well as the payment gateway???

The bakery module is the only module that does the order admin as well...
I am sure I can manipulate the module to work the way I want but need for the web user to be able to enter his own price. If <input type ="text" ..../> tag works I am happy...

Thanks!!!
« Last Edit: September 02, 2008, 09:33:11 AM by StefanRSA »
Logged
How can the sky be the limit? There is much more behind the sky!!!

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #222 on: September 02, 2008, 01:42:48 PM »
Quote from: StefanRSA on September 02, 2008, 09:34:36 AM
If I place the <input type="text" ..../> tag in the Page settings, should it be in the "Product (Footer)" section as well as in the "Page (Product-Loop)" section??? Where exactly should I put it to make sure it is sent to the admin side as well as the payment gateway???

If you want to have it in the item overview page as well, of course you have to replace it in the "Page (Product-Loop)". Then fetch and clean the added $_POST values and save them in the "price" field of the "mod_bakery_order table" and so on...

Regards Christoph
Logged

Offline StefanRSA

  • Posts: 97
  • Gender: Male
  • Just Me... Baking...
    • THE HOST
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #223 on: September 02, 2008, 02:43:32 PM »
Would this mean I need to change the php all over the site or just in the view.php?
Logged
How can the sky be the limit? There is much more behind the sky!!!

seagull

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #224 on: September 02, 2008, 06:21:45 PM »
Hello,

Does anyone know if it's possible to use Ideal as payment gateway?

In Holland 7 of 10 webpayments are done with Ideal.

thanks, Jan
Logged

  • Print
Pages: 1 ... 7 8 [9] 10 11 ... 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