Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

where i can find another button? #51

Closed
vadimka04 opened this issue Jan 31, 2022 · 2 comments
Closed

where i can find another button? #51

vadimka04 opened this issue Jan 31, 2022 · 2 comments
Labels
good first issue Good for newcomers

Comments

@vadimka04
Copy link

vadimka04 commented Jan 31, 2022

I try rewrite that bot for another store. I compare buttons on bestbuy and in source code for change them for another store.

  1. Where i can find that buttons?
    const OOSButton_L2 = "btn btn-disabled btn-lg btn-block add-to-cart-button"
    i find only that button
    const OOSButton_L1 = "c-button c-button-disabled c-button-lg c-button-block add-to-cart-button"
    image
@kkapuria3
Copy link
Owner

Buttons are layered.. That means whenever BB will add new button classes we store them under different variables and check all of them before moving to next step.

OOSButton_L1 = button name in 2021 
OSSButton_L2 = button name in 2022 ..

point is, it should work with both the button classes if BB were to change their button classes overnight..

@kkapuria3 kkapuria3 added the good first issue Good for newcomers label Jan 31, 2022
@vadimka04
Copy link
Author

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants