Webshop Plus! v.2.0 for WWB7

This forum is dedicated to discussions about shopping carts/ecommerce.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

It can be done both with the Webshop Plus (where of course you will need to change a bit the PayPal part, since this is an Order with No Payment options) or with a specifically made orderform
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

If someone can enter your admin area to change your PayPal settings, he can also change the email address. So you will never know of the change, even if such an automated email routine is present.
www.dbtechnosystems.com
User avatar
madebyibloo
 
 
Posts: 371
Joined: Fri Mar 27, 2009 3:58 pm
Location: East Yorkshire, United Kingdom
Contact:

Re: I cant install this exten?

Post by madebyibloo »

gp2727 wrote:
llauderes2185 wrote:where is the WBX file??
The download location is on the first post here: viewtopic.php?t=16668
This is not an extension you install, more like an application you upload to your web host and configure their.
Hi, I cannot see the download location anywere on the first post, can you point me in the right direction please?

all I see is this 'See example page “product1â€' at the bottom of the post.



Cheers,
Scott
Cheers,
Scott


www.madebyibloo.com - a creative design studio.
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by Navaldesign »

Seems like the data migration to the new forum has cut off a part of my original post.

Here is the link: http://www.dbtechnosystems.com/wb6/webshop2.zip
www.dbtechnosystems.com
User avatar
madebyibloo
 
 
Posts: 371
Joined: Fri Mar 27, 2009 3:58 pm
Location: East Yorkshire, United Kingdom
Contact:

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by madebyibloo »

Thanks naval, yeh i thought that too, appreciate it.

p.s I'm still gonna be intouch regarding the idc, am just sorting some stuff out.



Cheers,
Scott.
Cheers,
Scott


www.madebyibloo.com - a creative design studio.
User avatar
Patrik iden
 
 
Posts: 479
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by Patrik iden »

Hi, have you includedthe minicart in product page in your download yet?
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by Navaldesign »

Hi,

This most probably means that the folder permissions don't allow file creation.

This might actually depend on the folder permissions, or it may be a restriction by your hosting company.

The folder permissions normally should be 755 and the folders within it should have permissions 644.

If the folder has 755 permissions and this issue is only relevant to installation of Webshop, you can try this:

Go in the page where you need to make changes in the settings.

Then before actually submitting, connect with FTP and change the permissions of the entire folder in 777.
Submit the form

Then turn again the folder permissions to 755 and see if everything works fine.
www.dbtechnosystems.com
User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by kevinp »

Hi Naval

The cart is briliant as usual but I've come accross a problem that seems confined to Australian websites. For all orders shipped within Australia a Sales Tax (GST) of 10% is charged but for orders outside Australia no tax is charged. Currently the cart can't do this but is there a way to maybe add a tickbox which would cancel out the tax on Recalculate with out a major code rebuild. Seems a daft question but before I start fiddling (and probably mess it all up) I just thought I'd see if I could get a few expert pointers.

Any pointers would be much appreciated.

Cheers

Kevinp
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by Navaldesign »

Hi Kevin,

This is exactly the same issue as US residents: US sites apply taxes ONLY to residents of the same state where the company is.
Whay you can do:
Set the tax to be 0.

Ad these lines :

if($shiptocountry == $origin_country){
$taxes = $subtotal * 10/ 100;
}

just after


if ($tax_type == "unique") {
$taxes = $subtotal * $unique_tax_percent / 100;
}


where 10 (or whatever else) is the applicable tax percent.
www.dbtechnosystems.com
User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by kevinp »

Thanks for that Naval. I'll give it a try. Your a lifesaver as allways.

kevinp
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by Navaldesign »

Since I can't really recall well, you might have to use

$ship_to_country

instead of $shiptocountry

Test as posted, if not working try the second.
www.dbtechnosystems.com
User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by kevinp »

It works brilliantly. Just had to remove the $ from the $10 as below:

if($shiptocountry == $origin_country){
$taxes = $subtotal * $10/ 100;
}

and it does the trick. Very handy to know for the future.

Thanks again, much appreciated.

kevinp
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by Navaldesign »

Sorry, too tired I suppose !!
www.dbtechnosystems.com
jeff11214
 
 
Posts: 59
Joined: Sat Oct 28, 2006 4:22 pm

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by jeff11214 »

Hi George, I have a question for ya.

I'm having a problem getting past the "Your shopping cart" page. If I have 1 product added to the cart and I click "Check out" I get an error message "Internet Explorer cannot display the webpage". If I have more then 1 product added to the cart and I click "Check out", then it will continue to the "Customer" page with no problem.

This part was working and I was able to get to the "Customer" page earlier, but I tried changing the "Recalculate" button label on the cart page to "Update" and saw it didn't work any longer so I changed it back to "Recalculate". Since then I can not get past the cart page with only 1 product in the cart. I have cleared my cache and republished my pages, but still no luck. Any ideas?

Thanks
Jeff
Last edited by jeff11214 on Mon Nov 22, 2010 2:22 pm, edited 1 time in total.
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by Navaldesign »

Iìm sorry but I have no explanation on why this is happening. I should see the page code, as it appears in WB when you go to View, Page HTML
www.dbtechnosystems.com
jeff11214
 
 
Posts: 59
Joined: Sat Oct 28, 2006 4:22 pm

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by jeff11214 »

I tried it on a different PC and it is working. I have no idea why this is happening... very strange.

Thanks
jeff11214
 
 
Posts: 59
Joined: Sat Oct 28, 2006 4:22 pm

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by jeff11214 »

Now using Firefox browser and here are some issues I hope you can help with:

On the "Complete your order" page (checkout.php)
can the "Order Now!" button go directly to PayPal and skip the thank you page (thankyou.php)?
-If not, can I change the value/label "Order Now!" button to show "Continue".

On the "Order completed" page (thankyou.php)
it shows "Your order has been successfully placed! A confirmation email has been sent to your email address.
Please proceed to payment so we can process your Order."
-But the PayPal button form is not showing. (nothing is showing)

On the "Customer Information" page (customer.php)
It looks like the only required field is the E-mail field and I would like to make all fields required.
-Can I simply change this in the editbox properties validate tab?

When the Order is completed an e-mail is sent to the customer showing the order details.
-Can this include the Paypal link to pay for the item?

In Firefox, some things don't display properly:
on the Customer Information page (customer.php), the "Previous" button shows the word "Page" below it.

And then on the next page "Complete your order" (checkout.php) same problem with the buttons:
"Previous" button shows the word "Page" below the button and the "Cancel" button shows the word "Order!" below the button.

Thanks for your help.
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by Navaldesign »

jeff11214 wrote:Now using Firefox browser and here are some issues I hope you can help with:

