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
me.prosenjeet
 
 
Posts: 1265
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet »

Thanks parcou and Naval,
I could sort out the issue on 2 out of the three buttons.
This is the webshop... http://lucknowwebs.com.au/shop/
The issues faced:
1) The button "Continue Shopping" (name= "action") on the cart page is giving this :
Not Found
The requested URL /products.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I guess it is looking for http://lucknowwebs.com.au/products.php but actually it should look for http://lucknowwebs.com.au/shop/products.php

2) While checking out if one selects any option other than Paypal, and without filling in the credit card details if you click on "Order Now" it gives a thankyou for purchasing page!! How can we use the other payment options?

4) Can the "Form Processor" extension used in the forms that sends mail to the seller and the buyer as after seeing the quality of mails we get through that extension...the webshop mail was like Ohhhhh Nooooo!

5) What is this page for?
--full_product_form
Check the new Chat GPT and Malware detect extensions at the link below

Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

me.prosenjeet wrote:The issues faced:
1) The button "Continue Shopping" on the cart page is giving this :
Not Found
The requested URL /products.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I guess it is looking for http://lucknowwebs.com.au/products.php but actually it should look for http://lucknowwebs.com.au/shop/products.php
Me, i believe that you have notbeen through the Admin Area as you should. I'm not anywhere close my computer where i have Webshop Plus, but, if i recall there is a "Continue Shopping URL" field. If you set this URL correctly, you will have no issues.
2) While checking out if one selects any option other than Paypal, and without filling in the credit card details if you click on "Order Now" it gives a thankyou for purchasing page!!
Certainly ! You have to implement the form validation yourself. With your own error messages etc. Most users don't even want credits cards details to be collected on their website as this would create them issues with the CCIndustry security standars.
Please note that i have transformed the standard Webshop, BUT i totally disagree with collecting cc details on the site for the following reason:
The cc details are emailed through the script. This means that they "travel" through NON secure chanels.
Since they are NOT stored on the server, there is neither the possibility to retrieve these details through a SSL certificate. So this situation is against the CC Indystry security standards.
3) How to remove other payment options and show only Paypal when it comes to payment?
Again read more carefully my post. You will see that you do have this option, in two ways: either using the appropriate pages (as explained in my first thread) OR by simply removing the other options from the dropdown, OR deleting the dropdown and adding a hidden field with the same name as the dropdown and value PayPal
4) Can the "Form Processor" extension used in the forms that sends mail to the seller and the buyer as after seeing the quality of mails we get through that extension...the webshop mail was like Ohhhhh Nooooo!

It can be done, but i don't intend to, at least not soon. The Webshop Plus has already taken lots of my time to develop and support, and as a free cart i believe that it is ok. It is not a paid job
5) What are these three pages for?
--thankyou1
--checkout1


For PAypal only
--full_product_form
This is a full form template, with all possible options, to use as a template to create your own product forms.
www.dbtechnosystems.com
User avatar
me.prosenjeet
 
 
Posts: 1265
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet »

A small question... again lol

On my cart I have used the paypal only pages.
When the order is finally placed the customer gets this message on this page - thankyou.php :
"Thank you for your order.

Your order has been successfully placed!
A confirmation email has been sent to your email address."
And below it is the Paypal button which when clicked takes one to the Paypal payment page.
It doest explains that the customer is supposed to click on the "Paypal" button or may go unnoticed.Owing to this I had to edit the lines to
"Thank you for your order.

Your order has been successfully placed!
A confirmation email has been sent to your email address.
NOTE :Your order will be processed once you click on the Paypal Button below to make the payment"

How to make it such that once the order is placed, the Thankyou page opens and displays for about 5-6 second and then the Customer is redirected to the Paypal payment page

...And...

Instead of sending the order confirmation info before actually the payment is made, is it possible to send it when the used makes the payment and is redirected to the success page.


I know it is a big ask for a free script but these small things if incorporated will make this perfect script beat any high end shopping script
Check the new Chat GPT and Malware detect extensions at the link below

Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

