close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

postage not working on "live" site

Thread began 9/07/2012 8:24 am by WhiteJC | Last modified 9/11/2012 7:57 am by Jason Byrnes | 2125 views | 7 replies |

WhiteJC

postage not working on "live" site

I've setup a post and pack charge to be £4 for 1/2 kilo and under and £6 for over 1/2 kilo.

It works on my testing server however on the "live" site it always charges £6?

I figure I must have made some changes to the test system? what files do I need to ensure their copied over to the live system, I'm assuming the error is with an old version of the p&p code?

Sign in to reply to this post

Jason ByrnesWebAssist

make sure the files in the WA_eCart folder are uploaded to the server.

Sign in to reply to this post

WhiteJC

Hi Jason

I've copied over the WA_eCart folder, just to make sure I deleted the folder on the "live" system and then copied the folder to make sure I've got the correct folder and I still get the same results, any ideas?

Sign in to reply to this post

Jason ByrnesWebAssist

post a link where i can see the problem and a screen shot of the shipping rules settings please.

Sign in to reply to this post

WhiteJC

Hi Jason

the "live" version can be found here...
PRODUCTdetail.php?id=7&sku=F

however, "buying" this item, you'll need to select from 2 drop-down lists, choose the first item(s) from both lists.

when you need to sign-in, to "buy" the item use this username and password
john.cummins@mccarthy-design.com
yesterday

(I'll change the password after you've used it)
"tick: the T&Cs, select credit card, same billing address address (use UK mainland) from the drop down.
you'll see the Shipping on the confirmation page, it should be £4 but its £6

the shipping charge is generated from session (ShipCharge) which in turn is generated from a database look-up

this is the shipping rule:
if session variable exists: ShipCharge
create a flat rate shipping of $ $_SESSION['ShipCharge']

here's the database look-up
SELECT *
FROM ship_rate
WHERE shipWEIGHT >= colname AND ship_rate.shipZONE = zZONE
ORDER BY shipZONE ASC , ship_rate.shipWEIGHT DESC

colname = $_SESSION['zoneWEIGHT']
zZONE = $_SESSION['zoneNUMBER']

the WEIGHT & NUMBER donate the combined product(s) weight and the number is a zone reference, different zones charge different amounts (mainly due to distance)

Sign in to reply to this post

Jason ByrnesWebAssist

to help troubleshot, add the following code on the PAYconfirm.php page just before the </body> tag:

php:
<pre><?php var_dump($_SESSION); ?></pre>



this will allow me to see the contents of the session.

Sign in to reply to this post

WhiteJC

Hi Jason

this is a "live" site, can you look at the page at a specific time, then I can return the page to "normal" and not effect any customers?

I'm based in the UK so I think I'm 5 hours? ahead of you, give me a time to upload the amended page and I'll make sure its done

rgds
John

Sign in to reply to this post

Jason ByrnesWebAssist

i am on the East coast in america, I am EST. It is currently 10:56am. How about 11:30am? let me know if that works

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...