On the Complete your order page (checkout.php)
can the "Order Now!" button go directly to PayPal and skip the thank you page (thankyou.php)?
-If not, can I change the value/label "Order Now!" button to show "Continue".
Not at the moment. I will upload an updated version in a few days, where normal submit buttons will be replaced by advanced buttons (and the internal php code modified) so it will be possible to change the buttons wording.
On the Order completed page (thankyou.php)
it shows "Your order has been successfully placed! A confirmation email has been sent to your email address.
Please proceed to payment so we can process your Order."
-But the PayPal button form is not showing. (nothing is showing)
Did you modify the code ?
Or
Did you remove the payment method dropdown from the previous page ? If yes, no payment method is passed to the "thankyou" page and therefore the script doesn't display the PayPal button.
You will need to use the specific PayPal only pages that come with the zip and rename them (removing the "1" from the end of the page name.
On the "Customer Information" page (customer.php)
It looks like the only required field is the E-mail field and I would like to make all fields required.
-Can I simply change this in the editbox properties validate tab?
Yes.
When the Order is completed an e-mail is sent to the customer showing the order details.
-Can this include the Paypal link to pay for the item?
No. You would need to recreate the email code, to send HTML email with the same code as the PayPal button, otherwise the PayPal details (email address, Order ID, Amount, etc) can NOT be passed over to PayPal.
In Firefox, some things don't display properly:
on the Customer Information page (customer.php), the "Previous" button shows the word "Page" below it.
Just make the button larger in WB and publish again.
And then on the next page "Checkout" (checkout.php) same problem with the buttons:
"Previous" button shows the word "Page" below the button and the "Cancel" button shows the word "Order!" below the button.
Same as above.
www.dbtechnosystems.com
jeff11214
 
 
Posts: 59
Joined: Sat Oct 28, 2006 4:22 pm

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by jeff11214 »

On the Order completed page (thankyou.php)
it shows "Your order has been successfully placed! A confirmation email has been sent to your email address.
Please proceed to payment so we can process your Order."
-But the PayPal button form is not showing. (nothing is showing)
Did you modify the code ?
Or
Did you remove the payment method dropdown from the previous page ? If yes, no payment method is passed to the "thankyou" page and therefore the script doesn't display the PayPal button.
You will need to use the specific PayPal only pages that come with the zip and rename them (removing the "1" from the end of the page name.
On the previous page I did remove payment options which I see caused the problem. I'm now using the PayPal only pages that were included in the zip and that worked perfectly! Thank you!

Now when I click the "PayPal click here to pay" button:
-the PayPal page does not show an option to pay without a PayPal account. I don't want my customers to feel obligated to open a PayPal account.
-Am I missing something?

When the Order is completed an e-mail is sent to the customer showing the order details.
-Can this include the Paypal link to pay for the item?
No. You would need to recreate the email code, to send HTML email with the same code as the PayPal button, otherwise the PayPal details (email address, Order ID, Amount, etc) can NOT be passed over to PayPal.
Is this really difficult? Would you be able to give more information on how to do this? I think others on this site would have an interest in this as well.

Thanks for your quick response!
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by Navaldesign »

Payment through credit card without a PayPal account is an option that you set in your PayPal account, not in the cart. Set the "PayPal account Optional?" to yes.

HTML email: yes, it is rather complicated, because this is not a static mail, it is created on the fly depending on customer info and order info. The php code loops among the products to create the order details. You need to heavily modify the code.

I have created such a routine for a paying customer and it has taken me hours to create, finetune and test.
www.dbtechnosystems.com
jeff11214
 
 
Posts: 59
Joined: Sat Oct 28, 2006 4:22 pm

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by jeff11214 »

Thank you for your help. It's all coming together now.

May I make a suggestion: Can you include a 2nd error page?

On the Cart page, if an incorrect discount code is entered the Error page opens and you have a link to go back to the cart page which is perfect.

On the next screen, Customer information page, if you click continue and have an incorrect or missing E-mail then you can't go directly back to the Customer Information page. You have to first go to the cart page and continue from there.

I added a link on the error page to go back to the Customer Information page which works fine, but the problem is that link will also show if on the cart page an incorrect discount code is entered. Customer should not see the new link to go to Customer Information page at that point.
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by Navaldesign »

I understand your requests, however, this is a free script and as such it is delivered AS IS.

I can not afford the time or the efforts required to make such amendments. I will take all users comments into account when / if I make an update to the script.

All the issues you are mentioning are dealt with in my Pro cart, which, however, is a commercial (paid for) script.
www.dbtechnosystems.com
jeff11214
 
 
Posts: 59
Joined: Sat Oct 28, 2006 4:22 pm

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by jeff11214 »

I understand and I do appreciate all you have done.

Thanks!
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by Navaldesign »

In the "cart" page.

Double click the HTML box that displays the cart, find the reference lines and add the new code after them.
www.dbtechnosystems.com
jeff11214
 
 
Posts: 59
Joined: Sat Oct 28, 2006 4:22 pm

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by jeff11214 »

I'm in the final stages of going Live with my webshop2 cart. If I go through an order on my site I finally click the PayPal button and the next page displays "You cannot pay the seller through un-encrypted buttons".

I see my PayPal profile option to "Block Non-encrypted Website Payment:" is set to "On" which is why I'm getting that message. I do realize that it should work if I set this option to 'Off".

PayPal states:
Using encryption enhances the security of website payments by decreasing the possibility that a 3rd party could manipulate the data in your button code. If you plan on only using encrypted buttons you can block payments from non-encrypted ones.

My question is:
Should I be concerned that the PayPal button is not encrypted and can I change it so it is encrypted?

Thank you. And, I love the cart.. it's awesome!
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by Navaldesign »

No, you should not be concerned at all, because the thing is really simple: If the payment is not as it should, you simply don't ship the goods.

There COULD BE a concern if you were selling downloadable products and IF your automatic download script didn't perform the necessary verifications before allowing download.
www.dbtechnosystems.com
jeff11214
 
 
Posts: 59
Joined: Sat Oct 28, 2006 4:22 pm

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by jeff11214 »

But, can the customers information (name,address,phone number) be 'stolen' if sent via un-encrypted button?
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by Navaldesign »

Eveything can be stolen, but it is HIGHLY improbable because comunication with PayPal is through SSL.
Please also note that:

1. Customer details can NOT be sent through an encrypted button created on PayPal's site.
2. Webshop plus sends the customer details to PayPal to avoid the customer needing to re-type them.
If you use an encrypted button, he will have to type his details again.
3. If you don't mind them doing so, simply modify the HTML box code so that the UN-encrypted button of Webshop Plus will not send them anyway.

PayPal's comments on unencrypted buttons do NOT regard the customer details security, but your own, as all product details are stored on PayPal' server (and thus they can not be altered).
www.dbtechnosystems.com
jeff11214
 
 
Posts: 59
Joined: Sat Oct 28, 2006 4:22 pm

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by jeff11214 »

Thanks for the detailed explanation on Security. I just wanted to make sure I setup my part as a merchant correctly.

Regarding the Order Number:
In the Scipt Details of the Admin login, I changed the Order Start Number, but the order when placed still shows the default incremented by 1 which started at 100. After reading the entire thread, I also changed the "thankyou.php" start of page code ($order_start = "100";) to what I want, but that didn't change anything. Still shows the incremental by 1 number from 100
-If I can't make this my own order start number it's not the end of the world.

After the PayPal button is clicked, the PayPal page shows the order summary.
The description shows the company name and order number (which looks good).
Below that shows "item number: 111", where 111 is actually the order number. I realize this is PayPal's terminology, but I figured I would ask if you think this can be changed to show the word "order" instead of 'item'. I don't want to confuse the customer.

I'll try not to ask any more question after this :)
Thanks for all your help!!!!
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by Navaldesign »

If the Order nr doesn't change, probably the script can't write the order number to the file that keeps the numbering. This is most probably a permissions issue. Normally the file "order_nr.php" should have permissions set to 644, but you can also try 777.

I don't think that there is a way to change the wording in PayPal.
www.dbtechnosystems.com
jeff11214
 
 
Posts: 59
Joined: Sat Oct 28, 2006 4:22 pm

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by jeff11214 »

Permissions already set to 644 with the following checked:

Owner- Read and Write is checked (execute unchecked)
Group- Read is checked (write and execute unchecked)
Public- Read is checked (write and execute unchecked)
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by Navaldesign »

It should work. If it doesn't, check with your hosting company. However, try also 777.

It might sound weird, but I have met cases where FTP displayed different permissions than the correct ones. If you have CPanel and File Manager, check it through those.
www.dbtechnosystems.com
jeff11214
 
 
Posts: 59
Joined: Sat Oct 28, 2006 4:22 pm

Re:

Post by jeff11214 »

I just tested out the code below. Only the first name and last name are passed to PayPal. The other fields like Address, City, State and Zip Code do not get passed to PayPal. Any idea why that is? It would be nice if all info is passed to PayPal.
uniformality wrote:I have modified the Paypal button on the 'thank you' page so thatname and address gets passed to paypal so the customer doesnt have to re-enter it. The new code is

<?php
// display PayPal checkout?

$form = '
<form target="PayPal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_ext-enter">
<input type="hidden" name="redirect_cmd" value="_xclick">
<input type="hidden" name="business" value="'.$paypal_email.'">
<input type="hidden" name="item_name" value="'.$dbts_title.' Order '.$orderid.'">
<input type="hidden" name="item_number" value="'.$orderid.'">
<input type="hidden" name="amount" value="'.number_format($_SESSION['nettotal'], 2).'">
<input type="hidden" name="currency_code" value="'.$currency.'">
<input type="hidden" name="shipping" value="'.$_SESSION['shipping1'].'">
<input type="hidden" name="handling" value="'.$_SESSION['handling'].'">
<input type="hidden" name="return" value="'.$paypal_thankyoupage.'">
<input type="hidden" name="cancel_return" value="'.$paypal_cancelpage.'">
<input type="hidden" name="undefined_quantity" value="0">
<input type="hidden" name="receiver_email" value="'.$paypal_email.'">
<input type="hidden" name="no_shipping" value="'.$require_address.'">
<input type="hidden" name="no_note" value="'.$allow_message.'">
<input type="hidden" name="first_name" value="'.$_SESSION['firstname'].'">
<input type="hidden" name="last_name" value="'.$_SESSION['lastname'].'">
<input type="hidden" name="address1" value="'.$_SESSION['address'].'">
<input type="hidden" name="address2" value="'.$_SESSION['address2'].'">
<input type="hidden" name="city" value="'.$_SESSION['city'].'">
<input type="hidden" name="state" value="'.$_SESSION['state'].'">
<input type="hidden" name="zip" value="'.$_SESSION['zip'].'">
<input type="image" name="submit" src="http://images.paypal.com/images/x-click-but6.gif" alt="Make payments with PayPal, it\'s fast, free, and secure!">
</form>
';
echo $form;

?>

I found it better not to pass the email address as Paypal assumes your customer has a paypal account and doesn't dispay the name and address data but here it is incase anyone needs it

<input type="hidden" name="email" value="'.$_SESSION['email'].'">

Regards
Paul
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by Navaldesign »

It should work (works fine for me).

Have a look at https://www.paypal.com/cgi-bin/webscr?c ... te_outside
www.dbtechnosystems.com
jeff11214
 
 
Posts: 59
Joined: Sat Oct 28, 2006 4:22 pm

Re: Modified version of the WB6 Webshop!! Webshop_plus

Post by jeff11214 »

It does work for me. I'm having an issue with 1 of my PC's where the cart.php doesn't show in IE8 and when using FF the address wasn't getting passed on. I placed an order from a different PC and eveything is working like it should.

Any idea when you will be posting the update for the Advanced buttons?

Thanks George!
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB Webshop!! Webshop_plus

Post 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.
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB Webshop!! Webshop_plus

Post 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.
www.dbtechnosystems.com
User avatar
Patrik iden
 
 
Posts: 479
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Modified version of the WB Webshop!! Webshop_plus

Post 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
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB Webshop!! Webshop_plus

Post 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.
www.dbtechnosystems.com
User avatar
Patrik iden
 
 
Posts: 479
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Modified version of the WB Webshop!! Webshop_plus

Post by Patrik iden »

Swedish lang in: Administration login details
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB Webshop!! Webshop_plus

Post 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
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB Webshop!! Webshop_plus

Post by Navaldesign »

The cart page will be blank until you set the shipping areas : -> Admin Area -> Shipping Areas
www.dbtechnosystems.com
User avatar
Patrik iden
 
 
Posts: 479
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Modified version of the WB Webshop!! Webshop_plus

Post by Patrik iden »

Hi, i have all the shipping info set to no shipping.


i will try to reinstall it.
User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England

Re: Modified version of the WB Webshop!! Webshop_plus

Post 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
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB Webshop!! Webshop_plus

Post 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
www.dbtechnosystems.com
User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England

Re: Modified version of the WB Webshop!! Webshop_plus

Post 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
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB Webshop!! Webshop_plus

Post 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.
www.dbtechnosystems.com
User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England

Re: Modified version of the WB Webshop!! Webshop_plus

Post 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
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB Webshop!! Webshop_plus

Post by Navaldesign »

Yes, it will show, pls read the documentation, and look at the example product form that is included in the example project.
www.dbtechnosystems.com
Hrankov
 
 
Posts: 31
Joined: Sun Feb 13, 2011 7:15 am

Re: Modified version of the WB Webshop!! Webshop_plus

Post by Hrankov »

Hello friends,

because of usual procedures concerning Credit Carts like VISA, the guys want to see the LOG HISTORY.
It means, we need to establisg a MEMBER AREA, where at a special point of ordering, just after the Schopping Cart and the Customer Area the visitors need to Sign In with Username and Password. Something like this very FORUM Membership form with all option we see here - Register, Login, Logout, Change Password, Forgotten Passsword and so on.

The People fron VISA, Master Cart and all others handling with Credit Carts want to see the Login History, who was in contact with us, what he orders etc. because of security guarantees.

My problem: I nave no idea how to do it. There is no extesion for this case. The WebShop 2 is wonderfull, we used it to establich a Fine Arts Web Shop for very special modern artists from Bulgaria. If you visit http://shop.hrankov.eu you can take a look of the start of this project. Thanks to the creators of this extension, we are very happy with WebShop 2 indeed. I can manage it perfectly, but we really need this option too. Any help?

Best regards from Sofia
Post Reply