Replies: 5 comments 1 reply
-
These are the files you'll be modifying:
1. /streetmerchant/.env
2. /streetmerchant/src/store/model/store.ts Under "export type Brand =" add..
Under "export type Model =" add..
3. /streetmerchant/src/store/model/newegg.ts
|
Beta Was this translation helpful? Give feedback.
-
Thank you for the tutorial! Was a bit tricky but I managed to get it to work. Hope the devs can add the combos natively soon as I guess I can't update from source now. Don't forget to increase the max price in the .env file, anyone else doing this! Also I believe the hashed comments aren't valid, they will need to be removed also. |
Beta Was this translation helpful? Give feedback.
-
Something to note is that you don't need a custom brand. You can use the same brand of the card in the bundle. I only customized the model and just appended a b on the end of it to indicate the bundle number. It wouldn't be hard to draft a PR for this. Though... it'd probably be a good idea to add support for using an environment variable to toggle querying for bundles. |
Beta Was this translation helpful? Give feedback.
-
I just added the Powercolor Fighter to my NewEgg store. I'm realizing a lot of other entries do not have an itemNumber property. Is this required? I see it's used for the real time tracking method. I'm going to try and read through the code but I'm hoping items without the itemNumber don't fail and show "Out of Stock" when it's not really checking. |
Beta Was this translation helpful? Give feedback.
-
Hi guys, I've just tried adding to new products (the xbox wireless headset and ps5 charging station) by following the instructions provided by @TyrantRex however when I go to run I'm getting 2 errors.. 1: src/store/lookup.ts:442:22 - error TS7053: Element implicitly has an 'any' type because expression of type 'Series' can't be used to index type ' 2: src/notification/discord.ts:56:42 - error TS7053: Element implicitly has an 'any' type because expression of type 'Series' can't be used to index type ' Does anyone know how to resolve these/what needs correcting? Many thanks Update: Figured it out. You also need to edit the config file with the new series max price and notifications section. |
Beta Was this translation helpful? Give feedback.
-
Description
What is the best way to add a new product from newegg to the bot?
Beta Was this translation helpful? Give feedback.
All reactions