Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter nits1404

    (@nits1404)

    Its already done. Thanks. You can close this ticket

    Thread Starter nits1404

    (@nits1404)

    Okay will try but does this account for sale price?? Technically actual price is the same its only the sale price or the sale ends.

    • This reply was modified 1 year, 11 months ago by nits1404.
    Thread Starter nits1404

    (@nits1404)

    ++ it will be like a simple checkbox only. Toggling it will add/remove wallet amount

    Thread Starter nits1404

    (@nits1404)

    HI,
    Thank you guys for the reply. I would really appreciate if you can help or provide me with the custom code that you are talking about so that i can integrate it seamlessly with the RMA plugin. My usecase is simple only. I provide amount in wallet against my return order. So its basically like amazon/paytm wallet, the coupon amount will be auto select with the total amount applicable.
    Thanks and regards
    Nitesh

    Thread Starter nits1404

    (@nits1404)

    HI,
    Thanks for responding back. Just a suggestion, if the coupon value is already lower than the total product amount, the customer would never think like okay, let me use some value(not the whole amount) from the coupon amount and remaining I would pay via card or some other mode. It will be tedious and add complexity. I believe the whole point of wallet is ease of use.
    Maybe you guys have some other use case in mind which I am not getting it. Can you please let me know or help me with some snippet that I can paste to have that functionality, I believe that would not be too hard to do. I would really really appreciate it
    Thanks and regards
    Nitesh

    • This reply was modified 3 years, 4 months ago by nits1404.
    • This reply was modified 3 years, 4 months ago by nits1404.
    Thread Starter nits1404

    (@nits1404)

    Hi,
    I meant if this is the issue this should be passed on to the dev team not the solution though. I knw this is a workaround but even I am not sure why editing .htaccess did not work????.
    I would be okay to share my machine to the Devs if they want to see.
    Thanks

    Thread Starter nits1404

    (@nits1404)

    Solution to work it out. Maybe this is something that can be passed to the developer. It seems it cannot be controlled by the plugin.
    Okay the only thing that worked for me is:
    1)go to lightspeed admin console
    2) Go to general settings
    3) Go to Expires Settings
    4) In Expires By Types set ‘application/font-woff=A604800’ or whatever content type for you wish to cache
    5) Restart the lightspeed server.

    Thread Starter nits1404

    (@nits1404)

    HI,
    i have talked to the provider team. They said this is not something that is blocked from their side and since i am using my own vps i have the full control of cache control header. So it seems provider is not the problem.

    • This reply was modified 4 years ago by nits1404.
    Thread Starter nits1404

    (@nits1404)

    HI, this is still not working. Can you tell me the place where i should add it?? As in the location within the .htaccess file. Maybe thats the problem?

    Thread Starter nits1404

    (@nits1404)

    This is my .htaccess file

    # BEGIN LSCACHE
    ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
    <IfModule LiteSpeed>
    RewriteEngine on
    CacheLookup on
    RewriteRule .* - [E=Cache-Control:no-autoflush]
    RewriteRule \.object-cache\.ini - [F,L]
    
    ### marker CACHE RESOURCE start ###
    RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php - [E=cache-control:max-age=3600]
    ### marker CACHE RESOURCE end ###
    
    ### marker FAVICON start ###
    RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400]
    ### marker FAVICON end ###
    
    ### marker WEBP start ###
    RewriteCond %{HTTP_ACCEPT} "image/webp" [or]
    RewriteCond %{HTTP_USER_AGENT} "Page Speed"
    RewriteRule .* - [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+webp]
    RewriteCond %{HTTP_USER_AGENT} iPhone.*Version/(\d{2}).*Safari
    RewriteCond %1 >13
    RewriteRule .* - [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+webp]
    ### marker WEBP end ###
    
    ### marker DROPQS start ###
    CacheKeyModify -qs:fbclid
    CacheKeyModify -qs:gclid
    CacheKeyModify -qs:utm*
    CacheKeyModify -qs:_ga
    ### marker DROPQS end ###
    
    </IfModule>
    ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
    # END LSCACHE
    # BEGIN NON_LSCACHE
    ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
    ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
    # END NON_LSCACHE
    
    # BEGIN WordPress
    # The directives (lines) between "BEGIN WordPress" and "END WordPress" are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    <filesMatch ".(ttf|otf|woff|woff2)$">
    Header set Cache-Control "max-age=604800, public"
    </filesMatch>
    
    # END WordPress
    Thread Starter nits1404

    (@nits1404)

    HI,
    I am sorry i did not get what you are saying. Can you explain a bit??
    I am using self hosting with cyberpanel installed, what does hosting provider has to do with it??
    Also I have already added the below lines before but it does not seem to work:

    <filesMatch “.(ttf|otf|woff|woff2)$”>
    Header set Cache-Control “max-age=604800, public”
    </filesMatch>

    Is the location of this code is wrong?? I have placed it in the last just before the end wordpress comment and outside of <IfModule>

    Thanks

    • This reply was modified 4 years ago by nits1404.
    • This reply was modified 4 years ago by nits1404.
    Thread Starter nits1404

    (@nits1404)

    Hi, static cache is on there. I can see files like css/js also serves from cdn but not woff file. And no cache control header on the font request.
    Thanks

    • This reply was modified 4 years ago by nits1404.
    Thread Starter nits1404

    (@nits1404)

    Sure i will create a ticket thanks.

    Thread Starter nits1404

    (@nits1404)

    No, object cache is disabled in the default config. Redis is runnig thoough in the background but since it is not integrated with wp so i dont think that is the problem. I can try and disable it completely??

    • This reply was modified 4 years ago by nits1404.
    Thread Starter nits1404

    (@nits1404)

    Hi,
    No plugin is installed and only theme and elementor is active. Definelty plugin issue. No problem when cache set manually.
    Please do look into it. It is quite a problem if there is a bug.

    • This reply was modified 4 years ago by nits1404.
Viewing 15 replies - 1 through 15 (of 17 total)