What are the Slack Archives?
It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hello, can anybody tell me, what the field “price_data” in “spy_price_product_store” is intended to
Comments
-
It's one of the tables used for publishing to redis. The json data will be the value in redis.
0 -
Hmmm … Are you sure? 🤔 As far as i can see, the data published to redis is an array composed by net_price, gross_price etc …
0 -
array (
‘prices’ =>
array (
3 =>
array (
‘CNY’ =>
array (
‘priceData’ => NULL,
‘GROSS_MODE’ =>
array (
‘DEFAULT’ => ‘40202’,
),
‘NET_MODE’ =>
array (
‘DEFAULT’ => ‘35577’,
),
),
),
),
‘_timestamp’ => 1623867568.163507,
)0 -
There is also a price_data_checksum column which is dependent on the price_data … i wonder if i could use this to detect a change on prices somehow
0 -
My fault, the redis tables are suffixed _storage.
I checked what we're doing with
spy_price_product_store.price_data
and I can tell that we're ignoring it. Our custom price import isn't populating price_data and price_data_checksum. Can't tell if these are legacy fields, but it doesn't seem to be used.0 -
They might be used for volume prices though.
0 -
Ah okay … i see it on some demo import file, but seems not to be intended to use as a free field for whatever^^maybe somebody from spryker could lighten us up
0 -
Currently it's used for volume prices feature. It supposed to be used to add additional functionality in the future.
So you can use it for your needs by adding new
price_data
your_key:{// any data}0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random