geopapai
Forum Replies Created
-
Hello.
The ctx feed folder is in the exception list in the litespeed cache plugin.
Maybe when it was creted there was an issue (?).
Anyway it was resolved by creating a new feed. You can close this thread if you want.
UPDATE:
Created new feed. I found a SINGLE difference:
The old feed had a description GOOGLEATTRIBUTES while the new FACEBOOKATTRIBUTES.
Program error / bug or user fault (by copying a feed maybe???)
My problem is solved, but take a look at it if you have time.
Γει? σα? εκ ν?ου. Προφαν?? το plugin ε?ναι εγκαταλελειμμ?νο, αλλι?? θα ε?χαμε τουλ?χιστον μια απ?ντηση.
Hello.
Please close the thread as this cannot be solved, its out of the capabilities of the plugin. Thank you.
OK, So I guess this mapping will conflict, or will it work? (order can change if needed)
https://drive.google.com/file/d/1nR1bEJ6lh-2V940rD-WYAsiN8fcL5lP3/view?usp=sharingI cannot use only the woo Availability in my mapping. I want to display my custom _availability field also.
For economy of your time let me try some more mappings and rules Iand I will get back to you.
OK how about this (if this works it will solve my problem):
Can I get Availavility to fill with values both from _stock_status and my custom field?
So Availability will show: In/Out of stock + text
(for variable products text will be empty, but still my feed will export varieties to Bestprice).
Will this work?
https://drive.google.com/file/d/1UblrR1ubRbH6wAnlyMwZjnEfdF9QyPSV/view?usp=sharing- This reply was modified 2 years ago by geopapai.
I am using the default feed for Bestprice.gr . Isn’t Availability a default woo field?
I am “filling” the Availability with values form a custom field, yes, if that is what you mean.
- This reply was modified 2 years ago by geopapai.
Thank you.
Availability is used in the mapping. It is the seventh from above. Take a look again at my mapping here https://drive.google.com/file/d/1EEj1EXs2hUA44XeX88JeRJbG7J4w5bfy/view?usp=sharing
availability is mapped to my ACF _diathesimotita (I call it _availability in my posts to make it easy for you)
Now, about _stock_status . Again, I asked about that above, because I did not know if it will show text or the contents of _stock_status. Even so, the rule does not work in both scenarios. ie it does not give _stock_status as a text on variable products’ variations or content.
As I mentioned in another post, these rules like IF “_availability” IS EMPTY THEN “Availability” IS “_stock_status” are not working, either using _stock_status as simple text, or as a woo field.
Can the rule check my ACF text field to see if it has any content? IF yes, I will manage to give in my THEN clause (Availability) a text that suits me.
But so far all IF clauses I try on my ACF text field do not work.
My mapping works fine with my ACF for simple products only. Variations have an empty _availability field…
If you want to check the scenario, can you please create an ACF text field, and then create a simple and a variable product with, lets say, 2 variations. The simple Product with have content in the field, and the variable not.
Then set a rule that checks the content of the ACF field and has a THEN clause to do whatever… SO: IF ACF field IS EMPTY THEN …. or IF ACF Field IS EQUAL TO xxxx THEN… If the rule works then it’s sth wrong with me or my setup…Thank you so much for your efforts! I really want to use your plugin to create 4-5 feeds so…
Sure.
Mind that my WordPress is in Greek… so whatever “is Greek” to you, please ask…
I included some rules I tried.
My ACF field is TEXT.
_diathesimotita equals _availability
https://drive.google.com/file/d/1yyPkM6V3d9ZXk78za0GJj-Eku_lcD2aJ/view?usp=sharing
And also more rules and mapping
https://drive.google.com/file/d/1EEj1EXs2hUA44XeX88JeRJbG7J4w5bfy/view?usp=sharing
My feed is for bestprice and I will do the same for skroutz
Thank you for your efforts.
- This reply was modified 2 years ago by geopapai.
Tried the above rule as follows IF “_availability” IS EMPTY THEN “Availability” IS “_stock_status” and it is not working…
Tried rule IF “_availability” DOES NOT CONTAIN “days” THEN “Availability” IS “_stock_status” and it is not working…
Will the plugin use my custom field as an IF clause in the rule or not?
OK. Please advice if this approach could work (if the rule checks the field in the beginning, it will probably not work, if it checks after the mapping it should).
IF “Availability” IS EMPTY THEN “Availability” IS “_stock_status”
I have also tried the following:
IF “Product Type” IS EQUAL TO “variable” THEN “Availability” IS “_stock_status”
It did not work. Isn’t this correct?I have ran out of ideas…
- This reply was modified 2 years ago by geopapai.
OK how about this rule
IF “_availability” IS EMPTY THEN “Availability” IS “Stock Status Woocommerce”
Will “Stock Status woocommerce” work in the last clause or will it display the text “Stock Status woocommerce” in my xml feed. I mean do I need to put the db field name (which I do not know) or will it work as above?
Edit: is the fields name _stock_status ?
- This reply was modified 2 years ago by geopapai.
This was the mapping I did. And I tried that rule initially and at the final text box I put _availability_variable (and it did not work of course).
In your rule if I use IS EMPTY (which for variations it actually is) I can then write a test, yes, but my text should indicate if it is in/out of stock.
Let me try a rule I just thought and I will post back
Scrap that…
How do I combine in Availability both my custom field _availability and woocommerce default field availability status text for variations. So in the xml the Availability will have as values either my custom text from field _availability OR “available / out of stock” for my variations. Could there be a rule that checks the stock status of only variable product variations and if in/out of stock then “override” and replace the Availability values (not necessarily from a db field but with simple text sth like in/out of stock -similar to your example of changing values https://adtribes.io/how-to-create-rules/ )?
Mind that it is imperative for us to have the custom text for simple products. So variations come second… To make a business example: I am selling a watch on which the availability is a custom text like “Deliverable in 4 days”. For its watch straps (variations with colour/size) I could just mention “in/out of stock” on my feed – on my woo store this is working fine, but I need to export this also to my feed.
Thanks
Thank you for your prompt reply.
Can you think of any “semi” automatic way of “copying” the values from that specific database column to another that is supproted by your plugin (for example, copy or import column values from _availability_variable to _availability or any other db column) and then create a rule in your plugin to combine it to the Availability field?
Thanks
Thank you.
I solved the issue in another way.
I think it would be a nice feature if the cron job could be programmed to run on a specific time schedule.
Thank you again.