CSS/JSON Filter Help #276
Unanswered
bensonmunyan
asked this question in
Q&A
Replies: 1 comment
-
Kinda struggling with this a little myself. I'm not sure what I seem to be missing :/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am not sure I understand the relationship between the CSS/JSON Filter and the Trigger text. I'm not a programmer, but your project is of great interest to me. I believe I am pulling the selector correctly for the page I want to monitor based on this. It's my understanding that I would then want to set up the trigger for the desired text (For example, Add_to_Cart) if that is what the button would read when in stock?
For example, this is the selector I copy and input in the CSS/JSON Filter:
#fulfillment-add-to-cart-button-123456789> div > div > div > button
Inspecting the button itself shows the current, out-of-stock value as "Out_of_stock" with in-stock items coded as "Add_to_cart".
Add_to_cart should be the trigger value if I am understanding correctly?
Beta Was this translation helpful? Give feedback.
All reactions