Repository Forums Support WooCommerce Extended Coupon Features PRO Free shipping always activated

Topic Resolution: Resolved
Viewing 15 posts - 16 through 30 (of 31 total)
  • Author
    Posts
  • #3079
    educainventions
    Participant

    Use these two instead:

    http://www.edinventa.com/checkout/?add-to-cart=2841&apply_coupon=descuentosm
    http://www.edinventa.com/checkout/?fill_cart=2841&apply_coupon=descuentosm

    To reproduce the issue with add-to-cart:
    1. Open incognito window
    2. Paste: http://www.edinventa.com/checkout/?add-to-cart=2841&apply_coupon=descuentosm
    –> You will see the product is added, but not the coupon

    To reproduce the issue with fill_cart:
    1. Open incognito window
    2. Paste: http://www.edinventa.com/checkout/?fill_cart=2841&apply_coupon=descuentosm
    3. Delete coupon
    4. Delete product
    5. Paste again: http://www.edinventa.com/checkout/?fill_cart=2841&apply_coupon=descuentosm
    –> You will see nothing is added now

    #3080
    Soft79
    Keymaster

    Try disabling CloudFlare; maybe it’s related.

    #3081
    educainventions
    Participant

    Good guess but still the same. Now I have Cloudflare disabled in the meantime and still same problem. Weird! If you reproduce the issue for your website, this problem does not occur?

    Thanks for your help!

    #3082
    Soft79
    Keymaster
    #3083
    educainventions
    Participant

    Nope. That’s weird! I think it’s not the One Page Checkout plugin as I guest because the same issue when I do the same with a different page like: http://www.edinventa.com/?fill_cart=2841&apply_coupon=descuentosm

    First time it works with fill_cart. Then, if I delete coupon and product, that link does not work anymore.

    Weird, weird, weird. I’m asking my hosting too. Maybe they can guess what’s happening!

    Any other guess for your site? 🙁

    Thanks so much in any case!!

    Carlos

    #3084
    educainventions
    Participant

    It does not work well in Firefox.
    It does not work well in Chrome.
    But It’s working well in SAFARI!!!

    Any guess with this new information? :/

    #3085
    Soft79
    Keymaster

    I think it’s related to redirects and/or caching. Try disabling plugins to debug the issue. I have no other ideas.

    #3086
    educainventions
    Participant

    I have disabled all plugins but yours and I have updated and activated the default Theme Twenty Fifteen. It still has the same issue.

    I have tried with the official Woocommerce cart of my site: http://www.edinventa.com/cart/?fill_cart=2841&apply_coupon=descuentosm

    Exactly the same problem. So it’s not incompatibility with Onepage Checkout. So if default theme is used and no other plugins installed. What the hell can be? xD

    screenshot

    ————

    I also trying disabling all plugins but Woocommerce, onepage checkout and yours. I also have changed the theme to a default one and updated it (Twenty Fifteen).

    It has the same problem, if we visit
    http://www.edinventa.com/checkout/?fill_cart=2841&apply_coupon=descuentosm
    or
    http://www.edinventa.com/?fill_cart=2841&apply_coupon=descuentosm
    then remove the product
    then going back to http://www.edinventa.com/checkout/, the product is not added anymore in Chrome or Firefox (it’s added in Safari.

    plugins left

    #3087
    Soft79
    Keymaster

    It is caching. If I add items to cart; then remove, the cart does not update. But if I change the url a bit, e.g. append &blah=123 the cart gets updated.

    What is the contents of your .htaccess? Did you disable Cloudflare?

    #3088
    educainventions
    Participant

    I disabled CloudFlare and also SuperCacher as the hosting recommended me to try (siteground). The same problem occurred (I have re-enabled back). This is my httaccess:

    <IfModule mod_expires.c>
    ExpiresActive on
    ExpiresByType text/css “access plus 14 days”
    ExpiresByType text/xml “access plus 0 seconds”
    ExpiresByType text/javascript “access plus 14 days”
    ExpiresByType application/x-javascript “access plus 14 days”
    ExpiresByType image/ico “access plus 14 days”
    ExpiresByType image/jpg “access plus 14 days”
    ExpiresByType image/jpeg “access plus 14 days”
    ExpiresByType image/gif “access plus 14 days”
    ExpiresByType image/png “access plus 14 days”
    ExpiresByType image/svg+xml “access plus 1 month”
    ExpiresByType text/html “access plus 14 days”
    ExpiresByType video/ogg “access plus 1 month”
    ExpiresByType audio/ogg “access plus 1 month”
    ExpiresByType video/mp4 “access plus 1 month”
    ExpiresByType video/webm “access plus 1 month”
    ExpiresByType application/x-font-woff “access plus 1 month”
    ExpiresByType application/vnd.ms-fontobject “access plus 1 month”
    ExpiresByType application/xml “access plus 0 seconds”
    ExpiresByType application/json “access plus 0 seconds”
    ExpiresByType application/rss+xml “access plus 1 hour”
    ExpiresByType application/atom+xml “access plus 1 hour”
    </IfModule>

    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg “access 1 year”
    ExpiresByType image/jpeg “access 1 year”
    ExpiresByType image/gif “access 1 year”
    ExpiresByType image/png “access 1 year”
    ExpiresByType text/css “access 1 month”
    ExpiresByType application/pdf “access 1 month”
    ExpiresByType application/javascript “access 1 month”
    ExpiresByType application/x-javascript “access 1 month”
    ExpiresByType application/x-shockwave-flash “access 1 month”
    ExpiresByType image/x-icon “access 1 year”
    ExpiresDefault “access 2 days”
    </IfModule>
    ## EXPIRES CACHING ##

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^heromask.es$ [OR]
    RewriteCond %{HTTP_HOST} ^www.heromask.es$
    RewriteRule (.*)$ http://www.edinventa.com/$1 [R=301,L]
    </IfModule>

    RewriteCond %{HTTP_HOST} ^educainventions\.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.educainventions\.com$
    RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
    RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
    RewriteRule ^(.*)$ “https\:\/\/www\.edinventa\.com\/$1” [R=301,L]
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    RewriteCond %{HTTP_HOST} ^heromask\.es$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.heromask\.es$
    RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
    RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
    RewriteRule ^/?$ “https\:\/\/www\.edinventa\.com\/” [R=301,L]

    #3089
    Soft79
    Keymaster

    I’m no expert on this subject, but try removing ExpiresByType text/html

    #3090
    Soft79
    Keymaster

    And also ExpiresDefault access 2 days

    #3091
    educainventions
    Participant

    Well, after removing all the “Expires” there is a big change. If we enter on: http://www.edinventa.com/checkout/?fill_cart=2841&apply_coupon=descuentosm
    Then remove the item (or the discount).
    Then enter again the same URL, the product is added (PERFECT!!!), but the discount some times is not (yes, some times I need to enter the URL three times, some times six times…).

    Any guess? xD

    #3092
    Soft79
    Keymaster

    Working fine here. Try clearing browser cache and cookies.

    #3093
    educainventions
    Participant

    I’m doing my tests on a incognito-private window.

    Firefox –> OK
    Safari –> OK
    Chrome for Android –> OK
    Chrome for MacOS –> The above problem: apply-coupon works some times if removed previously.

    Notice it works always if we remove “fill_cart=2841” so we only use “?apply-coupon”.

    Thanks for all your efforts!

Viewing 15 posts - 16 through 30 (of 31 total)
  • You must be logged in to reply to this topic.