Well, I believe that a customer that sees a PayPal button SHOULD understand that he must click it. Anyway the wording is only up to you.

A PayPal button is a form, that POSTs the data to the PayPal site. There is no way to redirect (because it is not a redirect, but a submission) to the PayPal page unless you use sockets or the CURL library. Since not all servers support socket or CURL this is a case by case option, which you can implement yourself if you like.

Last, to send the order confirmation AFTER payment, you must create a PayPal "listener" script that will receive the PayPal IPN feedback. I have this feature in my pro cart but i do not intend to add it in this free cart. As said before, there is a paid service for such advanced features.
Last edited by Navaldesign on Fri Jul 31, 2009 10:25 pm, edited 1 time in total.
www.dbtechnosystems.com
User avatar
me.prosenjeet
 
 
Posts: 1265
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet »

Navaldesign wrote:As said before, there is a paid service for such advanced features.
Just inquisitive, how much is that for in USD?
Check the new Chat GPT and Malware detect extensions at the link below

Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

I believe that the forum is not the appropriate place to discuss this. If you wish you can contact me privately.

Please note that there are two ways of doing this: either using PDT or using IPN

PDT is not reliable, as the transaction info is passed back to the site using the GET method, and only ONCE (meaning that if for any reason there is internet failure, there will be no order confirmation.

IPN instead is more secure because PayPal will keep posting back until it receives a 200 OK response from your own server.

Please also note that doing this requires also that the Order Details are stored on your server (in a DB or file) and then compared (at least as amount and Order ID) with the PayPal feedback for authentication purposes.

What i mean is that this is a rather complicated procedure.
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: some questions

Post by Navaldesign »

Sandyfishgirl wrote:On the Customer page - the form contains an edit box for the e-mail, the value is <?php echo$email;?> I notice the "label" beside the box is "E-mail". It has been some time, since I built a form - I seem to remember seeing something about "email" and E-mail - they should be the same? This program must be right, so I think I'm confused about the some "different" instruction. I just want to make sure :)
The labels are simply Text, they don't affect the functionality. You can use whatever you want: Email, E-mail, Email Address, etc.
Inside Admin - when filling out information, it asks for "your full name". I'm curious, will this "name" information be searchable in an engine - associated with the webiste?
No. This is simply the same installation interface that i use for my commercial applications, where the name, email etc are then used for the Product Registration process. In the Webshop Plus case there is no use and consequently not even a need to fill it in.
I must be part feline today - another curious question - when I remove the "sample" images from the WebShop, I notice, even on "small" pages, like "Thank You" and "Check Out" - - what appears to be ONE background image is actually three. I wonder what is the reason for this? Do three "smaller" images load faster than one "big" image?
No. The reason for the 3 images is that it allows, if necessary, to expand the page by stretching the center image (which is linear). If it was only one and you stretched it, the rounded corners would distort and the top and bottom border lines would become thicker (or thinner)

as always, THANKS![/quote]
www.dbtechnosystems.com
User avatar
me.prosenjeet
 
 
Posts: 1265
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet »

Is it possible to sell down loadable stuff in the present cart? Where the link is sent to the customer for download after payment and the link is fixed in a way that it will expire after 2-3 downloads.

If not then let this be a wish :lol:
Check the new Chat GPT and Malware detect extensions at the link below

Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

To be suitable for Instant Downloads, a cart must have a PayPal IPN listener, that will verify the payment and will allow download for a certain number of times. This is an advanced feature that i don't intent to implement in this free cart.

If you sell distinct products, you can simply set a return page where customers are returned after payment, where you will have the download link. Of course, this is not protected, neither you can limit the number of times the product can be downloaded.

If instead you want to sell more than one products, then you need the cart, you need to store the order details (products) on the server, after the customer is returned from PAyPal the script has to verify the payment, see which products were sold with that order, allow the download, and also store on the server the information that these products have been downloaded once, so when the allowed number of times is reached, it will not allow any more downloads.

I do have all these feastures in my Pro cart but As you understand I will not implement them in the free cart.

Developing software has its cost, and a developer has to live from his own sales. Giving away everything for free doesn't allow this.
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

A parse error is an error with the code. Might be due to missing code (not file) or something that breaks the code somehow.

The position (line 508) Indicates that this might be due to a label (see Admin Area, Script Details) that might contain some quotes ' or double quotes "

Check the labels.

If necessary send me your page or the page code through my contact form.
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

Since you are assuring that no changes were made to the labels, I would need to see the page code or i would need your project to debug. It certainly is something very simple.

The button names in the product forms are of no importance.

For PayPal only, look at the manual: you remove pages thankyou and checkout, rename pages thankyou1 -> thankyou and checkout1 -> checkout .

You can ofcourse also remove other options from the dropdown and only leave PayPal.

To avoid "index of" since you have used a dedicated folder for the cart, you should create and publish an "index" page inside the "cart" folder.

The manual says "Don't publish the index page" IF you are publishing the cart pages in your root folder.
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

should not be Index but index, all lowercase
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

Your "cart" folder now dispplays correctly.
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

Your Cart folder DOES have an index page with the welcome message , nav menu etc.

If you don't see it, this probably means that your browser has cached the "index of" page (when the index still didn't exist) and displays the cached version.

