Solved

how to test cart is working on magento

Posted on 2014-01-20
10
338 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 109

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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS EC2 & RDS Instance 5 36
PHP Parse error: syntax error, unexpected '[' 1 25
showing loader for php/mysql/ajax live search 13 26
Wordpress plugins not working in html 3 25
This article discusses four methods for overlaying images in a container on a web page
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

821 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