Forum Replies Created

Viewing 15 replies - 31 through 45 (of 91 total)
  • Thread Starter Lyk

    (@lyk-1)

    I took a quick look in the code and as you said it seems that the flag is save in the option woosea_allow_update. (answer came in while I was writing this)

    It is very likely I misunderstand something, but are we sure this works as expected?
    All the updates of this option are setting it to no and it seems to never change to yes.

    e.g. This part seems to be doing the opposite than expected:

    if(get_option('product_changes')){
    				$before = get_option('product_changes');
    				$diff = array_diff($after, $before);
    				if(!$diff){
    					$diff['product_id'] = $product_id;
    				} else {
    					// Enable the product changed flag
    			        	update_option('woosea_allow_update', 'no');
    				}
    				delete_option('product_changes');
    			} else {
    				// Enable the product changed flag
    				update_option('woosea_allow_update', 'no');
    			}

    Thanks.

    Thread Starter Lyk

    (@lyk-1)

    Hello again,

    1) I see. So I guess the save settings issue could be related to Redis. I think this could be ok and I could even temporarily disable redis, change the changes and re-enable.

    2) Nice. Could you tell where is this flag saved so that I could check when/if it is set? Furthermore, could the not-refresh be related to redis too?

    Thanks!

    Thread Starter Lyk

    (@lyk-1)

    Hello and thank you for your reply.

    1. Yes redis is used for both db and object caching. In the wp installation, w3total cache is taking care of the caching.
    By the way, feeds are excluded from the page caches (and we are also checking the files directly on the server to make sure that we always see the actual file)

    Regarding the db cache, the plugin offers options to:
    – Never cache the following pages:
    – Ignored query stems:
    – Reject query words: eg ^\s*update\b
    – Reject constants (Disable caching once specified constants defined.): eg. DOING_CRON

    Should we add something as an exception?

    2. Ok! So I guess the only difference of the manual click is that is always regenerates, regardless of the Refresh only when products changed, right?

    I will make a few more check with that in mind and let you know.
    Also, how does the Refresh only when products changed works? It adds an action to save_post and sets a flag when it runs? And before refreshing it checks whether the flag is set?

    Thank you!

    Thread Starter Lyk

    (@lyk-1)

    Hello @gripgrip,

    Thank you for your reply.

    You are right about the head_footer_code page, it was from another plugin.

    Same for the _snippets, it was not from WPCode.
    Upon checking it was from another snippets plugin which does not even exist in that wp site..

    #2 did the job everything seems fine now.

    Thank you!

    I came across the filter woocommerce_shop_manager_editable_roles that one can use as follows.

    add_filter( 'woocommerce_shop_manager_editable_roles', function( $roles ) {
    	return array_merge( $roles, array( 'your_custom_role_1', 'your_custom_role_2') );
    } );

    Check https://github.com/woocommerce/woocommerce/blob/b19500728b4b292562afb65eb3a0c0f50d5859de/includes/wc-user-functions.php#L491-L512

    It seems that the shop_manager is only allowed to edit the customer role.

    Not sure why that’s the case, probably for security reasons, etc.

    Thread Starter Lyk

    (@lyk-1)

    Thank you! Will check them both and will report back if I face any problems.

    Hello @jdavis91

    2. With the plugin can create you own zones and add one or more countries inside.
    So yes, you can have different prices in the same currency as long as you create separate pricing zones for the countries you want.

    3. Automatic exchange rates updates are supported in the pro version.

    The creator will probably verify 2, 3 and will give you more info on 1.

    Thread Starter Lyk

    (@lyk-1)

    No need to completely remove/hide the template.
    Just allow the user to delete theme if they do not need them.

    I believe this would be a quick fix for a future release.

    Thank you and keep up the good work!

    Thread Starter Lyk

    (@lyk-1)

    Hello @hitendra-chopda,

    I have seen that option. However, that setting only hides the templates at the size charts admin page.

    I try to completely remove/disable them so that they do not appear in the product backend page.

    e.g. Say that you have 2-3 custom templates. When creating a new product and search for the correct custom template, then the default templates also appear, making the choice pretty messy.

    Thread Starter Lyk

    (@lyk-1)

    I currently have browser caching disabled so this should not be the case.

    I will investigate further taking into account the info you gave me and will reopen a thread if the issue persists.

    Once again, thank you for your reply!

    Thread Starter Lyk

    (@lyk-1)

    Hello again,

    So if I understood correctly, disabling the option “cache feeds: […]” will automatically exclude any .xml files within the website, regardless of their origin or file location.

    I occasionally have issues with the feed not showing new products and clearing the W3 caches seems to show the correct/updated feed. Thus, I am trying to find out if it’s a caching issue or something different.

    Next time the issue appears, I will check the .xml file directly through the server filesystem. If the issue is related to caching, then the xml file should be updated but the browser will still show the old file because of page caching. Right?

    Thank you again!

    • This reply was modified 2 years, 7 months ago by Lyk.
    Thread Starter Lyk

    (@lyk-1)

    Hello @vmarko,

    Thank you for your reply.

    I have the “Cache feeds” option disabled. But I guess this is for the default wordpress feeds and not for custom feed created by plugins in various folders. Correct?

    The feeds exist under https://DOMAIN/wp-content/uploads/woo-product-feed-pro/xml/some_alphanumeric_id.xml

    Will excluding /wp-content/uploads/woo-product-feed-pro/.* be enough?
    Or should I use something like /wp-content/uploads/woo-product-feed-pro/xml/.* or just with * instead of .*, i.e./wp-content/uploads/woo-product-feed-pro/xml/*

    Thank you again!

    • This reply was modified 2 years, 7 months ago by Lyk.
    • This reply was modified 2 years, 7 months ago by Lyk.
    Thread Starter Lyk

    (@lyk-1)

    Hello again,

    Ok I am sharing the info here:

    == Server Environment ==
    Operating System: Linux
    Software: Apache
    MySQL version: MariaDB Server v10.3.32
    PHP Version: 8.0.17
    PHP Memory Limit: 512M
    PHP Max Input Vars: 1000
    PHP Max Post Size: 64M
    GD Installed: Yes
    ZIP Installed: Yes
    Write Permissions: All right
    Elementor Library: Connected

    == WordPress Environment ==
    Version: 5.9.3
    Site URL: https://–
    Home URL: https://–
    WP Multisite: No
    Max Upload Size: 64 MB
    Memory limit: 128M
    Max Memory limit: 512M
    Permalink Structure: /%postname%/
    Language: en-US
    Timezone: Europe/Athens
    Admin Email: —
    Debug Mode: Inactive

    == Theme ==
    Name: — Child
    Version: 1.0.0
    Author: —
    Child Theme: Yes
    Parent Theme Name: Astra
    Parent Theme Version: 3.7.9
    Parent Theme Author: Brainstorm Force

    == User ==
    Role: administrator
    WP Profile lang: en_US
    User Agent: …

    == Active Plugins ==
    Advanced Woo Search
    Version: 2.51
    Author: ILLID

    Classic Widgets
    Version: 0.3
    Author: WordPress Contributors

    Code Snippets
    Version: 2.14.3
    Author: Code Snippets Pro

    Elementor
    Version: 3.6.2
    Author: Elementor.com

    Elementor Pro
    Version: 3.6.4
    Author: Elementor.com

    ElementsKit Lite
    Version: 2.5.5
    Author: Wpmet

    ElementsKit Pro
    Version: 2.6.4
    Author: Wpmet

    Essential Addons for Elementor
    Version: 5.0.12
    Author: WPDeveloper

    GDPR Cookie Consent
    Version: 2.1.1
    Author: WebToffee

    Moo Elements
    Version: 2.0.2
    Author: José Sotelo

    Moosend Website Tracking
    Version: 1.0.187
    Author: Moosend

    Piraeus Bank WooCommerce Payment Gateway
    Version: 1.6.5.1
    Author: Papaki

    PixelYourSite
    Version: 8.2.18
    Author: PixelYourSite

    Product Feed PRO for WooCommerce
    Version: 11.5.1
    Author: AdTribes.io

    Smash Balloon Instagram Feed
    Version: 6.0.4
    Author: Smash Balloon

    W3 Total Cache
    Version: 2.2.1
    Author: BoldGrid

    WC Hide Shipping Methods
    Version: 1.5
    Author: Rynaldo Stoltz

    WooCommerce
    Version: 6.3.1
    Author: Automattic

    WooCommerce PayPal Payments
    Version: 1.7.1
    Author: WooCommerce

    WooCommerce Smart COD
    Version: 1.6.1
    Author: woosmartcod.com

    Wordfence Security
    Version: 7.5.9
    Author: Wordfence

    == Elementor Experiments ==
    Optimized DOM Output: Active by default
    Improved Asset Loading: Active
    Improved CSS Loading: Active
    Inline Font Icons: Inactive
    Accessibility Improvements: Inactive
    Import Export Template Kit: Active by default
    Additional Custom Breakpoints: Active by default
    Hide native WordPress widgets from search results: Active by default
    : Inactive by default
    Flexbox Container: Inactive by default
    Default to New Theme Builder: Active by default
    Landing Pages: Inactive
    Color Sampler: Inactive
    Favorite Widgets: Active by default
    Admin Top Bar: Active by default
    Page Transitions: Inactive
    Form Submissions: Active by default
    Scroll Snap: Inactive

    == Log ==

    PHP: showing 3 of 3PHP: 2022-04-07 12:22:14 [warning X 2][/var/www/vhosts/[domain]/[…]/wp-content/plugins/elementor/core/experiments/experiments-reporter.php::89] Undefined array key "title" [array (
    ‘trace’ => ‘
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ‘,
    )]
    PHP: 2022-04-07 12:30:43 [warning X 1][/var/www/vhosts/[domain]/[…]/wp-content/plugins/elementor/core/common/modules/ajax/module.php::171] Undefined array key "data" [array (
    ‘trace’ => ‘
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ‘,
    )]
    PHP: 2022-04-07 16:29:11 [warning X 3][/var/www/vhosts/[domain]/[…]/wp-content/plugins/elementor-pro/modules/forms/classes/form-record.php::179] Undefined array key "referrer" [array (
    ‘trace’ => ‘
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ‘,
    )]

    == Elementor – Compatibility Tag ==

    Elementor Pro: Compatible
    Essential Addons for Elementor: Compatible

    == Elementor Pro – Compatibility Tag ==

    Essential Addons for Elementor: Compatible

    Thank you!

    • This reply was modified 2 years, 7 months ago by Lyk.
    Thread Starter Lyk

    (@lyk-1)

    Hello @benjirahmed and thank you for your reply.

    Sure, could you please provide me with an email to sent the information?

    Same here.
    Popup shows the JS error when WP Armour is active.
    Using a clean setup of Astra theme.

    Will wait for the fix, thank you!

Viewing 15 replies - 31 through 45 (of 91 total)