Comments (1)
- Цена отдельных итемов берется показывается из "amount_without_discount":
- Дисконт применяется только на отдельные итемы, а не на всю корзину, но показывать нам нужно одну скидку на всю корзину, поэтому берем разницу "amount_without_discount" и "amount" каждого итема и суммируем - показываем полученное число в графе дисконт в соответствии с дизайном в фигме.
- Округляем цифры до второго знака после запятой
- Логика скидки дублируется в клиенте - один тип предметов, количество от 2 до 4 -10%, от 5 до 9 -25%, от 10 и больше -50% на цену только этого типа предметов.
from store-ue4-sdk.
Related Issues (20)
- Property price of price has a struct type mismatch (tag StoreCartPrice != prop StorePrice)
- Ошибки сборки под обе платмормы на Marketplace
- Добавить метод Consume в API
- Расширить webhook-demo для обслуживания демки прокси-сервера логина
- Не высылается meta в url'ах запросов
- Ошибки BP после смены этапа загрузки модуля HOT 1
- Добавить параметр sandbox в API получения токена
- Сделать класс виджета браузера кастомизируемым через настройки
- Обновить дескриптор плагина для 4.23 и поддержать её релиз в отдельной ветке
- An explicit Category specifier is required for any property exposed to the editor or Blueprints in an Engine module.
- Не получается запустить плагин на MacOS
- Добавить валидацию вводимых пользователем данных в демо логина
- Добавить авторизацию через Steam HOT 1
- Авторизация через Steam
- The marketplace version of XsollaStore.cpp has a line that the github repo does not. HOT 1
- UE 5.1 HOT 3
- build failed after 5.1 update
- xsolla plugin force game to start not in full screen mode HOT 1
- any social logged in accounts will crash when token is dead HOT 1
- android social auth cause crash in android shipping build HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from store-ue4-sdk.