• Resolved carligeanuandrei

    (@carligeanuandrei)


    Hi. When i change the text in Append Expiration Time to Pending Order Text: and in Append Included Items to Pending Order Text: , the new text is not saved and the old text disapear. Can not save any text.

    See this short video: https://recordit.co/1di4yPb7RL

    Woocommerce Version 2.6.14

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author James Golovich

    (@jamesgol)

    I tried to reproduce this issue but was not able. What version of WooCommerce Cart Stock Reducer are you using?

    What other plugins do you have installed? (WooCommerce and language related)

    Are you able to change other fields on that page or is it just those two that don’t save?

    Are you able to save other fields under the general WooCommerce settings?

    Thread Starter carligeanuandrei

    (@carligeanuandrei)

    Hi, James.
    My version is 2.0
    Only those two are not saved.
    I have installed:

    Woo AJAX Cart
    WooCommerce Cart Notices
    WooCommerce Checkout Field Editor
    WooCommerce Direct Variation Link
    WooCommerce One Page Checkout
    WooCommerce Quantity Increment
    WooCommerce Variation Swatches and Photos
    WooSwipe
    Loco Translate

    I tried to deactivate the plugins one by one but the problem was not resolved.
    I can change anything except this two fields, it`s strange.

    Cheers,
    Andrei C.

    Plugin Author James Golovich

    (@jamesgol)

    Have you tried using a different web browser or with browser extensions disabled?

    I’m at a loss here, aside from defining the fields the plugin doesn’t really handle any of the processing/saving of the fields.

    Thread Starter carligeanuandrei

    (@carligeanuandrei)

    Yes. I tried using a different browser with browser extensions disabled. All plugins deactivated and i activated just woocommerce and cart stock reducer plugin, and is not working. It`s very strange.

    Plugin Author James Golovich

    (@jamesgol)

    Are there any errors in the javascript console of the browser or in the webserver log?

    What theme are you using? Have you tried switching to one of the default ones to see if there is a conflict there?

    Thread Starter carligeanuandrei

    (@carligeanuandrei)

    No errors on my webserver log. I see one error on console: Uncaught SyntaxError: Unexpected token < (index):2
    I changed the theme with other themes and nothing.

    Plugin Author James Golovich

    (@jamesgol)

    That console error is worth looking into, if you click on the (index):2 it should take you to the text that is causing the issue.

    Also if you have access to phpmyadmin or direct access to the mysql database you could pull the existing settings out and I could try to set mine to exactly what you have to see if the values are causing an issue.
    RUNNING the following command should return the data. The serialized data in the option_value field is what I would need.
    SELECT * FROM wp_options WHERE option_name = ‘woocommerce_woocommerce-cart-stock-reducer_settings’

    Thread Starter carligeanuandrei

    (@carligeanuandrei)

    option_value: a:8:{s:18:”cart_stock_reducer”;s:3:”yes”;s:13:”stock_pending”;s:40:”Actualiz?m stocul. Te rug?m s? revii!”;s:25:”stock_pending_expire_time”;s:0:””;s:32:”stock_pending_include_cart_items”;s:0:””;s:12:”expire_items”;s:3:”yes”;s:11:”expire_time”;s:10:”30 minutes”;s:16:”expire_countdown”;s:7:”addonly”;s:13:”ignore_status”;s:0:””;}

    Plugin Author James Golovich

    (@jamesgol)

    Dropping your option value into my test setup didn’t cause any issues. You should dig into that error from the browser’s console to see where that is coming from. You definitely shouldn’t be seeing an error there.

    Have you looked at the browsers console after submitting the form on the page to see if anything interesting pops up?

    Thread Starter carligeanuandrei

    (@carligeanuandrei)

    You can take a look at https://www.happytoday.ro console. I don`t think that error cause the issue on your plugin.

    Thread Starter carligeanuandrei

    (@carligeanuandrei)

    Is not working on chrome, chrome incognito, blisk mozilla. ?? i don’t understand. Can you take a look on backend if i give you access?

    Plugin Author James Golovich

    (@jamesgol)

    The console error is because you have something outputting a blank line before the <!DOCTYPE html>. So yes that is probably not related.

    If you send some credentials to my email <[email protected]>, If I have some time I can take a look.

    Thread Starter carligeanuandrei

    (@carligeanuandrei)

    For anyone who encounters this problem, with James’s extraordinary help, we have found the solution to solving the problem.

    WooCommerce even has some notes about this:
    https://docs.woocommerce.com/document/problems-with-large-amounts-of-data-not-saving-variations-rates-etc/


    They recommend adding the following to .htaccess:

    php_value suhosin.max_array_index_length 256
    php_value suhosin.post.max_array_index_length 256
    php_value suhosin.post.max_totalname_length 65535
    php_value suhosin.post.max_vars 1024
    php_value suhosin.post.max_name_length 256
    php_value suhosin.request.max_varname_length 256
    php_value suhosin.request.max_array_index_length 256
    php_value suhosin.request.max_totalname_length 65535
    php_value suhosin.request.max_vars 1024

    Thank you very very much James.

    Cheers,
    Andrei C.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Notes are not saved’ is closed to new replies.