Comments (8)
Thanks for using our plugin and submitting a feature suggestion. It would be a nice feature. We do not intend to add it as we don't see the business value (for us) but if you have an idea on how to implement it feel free to submit a merge request. I would be glad to help.
from syliustierpriceplugin.
I tried to override the entity but error throw:
Fatal error: Cannot declare class App\Entity\TierPrice because the name is already in use
App\Entity\TierPrice:
type: mappedSuperclass
table: brille24_tierprice
Tired also updating the resource:
sylius_resource:
resources:
brille24.tierprice:
classes:
model: App\Entity\TierPrice
Any idea?
from syliustierpriceplugin.
Looks like some kind of include bug. Because the class App\Entity\Tierprice
already seems to exist. This should not be a config problem.
from syliustierpriceplugin.
So, is there a way I can add a field on Brille24\SyliusTierPricePlugin\Entity\TierPrice ?
from syliustierpriceplugin.
This should be possible. I have never worked with YML as doctrine mappings so maybe there is missing something. But it works if you just override the entity with itself without adding any properties?
from syliustierpriceplugin.
Found the bug (a typo). It works now. Thanks!
from syliustierpriceplugin.
Great that you could get it to work. Your welcome.
from syliustierpriceplugin.
Closed. Please update to version 1.6 to get this feature.
from syliustierpriceplugin.
Related Issues (20)
- Does it support Sylius 1.3.x HOT 8
- Delete button not working HOT 1
- Tag current master HOT 5
- Unable to override plugin templates HOT 3
- Fixtures loading is broken HOT 1
- Price validation is less than or equal to zero
- Form extension priority error
- Issue updating tier prices for customer groups HOT 6
- Exception during the database update HOT 4
- Working with 100's of quantities and adjustments HOT 1
- Schema not updating in default installation. HOT 1
- Plugin installation override the doctrine migration_paths order HOT 3
- sylius 1.11 support HOT 3
- Original price is not set HOT 3
- Support for Sylius 1.12 HOT 18
- I cannot see "tier prices" in a configurable product HOT 4
- Setting tiered price in one variant is showing tables for all variants HOT 3
- Dependency injection fails: non-existent service brille24.factory.tierprice HOT 3
- Expected argument of type "int", "null" given at property path "qty". HOT 2
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 syliustierpriceplugin.