“add to cart” on the frontpage is not working

Hey guys…
After my changing “enable CSS and JS combining” in the configuration and some new lines/rules in the .htaccess, I can not put products to my cart from the frontpage (jmproducts>viewall.phtml)
Here are the rules in my .htaccess
 

## enable resulting html compression

    php_flag zlib.output_compression on

############################################

############################################

## compress text, html, javascript, css, xml:

AddOutputFilterByType DEFLATE text/plain

AddOutputFilterByType DEFLATE text/html

AddOutputFilterByType DEFLATE text/xml

AddOutputFilterByType DEFLATE text/css

AddOutputFilterByType DEFLATE application/xml

AddOutputFilterByType DEFLATE application/xhtml+xml

AddOutputFilterByType DEFLATE application/rss+xml

AddOutputFilterByType DEFLATE application/javascript

AddOutputFilterByType DEFLATE application/x-javascript

# Or, compress certain file types by extension:

<files *.html>

SetOutputFilter DEFLATE

</files>

###########################################

############################################

##

<IfModule mod_expires.c>

# Enable expirations

ExpiresActive On

# Default directive

ExpiresDefault "access plus 1 month"

# My favicon


ExpiresByType image/x-icon "access plus 1 year"

# Images

ExpiresByType image/gif "access plus 1 month"

ExpiresByType image/png "access plus 1 month"

ExpiresByType image/jpg "access plus 1 month"

ExpiresByType image/jpeg "access plus 1 month"

# CSS

ExpiresByType text/css "access 1 month?

# Javascript

ExpiresByType application/javascript "access plus 1 year"

</IfModule>

 
 
Hope of your help…..
 
 Thank you, for your help!!!!

5 answers

Profile photo of Ziven Staff 100280.00 $tone November 6, 2017
Public

Hi There,
Please PM me your site’s url, admin and ftp credentials, I’ll detect the root of issue for troubleshooting.
Best Regards,
Ziven.

#1
Profile photo of Ziven Staff 100280.00 $tone November 10, 2017
Public

Hi There,
I just add product from this link http://extern.dergetraenkeshop.de/heidelpay/magento/ and  http://extern.dergetraenkeshop.de/heidelpay/magento/jmproducts/viewall/index/type/ 
All working fine. and checkout success. I’m really not sure what exactly the issue you meet in here.
You mean is: when input the code above via .htaccess and it will not work right?
Please let me know more details and have screenshot will better. 
 
Best Regards,
Ziven.
 

#3
Profile photo of zro2 280.00 $tone November 20, 2017
Public

Hi Ziven,
thank you for your answer.
The problem does not appear the first time you visit the website and added the products to the cart.
Only when you have closed your browser (browser cache not deleted) and the page is called up again, it is unfortunately no longer possible to add the products in the cart from the start page.
I hope you could take another look at it.
Thanks for your help.

#4
Profile photo of Ziven Staff 100280.00 $tone November 21, 2017
Public

Hi There,
I tried like you said but it seem still working fine. 
I think you need capture video will help me more understand. 
Best Regards,
Ziven.

#5

Please login or Register to Submit Answer

Written By

Comments