Replies: 3 comments 2 replies
|
Hey @is-hiku , that's an interesting suggestion for setting a price on product attributes. Another way to look at this would be to create variants rather than separate products (using Hamburger as the parent product). This way you can go into 1 product and change the prices for that option. |
0 replies
|
Pricing by attribute would be a neat feature |
0 replies
|
@is-hiku I am moving this to Ideas section, as it seems to be an interesting feature request.
const swell = require('swell-node').init('store-id', 'secret-key');
await swell.get('/products', {
where: {
'attributes.size': {
$exists: true
}
}
});
Would this work for you for the time being? |
2 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.
Use Case
For simplicity's sake, let's say I have 10 dishes under a the category Hamburger. These 10 hamburgers share a certain modifier (option) that enables the user to select from different types of breads (values) e.g. Brioche, Sourdough. Depending on the user's selection the price should change. I have been able to make this work at the product level by creating an option, creating values, adding a price to the value. It works. However, the problem is that it's not realistic for an admin to modify the price of a particular bread on EACH option for EACH product. Instead the admin should be able to go to one screen (Attributes, maybe?) update the price for a particular bread and that's it.
I think I'm lost with the concepts of product options, variants and attributes. I've read the docs, played around with the dashboard. I just can't get it to work.
Are there any kind souls that can point me in the right direction?
All reactions