go in http: // www. lellaslingerieDOTcom/cart/ , in other words in the cart folder with your browser, and hit F5 some times quickly, to refresh your browser.
Last edited by Navaldesign on Fri Aug 07, 2009 3:54 pm, edited 1 time in total.
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

This line should do it alright, but you need to add it in the thankyou page. Where did you add it ?
www.dbtechnosystems.com
User avatar
iamafireman
 
 
Posts: 84
Joined: Mon May 26, 2008 2:41 am
Location: Tennessee

Post by iamafireman »

for some reason my cart page doesnot show up. It is totally blank. If i publish local and view it in the browser it shows up.
http://www.youonthenetyet.net/cart2/
User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England

Post by kevinp »

If you import the cart1.php file to your project then place an iframe in your header etc which points to this page it should work OK. It was just a rough (very rough) attempt to add this feature which I have'nt had time to refine unfortunately. I'm afraid I don't posses naval's genius when it comes to PHP but I'm learning (slowly).

Hope this helps

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

Post by Navaldesign »

nethawk wrote:Hi Naval, I'm about to begin with this and I can't wait to see how it works. I do have a question however.

In the instructions, it says I should "Create a folder called "webshop_plus" inside your WYSIWYG5 folder. Extract the zip content in this folder. Keep the same folder structure."

Do you mean my folder under My Documents or under Program Files?

Thanks Naval. I'll be starting this this evening, so I look forward to seeing it in action.
Under your "WYSIWYG Web Builder" folder in "Documents"
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

From what I see, your issue is that when adding a product to the cart, the cart page is blank.

The reason for this is that you have not set the Admini settings: Shipping and, especially, Shipping Areas.

Until you do so, the cart is missing the file with the shipping details, so this causes an error (no file to include) and displays a blank page.
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

There are two ways to publish your cart, in the cart folder:

1. If the cart is a separate WB6 project for you, then, simply, in the WB6 project of the cart, provide, in the "Publish" dialog box, as publish location, root_folder/cart

This will automatically publish the cart files in the "cart" folder

2. OR you can open your cart WB6 project, create, in Site manager, a folder named "cart" and drag all pages in that folder.
At that point you can publish normally as you do with the rest of your pages, without changing anything in the publish location properties.
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

It means that the folder has no writing permissions. Check the folder permissions, should be 755 . If it doesn't work with 755 try 777
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

Is your server set to have Safe Mode ON? If yes, it allows no operations to files.

Yes, you'd better ask them.
www.dbtechnosystems.com
uniformality

Post by uniformality »

Hello Naval
i have two questions please
1.
Do the project pages HAVE to have .php extention or can i use html?

2 is it advisable to download the shopping cart code every so often to 'refresh' my current version?

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

Post by Navaldesign »

