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..
Need help with logic 1+1 product free
Hi
I have a problem with logic 1+1 product free.
Products have the same SKU.
I set one product to price 0 and the other is full price.
In overview step the totals are 0 because of this.
Have someone an idea or proposal what is the issue.
Or how we have to map the free product that the calculation is ok (edited)
Comments
-
Do you see 2 separated products in cart or just 1 with quantity 2?
If you want, that products with same SKU are handles separately, you have to set a differentgroupKeyPrefix
0 -
I wan't to separate one product with the same SKU on two in overview step.
So that one product has full price and one is for free.I need this functionality because this is how I get this product from a virtual till external integration.
Which get all the products in the cart and if the product has a promotion than he return it response separate the same product with full value and one for free
0 -
Do you have the demo shop locally? You could have a look whats happening there, if you select
Add as separate item
As I said.. you have to add a groupKey to the product.
https://www.de.b2c.demo-spryker.com/en/sony-nex-vg20eh-201It’s also happening, if you are using the
/cart/quick-add
functionality. With this, each product will be added to cart separately.0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 924 Developer Corner
- 783 Spryker Development
- 88 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
- 25 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