carryoncoding
Forum Replies Created
-
OK, we may as well close this one. I have had a custom shortcode developed that displays the brands in the order they’re stored on the back-end. I’ll open a new thread to see how to deactivate ”?Category Order and Taxonomy Terms Order” for brands only.
Thanks.
Thanks.
I have confirmed Auto Sort is on and cleared all caches. The only shortcode I can find in the documentation is [product_brand_list] which seems to force alphabetical order.
I have tried adding the snippet at https://woocommerce.com/document/woocommerce-brands/#how-do-i-order-the-brands-on-the-front-end-as-showcased-on-the-admin-panel which is supposed to force the order, but it continues to be alphabetical.Very glad to hear you can get it working at your end. Which shortcode are you using?
Forum: Plugins
In reply to: [WooCommerce] Product brand list set orderThanks. So now that the short code [product_brand_list] is part of WC core (from WooCommerce 9.6), please could you help me with the code at https://woocommerce.com/document/woocommerce-brands/#how-do-i-order-the-brands-on-the-front-end-as-showcased-on-the-admin-panel
This is supposed to modify the order of the brands, but they remain in alphabetical. How do I change the order?
Thanks,
Phil.
Thanks. With effect from v9.6, WooCommerce now incorporates the product_brand taxonomy and associated functionality. The downside with this is that it only offers limited capability. For instance, the shortcode for listing of product_brand is set to alphabetical order.
I’m unsure where to go to modify this. Perhaps there is a hook I can access to modify the WooCommerce behaviour?
I have checked and Autosort is definitely enabled. I think it is being ignored, though.Hope you are able to help,
Phil.Forum: Plugins
In reply to: [LocateAndFilter] Preview not displayingThanks. Tried switching from Firefox to Safgari and Google Chrome with no extensions loaded.
No change in behaviour.
Please could you take another look?
Thanks,
Phil.
Forum: Plugins
In reply to: [LocateAndFilter] Preview not displayingThanks. Yes, tried “Refresh preview”.
The console shows the following errors when I click “Refresh preview”:
08:53:36.841 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://play.google.com/log?format=json&hasfast=true&authuser=0. (Reason: CORS request did not succeed). Status code: (null).
08:53:36.852 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://play.google.com/log?format=json&hasfast=true&authuser=0. (Reason: CORS request did not succeed). Status code: (null).
2
08:53:36.855 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://play.google.com/log?format=json&hasfast=true&authuser=0. (Reason: CORS request did not succeed). Status code: (null).
08:53:36.856 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://play.google.com/log?format=json&hasfast=true&authuser=0. (Reason: CORS request did not succeed). Status code: (null).
2
08:53:46.557 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://play.google.com/log?format=json&hasfast=true&authuser=0. (Reason: CORS request did not succeed). Status code: (null).
08:53:48.876
Unchecked lastError value: Error: menus.create requires an id for non-persistent background scripts. 3 ui-service.js:308
08:53:49.429 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://play.google.com/log?format=json&hasfast=true&authuser=0. (Reason: CORS request did not succeed). Status code: (null).
08:53:52.646
POSThttps://infratec.dev.nsqr.info/wp-content/plugins/locateandfilter_pro/admin/partials/locate-and-filter-preview.php[HTTP/2 500 4268ms]
08:53:52.704 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://play.google.com/log?format=json&hasfast=true&authuser=0. (Reason: CORS request did not succeed). Status code: (null).
08:53:53.722 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://play.google.com/log?format=json&hasfast=true&authuser=0. (Reason: CORS request did not succeed). Status code: (null).
08:53:53.727 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://play.google.com/log?format=json&hasfast=true&authuser=0. (Reason: CORS request did not succeed). Status code: (null).
08:53:53.728 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://play.google.com/log?format=json&hasfast=true&authuser=0. (Reason: CORS request did not succeed). Status code: (null).
2
08:53:54.747 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://play.google.com/log?format=json&hasfast=true&authuser=0. (Reason: CORS request did not succeed). Status code: (null).
08:53:54.748 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://play.google.com/log?format=json&hasfast=true&authuser=0. (Reason: CORS request did not succeed). Status code: (null).
08:53:56.255 Unchecked lastError value: Error: menus.create requires an id for non-persistent background scripts. 3 ui-service.js:308When I refresh the page, the console shows the following:
08:55:02.181
Unchecked lastError value: Error: menus.create requires an id for non-persistent background scripts. 3 ui-service.js:308
08:55:04.035
Unchecked lastError value: Error: menus.create requires an id for non-persistent background scripts. 3 ui-service.js:308
08:55:05.850
Promise rejected after context unloaded: Actor 'Conduits' destroyed before query 'RuntimeMessage' was resolved orchestrator.js:10
08:55:05.853
Unchecked lastError value: Error: menus.create requires an id for non-persistent background scripts. 6 ui-service.js:308
08:55:05.901
POSThttps://infratec.dev.nsqr.info/wp-admin/admin-ajax.php[HTTP/2 403 4409ms]
08:55:07.373 BridgeTimeout: webauthn.js:1:8124
08:55:11.226
Unchecked lastError value: Error: menus.create requires an id for non-persistent background scripts. 3 ui-service.js:308
08:55:11.308
Unchecked lastError value: Error: menus.create requires an id for non-persistent background scripts. 3 ui-service.js:308
08:55:13.881
Unchecked lastError value: Error: menus.create requires an id for non-persistent background scripts. 3 ui-service.js:308
08:55:15.571
POSThttps://infratec.dev.nsqr.info/wp-content/plugins/locateandfilter_pro/admin/partials/locate-and-filter-preview.php[HTTP/2 500 1343ms]
08:55:17.736
POSThttps://infratec.dev.nsqr.info/wp-content/plugins/locateandfilter_pro/admin/partials/locate-and-filter-preview.php[HTTP/2 500 5701ms]
08:55:21.651 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://beacon.dropbox.com/1/update. (Reason: CORS request did not succeed). Status code: (null).
08:55:23.512 Unchecked lastError value: Error: menus.create requires an id for non-persistent background scripts. 6 ui-service.js:308Very many thanks,
Phil.
Forum: Plugins
In reply to: [LocateAndFilter] Preview not displayingThanks. Yes the fault persists when I click “Refresh preview”. Here is the console display when clicking “Refresh preview”:
`</p> <p>13:46:48.834</p> <p>Unchecked lastError value: Error: menus.create requires an id for non-persistent background scripts. 3 <a href=”moz-extension://45e893eb-908f-4d09-8bf1-f43d8bb3bf9a/lib/ui-service.js”>ui-service.js:308</a></p> <p>13:46:50.370</p> <p>POST<a href=”https://infratec.dev.nsqr.info/wp-content/plugins/locateandfilter_pro/admin/partials/locate-and-filter-preview.php”>https://infratec.dev.nsqr.info/wp-content/plugins/locateandfilter_pro/admin/partials/locate-and-filter-preview.php</a><a>[HTTP/2 500 772ms]</a></p> <p>13:46:52.072 Unchecked lastError value: Error: menus.create requires an id for non-persistent background scripts. 3 <a href=”moz-extension://45e893eb-908f-4d09-8bf1-f43d8bb3bf9a/lib/ui-service.js”>ui-service.js:308</a></p> <p>
`
Here is the console output when refreshing the page at https://infratec.dev.nsqr.info/wp-admin/post.php?post=12&action=edit:
13:47:45.035
Unchecked lastError value: Error: menus.create requires an id for non-persistent background scripts. 6 ui-service.js:308
13:47:48.535
Unchecked lastError value: Error: menus.create requires an id for non-persistent background scripts. 3 ui-service.js:308
13:47:48.540
Promise rejected after context unloaded: Actor 'Conduits' destroyed before query 'RuntimeMessage' was resolved orchestrator.js:10
13:47:48.545
Unchecked lastError value: Error: menus.create requires an id for non-persistent background scripts. 3 ui-service.js:308
13:47:48.558
POSThttps://infratec.dev.nsqr.info/wp-admin/admin-ajax.php[HTTP/2 403 569ms]
13:47:48.606
Unchecked lastError value: Error: menus.create requires an id for non-persistent background scripts. 3 ui-service.js:308
13:47:51.908
POSThttps://infratec.dev.nsqr.info/wp-content/plugins/locateandfilter_pro/admin/partials/locate-and-filter-preview.php[HTTP/2 500 723ms]
13:47:51.965
Unchecked lastError value: Error: menus.create requires an id for non-persistent background scripts. 3 ui-service.js:308
13:47:52.668
Unchecked lastError value: Error: menus.create requires an id for non-persistent background scripts. 6 ui-service.js:308
13:47:53.380 POSThttps://infratec.dev.nsqr.info/wp-content/plugins/locateandfilter_pro/admin/partials/locate-and-filter-preview.php[HTTP/2 500 1867ms]Kind regards,
Phil.
Forum: Plugins
In reply to: [LocateAndFilter] Preview not displayingMany thanks. Can you see this image:
https://infratec.dev.nsqr.info/wp-content/uploads/2024/06/LocateAndFIlter-empty-preview.png
Forum: Plugins
In reply to: [LocateAndFilter] Preview not displayingThanks for your response.
The screenshot is of limited value, as it will show the preview window as a white space. Please could you advise how to add a screenshot or screencast to this forum?
Thanks,
Phil.
Hi Andrea, I hope this helps with your fault-finding.
One of our team found that checking 3 options on “Dashboard > WooCommmerce > Settings > PPOM Settings > Basic Settings” has re-enabled the fields on the single product pages.
The boxes are:
- Legacy Inputs Rendering
- Legacy Conditions Script
- Enable Legacy Price Calculations
Naturally we are really pleased that we can start taking orders again.
Kind regards,
Phil.
Many thanks. I look forward to your update once the issue is fixed.
Thanks for your reply.
I have created a DEV site. The only activated plugins are PPOM for WooCommerce, WooCommerce and WooCommerce shortcodes. I have set the theme to 2024.
There are no conditional settings I am aware of.
All PPOM fields are hidden. That is, there are no visible PPOM fields on the display. When I inspect the code, they are all marked as hidden.
Forum: Plugins
In reply to: [Media Sync] Updating Existing Files (again)Thanks so much for this detailed explanation.
I reset the various caches as you described, and the site is now behaving as expected. The hi-res images are being displayed.
Thanks again,
Phil.
Forum: Plugins
In reply to: [Yoast SEO] Yoast SEO prevents password protect on translated pageThanks. Sorry for making this appear lapsed – your alert arrived during a weekend break!
The fault was caused by WPML which requires a parent page to have the password set before a translated copy can. There is a setting change to change this behaviour and I am working with WPML to ensure users can find this in the documentation.
There is no clear reason why deactivating and activating YoastSEO should impact on the fault. I tried this with other plugins and it didn’t happen.
Anyway, to emphasise: YoastSEO is not the culprit here and I am working with WPML to clarify documentation.
Kind regards,
Phil.Many thanks for your response. I notice this discussion is now marked as “Resolved”. Please could you remove that?
I have made a new chart with the same configuration. I have compared behaviour using November data against behaviour using October data. The same thing happens.
I have created a “Private” TEST page that displays the graph. When the chart is set to show October data, it works. When it displays November data, the page crashes.
I can’t see any change in the structure of the data.
Any further thoughts?
Thanks,
Phil.