Page 15 of 17

Re: Modified version of the WB Webshop!! Webshop_plus

Posted: Thu Dec 23, 2010 11:40 pm
by Navaldesign
@ wacmaster: if you click on the View Cart, you will see:

Sub Total, €: 29.95
Taxes, €: 5.99
Discount, €: 0.00
Net Total, €: 35.94
Shipping, €: 8.00
Grand Total, €: 43.94

Which explains the amount.

Please note that the cart content appearing like this, is an extra that I have built in the demo but it is NOT included in the script you can download.

Re: Modified version of the WB Webshop!! Webshop_plus

Posted: Fri Dec 24, 2010 6:09 am
by Navaldesign
Yes, you must upload the files on the server, but first, you need to READ the instructions. Everything is already included in the manual.

There is no meaning in asking questions online if you have all necessary instructions in the manual. Just open the Webshop Plus manual and read it please.

Re: Modified version of the WB Webshop!! Webshop_plus

Posted: Fri Dec 24, 2010 12:00 pm
by wacmaster
mrgreen3000 wrote:HEY wacmaster, i saw your site its pretty nice but how do you get your contact form to work because i have no clue how..
Do you want to know how to get the form to send to your e-mail or how to set up the required fields?
To get the form to send right click the form area and select form properties.Replace this yourname@yourdomain.com with your email address in the actions area.
If you want you can use the built in PHP form but that requires a MySQL database user and password, plus PHP installed on your server.
To get just a simple form to send to your email like a hotmail just use the reg setup. (no database)

To get the form to validate the entered data. (so no-one spams your email, by just clicking submit 1000s of times), right click your editbox - select properties - select validate - the rest should be easy to understand. Just select a data type..like if the box was for email validate you should click email in the drop down menu - here you can also set a data match and data length requirement.


Hope that helps,
Rod

More info can be found here for basic form setup:
http://www.cswebs.org.uk/videos/web_bui ... asic-1.wmv

Re: Modified version of the WB Webshop!! Webshop_plus

Posted: Mon Jan 17, 2011 8:23 pm
by Patrik iden
HI, i cant find Swedish lang in admin?
I get a blank page when i click add to cart?

link: http://test3.fcab.se/webshop2/cart

Re: Modified version of the WB Webshop!! Webshop_plus

Posted: Mon Jan 17, 2011 8:56 pm
by Navaldesign
Patrik iden wrote:HI, i cant find Swedish lang in admin?
I get a blank page when i click add to cart?

link: http://test3.fcab.se/webshop2/cart
1. What do you mean "Swedish Language" ??

2. Did you setup the cart, through the Admin area ? Especially the Shipping Areas ?

If not, the cart will not work.

Re: Modified version of the WB Webshop!! Webshop_plus

Posted: Tue Jan 18, 2011 11:02 am
by Patrik iden
Swedish lang in: Administration login details

Re: Modified version of the WB Webshop!! Webshop_plus

Posted: Tue Jan 18, 2011 3:10 pm
by Navaldesign
I still don't understand what you mean.

There is no language selection in the Admin area, so pls clarify what you mean.

IF you mean how to transform messages, titles etc in Swedish, pls click on "Script Details" and provide (in the fields) the Swedish translation of the messages / labels

Re: Modified version of the WB Webshop!! Webshop_plus

Posted: Tue Jan 18, 2011 6:32 pm
by Navaldesign
The cart page will be blank until you set the shipping areas : -> Admin Area -> Shipping Areas

Re: Modified version of the WB Webshop!! Webshop_plus

Posted: Tue Jan 18, 2011 9:26 pm
by Patrik iden
Hi, i have all the shipping info set to no shipping.


i will try to reinstall it.

Re: Modified version of the WB Webshop!! Webshop_plus

Posted: Wed Feb 02, 2011 1:29 pm
by kevinp
Hi Naval

I have a customer who wishes to produce a printable invoice as well as the confirmation emails. I was looking at the script and the mails seem to be controlled from the 'thankyou' page so this leads me to think that I could simply alter the 'function SendEmail' section to send the merchant email in HTML format (in the form of an invoice). But I just want to check the solution below.

Would it be possible to tweak the form on the Thankyou page and include the form processor to add the details to a database that can then be used to print invoices. Looks possible but not sure if the two code sets will interact together.

I'm going to try it out this evening and just wondered if you could see any obvious problems I've missed.

I've also heard a lot about your Pro cart version and wondered if this is a feature available within it. It may be worth sugesting this route to the client.

Cheers

Kevinp

Re: Modified version of the WB Webshop!! Webshop_plus

Posted: Wed Feb 02, 2011 2:38 pm
by Navaldesign
kevinp wrote:Hi Naval

I have a customer who wishes to produce a printable invoice as well as the confirmation emails. I was looking at the script and the mails seem to be controlled from the 'thankyou' page so this leads me to think that I could simply alter the 'function SendEmail' section to send the merchant email in HTML format (in the form of an invoice). But I just want to check the solution below.

Would it be possible to tweak the form on the Thankyou page and include the form processor to add the details to a database that can then be used to print invoices. Looks possible but not sure if the two code sets will interact together.

I'm going to try it out this evening and just wondered if you could see any obvious problems I've missed.

I've also heard a lot about your Pro cart version and wondered if this is a feature available within it. It may be worth sugesting this route to the client.

Cheers

Kevinp
Hi Kevin

I have already used the form processor to send emails in HTML format as well as storing info in the database for a customer of mine that wanted a simple solution (but yet with HTML email and DB storage)

So the answer is yes although there is some (small) complications: you need to set the $_SERVER['REQUEST_METHOD'] to POST (otherwise the processor will not send any email) and you also need to create a dynamic template for the admin and the auto email (not the standard email templates that come with the DBTS Form Processor)

You can see this at http://dbtechnosystems.com/wb7/webshop_quote3

It has mixed english/dutch text . Go all the way to the end, and then click on the Submit offer button (as, in this case, it was optional) to receive the HTML email and see how it looks.


My Pro cart is database driven and has many features like Stock control, downloadable products, automatically created catalogues (full or per category), search feature, automatic or manual product page creation, customer registration in the database, shipping methods / calculations, mailer, members area, product thumbs in the cart and catalogues, and more. Of course, HTML email and Database storage of Orders, order details, and customer details, as well as Payment details (received from PayPal) is standard. Many of these features are optional and only available on customers request. However, being a cart that has a very limited market, it is custom made and as such it costs some mone.

You can se eit in action on Steve's site

Re: Modified version of the WB Webshop!! Webshop_plus

Posted: Fri Feb 04, 2011 3:09 pm
by kevinp
Hi Naval

I've decided to go with sending the Emails as html. Seems to fit clients needs better (he wants simple unlike his last cart) I've started by trying to define a table with the code below. I'm not a php guru but learning. I'll post (hopefully my solution) when I'm done.

Code: Select all

// create mail message to merchant
$subject = $mail_merchant_subject;
$title = $mail_merchant_title;
$footer = $mail_merchant_footer;
SendEmail($dbts_contactemail, $subject, $title, $orderid, $timestamp, false, $mail_merchant_footer);

function SendEmail($mailto, $subject, $title, $orderid, $timestamp, $maskcardno, $footer)

{
require 'admin/config.php';
require 'admin/paypal_settings.php';
   $header  = "From: ".$GLOBALS['dbts_title']."<".$GLOBALS['paypal_email'].">"."\r\n"; 
   $header .= "Reply-To: $paypal_email"."\r\n"; 
   $header .= "MIME-Version: 1.0"."\r\n"; 
   $header .= "Content-Type: text/plain; charset=ISO-8859-1"."\r\n"; 
   $header .= "Content-Transfer-Encoding: 8bit"."\r\n"; 
   $header .= "X-Mailer: PHP v".phpversion(); 


   //New Code--------------------------------------------------------------------------------

// message
$message = '
<html>
<head>
<title>Invioce</title>
</head>
<body>

<table width="642" border="1" cellpadding="1" 
cellspacing="1" bordercolor="#000000">
<tr>
$message = "<td width="210">$title:</td>
</tr>
$message = "<td width="419">$alpha." $orderid " </td>"
$message = "<td width="419">$order_date_label." $timestamp " </td>"
$message = "<td width="419">$customer_info_label."." </td>"
</tr>
etc, etc, etc.

Steve. Its my wifes site but I do most of the marketing etc. If you just send a message through the contact form http://www.aivahealth.co.uk/contact.php.

Cheers

Re: Modified version of the WB Webshop!! Webshop_plus

Posted: Fri Feb 04, 2011 3:34 pm
by Navaldesign
Kevin,

your email header is wrong, as you need to send HTML email (not text/plain)

You can NOT do his in simple HTML, as you need to create a PHP loop, to loop through products and create as many table rows as the products themselves.

If you wish, contact me through my sitecontact form and I will send you the code I used for the html template so you can use it in your own code.

Re: Modified version of the WB Webshop!! Webshop_plus

Posted: Fri Feb 04, 2011 4:28 pm
by kevinp
Ahh. I had changed the header but the code I posted was not up to date.

I see what you mean about looping. I will contact you Naval. That would be very helpfull. Thank you.

Cheers

Kevinp

Re: Modified version of the WB Webshop!! Webshop_plus

Posted: Wed Feb 09, 2011 9:11 pm
by Navaldesign
Yes, it will show, pls read the documentation, and look at the example product form that is included in the example project.