rudolfl
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Unwanted cache purges!Thank you,
I am up-to-date with updates at the moment, but will do when new updates arrive and will let you know.
I have number of site and not all experience the issue
Rudolf
Post whole screen, then someone will be able to help you
Hi,
Fix is NOT working. Upon quick investigation, $project_config variable is not defined when it is used to detect if fruugo feed is processing.
Rudolf
You can just create field mapping where you map g:gtin to “rank math gtin code (custom attribute)”.
CSV will not work… I already posted about CSV containing BOM characters at the start. Fruugo does not like this…
Rudolf
They asked for CSV, but I should enquire about feed being in XML.
Fruugo is a very strange marketplace — one can not simply submit a feed. It has to be approved by an “integration specialist” first. Originally, Fruugo assigned me one — CED commerce and CSV requirement came from them. CED also told me I can only submit feed through them and there is no other way! After learning that quality of their software was pretty crap, I asked Fruugo if there is another way and Fruugo told me to just submit feed to them directly. This is when I started to use Product Feed Pro, but I never questioned file format.
classes/class-get-products.php
I removed line 2272:
fputs( $fp, $bom = chr(0xEF) . chr(0xBB) . chr(0xBF) );
This functionality should really be optional.
This change allowed Fruugo to accept the file. There are more issues in the feed itself that I fixed (I think I did) by manipulating mapping of the fields, but waiting for them to approve the feed. Once they confirm fix, I will let you know
Looking deeper into the issue, feed unconditionally inserts BOM characters (0xEF 0xBB 0xBF). While it is useful for encodings like UTF-16, but somewhat questionable for UTF-8. There are argument for and against it.
Anyway, I currently modified the plugin code not to insert those and submitted updated feed to Fruugo. Waiting for their reply.
I think, insertion of the BOM should be an option presented in the feed preference where one select feed file format.
Are you planning to do one? ??
In the meantime, I will try to do so with actions
Rudolf
Forum: Plugins
In reply to: [LiteSpeed Cache] VPI images on product pageThanks,
Is there, perhaps, a filter one can use to clear this data? I can hook into product save action and, if image(s) change, I will be able to clear the data. If not, do you know what product metadata VPI is stored in? I can clear this field as required.
Forum: Plugins
In reply to: [LiteSpeed Cache] Wildcard in UCSS Whitelist.retail-user-3-line:before
wrong cssThis is how Chrome shows it in development tools. I just copied and pasted. In HTML/CSS view :: is properly used.
Regardless, how do I target those selectors in UCSS whitelist? Basically, need every class that starts with “retail-“. So I have to list each individual class?
I can see documentation was updated recently and reference to wildcard were removed.
Forum: Plugins
In reply to: [LiteSpeed Cache] Wildcard in UCSS WhitelistUnfortunately, problem is back.
https://www.cheapfascinators.com.au
One can see missing icons in the header on the right.
non-optimized CSS has following selectors:
[class^=”retail-“], [class*=” retail-“]
Also, .retail-user-3-line:before
Those are missing from generated UCSS.
In my UCSS whitelist I have:
.retail-*
.*retail-*So, would think selectors above should be covered
- This reply was modified 1 year, 11 months ago by rudolfl.
Forum: Plugins
In reply to: [LiteSpeed Cache] Wildcard in UCSS WhitelistLooks like it started to work on its own. May be did not wait long enough.
Seem OK now
Rudolf
Does Elite version have this functionality? I am not talking about doing those sort of things through web interface. I really need access to the feed data “on the fly” via filter in custom code (of course I will code myself, but need interface to data)
Forum: Plugins
In reply to: [LiteSpeed Cache] First page load is incorrectIt appears AJAX reloading is not happening.
Here is a page I tried it on: (and saw the problem).
https://www.hatsfromoz.com.au/beige-felt-leafs-winter-racing-fascinator-by-max-alexander/
I captured the Google Chrome network analysis during page load. HAR file is here:
https://drive.google.com/file/d/1CSphGtnE4TGgKIm36vup-yUmDPZpr-bj/view?usp=share_link
You can import it in Chrome dev tools -> Network tab. I let page sit in a “broken” state for few minutes before capturing the trace. No ajax to reload as far as I can see.