The pages need to be php as they have php code embedded. If you have downloaded the Demo project, you can see in the Page properties that they are set to publish as .php.

I don't understand your second question. Unless a major update is released and you would like to use the new features, there is no reason to re-download / re-install.
www.dbtechnosystems.com
uniformality

Post by uniformality »

Sorry naval it should have read Product pages (not project pages). I tested it and it works fine with product pages as html.

Everthing is working ok , but is it possible when the customer clicks 'OrderNow' they are taken straight to paypal ?

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

Post by Navaldesign »

No, because that would require to do to actions with one click: Save the details AND post the data to PayPal. Since to do that I would need to use CURL which is not supported by all servers / hosting accounts, i prefer doing it as a two step process.
www.dbtechnosystems.com
uniformality

Post by uniformality »

thanks for the swift reply Naval.

Ok I understand your reason.
Is it posible to pass the customers name and address to paypal to save them re-entering the details?

Thanks in advance again

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

Post by Navaldesign »

Yes, it is possible, however you need to modify the button code adding the necessary hidden fields to prepolulate the PayPal form.
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

The PayPal button uses the standard PayPal code. And, as you have seen yourself, it works fine with all other browsers. I don't see a reason for it not working with Opera.
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: does anyone get shopping cart orders without payment?

Post by Navaldesign »

Sandyfishgirl wrote:In the past few days, we have received two orders - BUT, the orders were not completed, no payment made thru PayPal.

The information in our auto-responder appears to be legit. Name, address, e-mail, item etc....

We sent e-mail to both, asking if they would like to complete their order - (make payment) or if we could be of any assistance...... NO RESPONSE.

We have used PayPal for some time on another website & have no issues with payments being made. With that particular site, before any payment is requested or made, we have had contact, via mail, phone or in person with customers - before they make payments.

On this new shopping cart, we sell women's clothing and such. I wonder if it is a particular 'industry-related' issue - - WINDOW SHOPPERS????

CURIOUS - if anyone else has experienced this??? :?

THANK YOU!
Most probably just someone testing your cart......
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

andysutils wrote:The email was correct, i tried it from scratch and it still didnt send any emails, I can only put this down to it being something related to my mail server, therefore I had to revert back to the manual script of adding the classic email option which isnt a problem anyway, everything is working perfect now. :wink:
What you are stating makes (technically) no sense. Not that I doubt what you are saying, but because, as i mentioned, IF CORRECTLY set, the script is equivalent to the old one! It only uses a variable for the email address, which it retrieves from the Admin area settings. There is NO difference between the two codes! One has the variables hardcoded (the old one) the other retrieves them from the script / admin settings files.

So I can only suppose that there is something wrong there.
www.dbtechnosystems.com
User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England

Post by kevinp »

I too get window shoppers who appear to be testing the cart. nothing much you can do except perhaps log the ip address.

The cart is brilliant and I've looked at a great many so called commercial offerings.

I'm going to attemp to change the thankyou page so that it generates html emails instead of plain text.

I'll post the results if it works OK.
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

Hi Kevin,

HTML email and Authorize.net checkout are scheduled for the next upgrade, together with the small summary cart contents table, plus a (paid for) addon for instant downloads. So unless you would like to do it as personal interest, you can avoid it.
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

In fact I can't undertake this, BUT if you follow the instructions slowly and with precision, you will be up and running by tomorrow, not next week.

1. Enter the admin area. Go through ALL pages, one by one, it will require no more than 40 to 60 minutes.

2. Then publish all pages of the demo project. After that test it and see if everything is ok.

3. At this point customize the pages accoring to your own site theme.

4. Set up your products forms (3 minutes per product, max) and customize each product page to suit the specific product (another, say, 10 mins). You can clone the first product page to create the additional products pages, then double click the product form to set the parameters of each product.

At the end, you can publish your Webshop pages again

For a 20 products cart, estimated time 4 hrs should be more than enough.
www.dbtechnosystems.com
User avatar
mandrake
 
 
Posts: 43
Joined: Wed Jun 24, 2009 8:37 pm

