Solved

how to test cart is working on magento

Posted on 2014-01-20
10
340 Views
Last Modified: 2016-03-02
Hi all
I have inherited an old magento site.  ver. 1.7.0.2

My client has said: "A customer assembled his purchases into the check-out but it wouldn't let him get any further."

So now i need to test the shopping cart. as am relatively new to magento i thought it be best to ask if there is a quick method of testing the cart system without having to actually purchase something?

The site was moved to our hosting a few months ago and the only changes i made:
installed new ssl cert / forced https on all pages could this be a reason? how can i test the cart and fix it?

any information would be helpfull thanks.
0
Comment
Question by:helpchrisplz
  • 8
10 Comments
 
LVL 110

Assisted Solution

by:Ray Paseur
Ray Paseur earned 250 total points
ID: 39794239
how can i test the cart
Put a simple, low-cost item or two into the site and buy them yourself to see the client-side behavior.  I've learned more about PayPal by spending a dollar or two than I could learn in a week of guessing!
0
 
LVL 1

Author Comment

by:helpchrisplz
ID: 39794557
ok i just turned off the forced SSL so it should only use SSL on the payment page.

i added a test product and added it to the cart.

i noticed that it only happens when clicking register rather than clicking guest checkout.
When i fill in the billing information and click the continue button it will reload the page and take you back to the first step.

i noticed that an error shows in console after clicking the continue button:

error console
not sure what to do now.

This is the test product:
http://www.jrfox.co.uk/index.php/test-cart-works.html

update: more detail
0
 
LVL 1

Author Comment

by:helpchrisplz
ID: 39794603
This is a link to prototype.js
http://jrfox.co.uk/js/prototype/prototype.js
0
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 
LVL 1

Author Comment

by:helpchrisplz
ID: 39794683
HI

just found an interesting post:

http://www.magentocommerce.com/boards/v/viewthread/224839/

The very last post mentions needing to install php5-mcrypt.
there no more posts after that... :O

not sure what php5-mcrypt is and i dont see it on php info:
http://www.jrfox.co.uk/phpVersion.php
0
 
LVL 1

Author Comment

by:helpchrisplz
ID: 39796360
am trying to install mcrypt to see if it will help.
errrm following this tutorial: http://www.elinux.co.in/how-to-install-php-mcrypt-in-linux-plesk/


cent os, most recent version of plesk
putty:

[root@server]# wget -O – http://www.atomicorp.com/installers/atomic                            |sh
--2014-01-21 09:43:24--  http://www.atomicorp.com/installers/atomic
Resolving www.atomicorp.com... 198.71.51.132
Connecting to www.atomicorp.com|198.71.51.132|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13851 (14K) [text/plain]
Saving to: `–'

100%[========================================>] 13,851      --.-K/s   in 0.1s

2014-01-21 09:43:24 (142 KB/s) - `–' saved [13851/13851]

[root@server]# yum install php-mcrypt
Loaded plugins: fastestmirror, priorities, security
Loading mirror speeds from cached hostfile
 * base: centos.hyve.com
 * extras: mirrors.coreix.net
 * updates: mirror.sov.uk.goscomb.net
Setting up Install Process
No package php-mcrypt available.
Error: Nothing to do
[root@server]#
0
 
LVL 1

Author Comment

by:helpchrisplz
ID: 39796433
ok i followed this:

yum repolist

-----------------------------------
repo id repo name status
base CentOS-6 - Base 6.346
elrepo ELRepo.org Community Enterprise Linux Repository - el6 223
epel Extra Packages for Enterprise Linux 6 - x86_64 8.351
extras CentOS-6 - Extras 17
plesk103-base Plesk 10.3 - Base 99
plesk103-thirdparty Plesk 10.3 - Thirdparty 3
plesk103-updates Plesk 10.3 - Updates 0
updates CentOS-6 - Updates 1.185
repolist: 16.224
-------------------------
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum update
yum install php-mcrypt

some times enter 'y'

service httpd restart

finish, its works!
0
 
LVL 1

Author Comment

by:helpchrisplz
ID: 39796485
and problem with cart is solved. Thank you.. thank you... applause applause :D
0
 
LVL 1

Author Comment

by:helpchrisplz
ID: 39796502
Ray what do i do when i answer my own question? well sort of...

do i give you all the points for answering the first part of the question?
0
 
LVL 1

Accepted Solution

by:
matt-ecommistry earned 250 total points
ID: 39796851
Perhaps check if your site passes the minimum system requirements.
There is a script to test if all necessary php modules are installed for example.

Upload to your server via FTP and run:

http://www.magentocommerce.com/knowledge-base/entry/how-do-i-know-if-my-server-is-compatible-with-magento
0
 
LVL 1

Author Closing Comment

by:helpchrisplz
ID: 39806157
ty
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question