• Resolved mayasl

    (@mayasl)


    This is a duplicate post of Unable to remove products from the cart page
    —————————————————————————————————
    I have 2 issues in my woocommerce website

    Issue #1. Please check the image below.

    After removing wp-content/plugins/woocommerce/assets/js/frontend/checkout.min.js, it reverted back to normal state.

    Issue #2. Unable to remove products from the cart page. I tried everything I came across in the net, but I couldn’t fix it. So, seeking help in here.

    ——————————————————————————–———————————————————————–

    Server specs :
    CentOS 6.8 (Final)
    nginx/1.10.2
    PHP 5.6.27 (fpm-fcgi)
    5.7.16 MySQL Community Server

    Other modules installed :
    Memcached
    OPCache

    nginx.conf

    user nginx; 
    worker_processes 12;
    
    error_log /var/log/nginx/error.log warn;
    
    pid /var/run/nginx.pid;
    
    events {
        worker_connections 1024;
    }
    
    http {
        include mime.types;
        default_type application/octet-stream;
    
        log_format main '$remote_addr - $remote_user [$time_local] "$request" '
        		     '$status $body_bytes_sent "$http_referer" '
        		     '"$http_user_agent" "$http_x_forwarded_for"'; 
    
        #access_log logs/access.log main;
    
        sendfile on;
        tcp_nopush on; 
        tcp_nodelay on;
    
        keepalive_timeout 2;
        
        gzip on;
        gzip_vary on;
        gzip_proxied any;
        gzip_comp_level 4;
        gzip_buffers 32 8k;
        gzip_http_version 1.1;
        gzip_min_length 1000;
        gzip_types text/plain text/css text/js application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript application/x-font-ttf font/opentype image/svg+xml image/x-icon;
       
        server {
        	listen 80;
        	listen 443 default_server ssl;
        
        	server_name www.qtari.com;
    
        	if ($scheme = http) {
        	return 301 https://www.qtari.com$request_uri;
        	}
    	
    	client_max_body_size 32M;
    
    	ssl_certificate /etc/nginx/ssl/qtari_bundle.crt;
            ssl_certificate_key /etc/nginx/ssl/qtari_dec.key;
            ssl_dhparam /etc/pki/tls/certs/dhparam.pem;
    
    	add_header Strict-Transport-Security "max-age=31536000";
    	
    	ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
    	ssl_prefer_server_ciphers on;
       	ssl_ciphers 'ECDH+AESGCM:ECDH+AES256:ECDH+AES128:DH+3DES:!ADH:!AECDH:!MD5';
            ssl_session_cache shared:SSL:20m;
            ssl_session_timeout 10m;
    
    	client_body_buffer_size 16k;
    	
    	fastcgi_buffering on;
    	fastcgi_buffers 8 8k;
    	fastcgi_buffer_size 8k;
    
      
        location / {
    		try_files $uri $uri/ /index.php$args;
    		root /usr/share/nginx/html/www;
    		index index.php index.html index.htm;
        }
    	
        error_page 404 /404.html;
    		location = /404.html {
    		root /usr/share/nginx/html/www;
        }
    	
        error_page 500 502 503 504 /50x.html;
    		location = /50x.html {
    		root /usr/share/nginx/html/www;
        }
    
        # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
        #
        location ~ \.php$ {
    		root /usr/share/nginx/html/www;
    		fastcgi_pass 127.0.0.1:9000;
    		fastcgi_index index.php;
    		fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    		include fastcgi_params;
        }
      }
    
    }

    Steps I tried so far,
    1. Deactivated all plugins except WooCommerce and switched back to Twenty Sixteen theme – No luck!
    2. Deactivated WooCommerce and removed all related tables from the database and reinstalled WooCoommerce – No change!
    3. Cleared memory cache and OPcache [using OPcache plugin] – Nothing happened!
    4. If I change the permalink to “Plain” from “Post Name”, then the things are fine.

    PS : All were working fine till I install W3 Total Cache plugin.

    Please let me know if anymore details are needed.

    • This topic was modified 8 years, 4 months ago by mayasl.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    I suspect they might both be related; have you modified the htaccess file? Also, are you using SSL? If not, make sure that force SSL is inactive under **WooCommerce > Settings > Checkout**

    Thread Starter mayasl

    (@mayasl)

    1. No, I don’t use .htaccess at all
    2. Yes I am using SSL
    3. Force secure checkout is not checked in WooCommerce settings > Checkout

    Thread Starter mayasl

    (@mayasl)

    The error #1 is back after updating WooCommerce to version 2.6.8. Changing permalink from “Post name” to “Plain” rectifies the issue.

    Thread Starter mayasl

    (@mayasl)

    Request for an edit
    Please remove the site URL from my post above as it shows up in the search results.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Dup] Unable to remove products from the cart page’ is closed to new replies.