Post by mandrake »

Hi NavalDesign,

When will therefore leave the famous version WWB6 IDC PAYPAL extension?
You program the script again or you expect out of the WWB6.5?
Thank you for your answer!

Best regards,
Mandrake.
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

The Instant Download is ready, But I will need at least a couple of days to fully test before it can go commercial.
www.dbtechnosystems.com
User avatar
mandrake
 
 
Posts: 43
Joined: Wed Jun 24, 2009 8:37 pm

Post by mandrake »

Great news! :D

I look forward to seeing this exciting expansion!

Gravely commercial version!

Best regards,

Mandrake.
User avatar
me.prosenjeet
 
 
Posts: 1265
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet »

I am trying to change the "Tax" name on my shopping cart, It is changing in the admin page, but when I am trying to shop and then see the cart, the old name of the tax still shows. How to show the new one. Sorry I am updating the site after a long time so kindof forgotten how to do this.
http://www.lucknowwebs.com.au/shop
If asked to login to see cart, use demo for both.
Currently Tax field is showing "Processing Charges"
Changed in the Admin to "Overhead"
Check the new Chat GPT and Malware detect extensions at the link below

Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

What you are stating can not happen, unless you are having different admin / shop areas (and files) , so you are updating one but the other is not updated.

Your shop is too complicated (with login etc) for me to go the full way to test.
www.dbtechnosystems.com
User avatar
me.prosenjeet
 
 
Posts: 1265
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet »

Navaldesign wrote:What you are stating can not happen, unless you are having different admin / shop areas (and files) , so you are updating one but the other is not updated.

Your shop is too complicated (with login etc) for me to go the full way to test.
Naval. once you login there is no issue.... please give it a shot
Check the new Chat GPT and Malware detect extensions at the link below

Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

me, there is nothing i can see simply from the page html.

I can't login in the admin area nor can I see what code is there or examine directly the file. So there is no way i can help you.

Open the settings file and see if the file has been correctly updated through the admin page or not.
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

1. Seems that you have somehow removed the links of the buttons. Just re-establish them and you will be ok.

2. No, if that was the "full_product_form" page that you deleted, it was simply an example product form with all the possible options so if anyone needed it, he could see how this is done. Removing that page doesn't affect anything.
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

What's the "regular" method ??

All carts, even the most complicated ones use forms to send the product info to the cart page. Each product "Add to Cart" button is simply a submit button that posts the product details to the cart.

Do you have the form or not ? The form "action" is what links the product to the cart page and code.

Open the demo product and see how this is made.
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

The Thankyou1 and Checkout1 pages are PayPal only so if you want to only use PayPal you need to replace Thankyou with thankyou1 and checkout with checkout1.
If not, you can delete them.

Buttons: the buttons must be named "action" and their value as it was.

Otherwise you can replace them with Advanced Buttons, where the text can be in your language and the name will remain "action" and the vale as it was (for each button).
www.dbtechnosystems.com
uniformality

Post by uniformality »

hi Naval,
I have a problem with my cart page. the checkout button and recalculate buttons just seem to relod the page. I have replaced the page with the original imported from your Sample Shop, but the problem still exisits.
the site is picturethaton.co.uk
thank for your assistance

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

Post by Navaldesign »

Most probably, when you imported the page in your project, the three buttons in the cart page "lost" their name (should be "action" for all three)

Check it.
www.dbtechnosystems.com
uniformality

Post by uniformality »

hi Naval

I checked the button names and changeed them to "action" but still it doesn't work. Thanks for your assisitance.
Regards

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

Post by Navaldesign »

Since I don't know what your product page( s ) URLs are, I can't test.

Remove the Onclick event that you added to the Continue Shopping button.
www.dbtechnosystems.com
uniformality

Post by uniformality »

Thanks Naval, that was the problem.
Is there a way to make the 'continue shopping' button take the customer back to the last page they were at?

EDIT ok i have put the button on another form and now the cart works and the 'continue shopping' function works to.

Regards

Paul
uniformality

Post by uniformality »

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
Post Reply