Gitter got replaced by Slack. Please use following invite link https://slack.shopware.com to rejoin the awesome Shopware community! https://www.shopware.com/en/news/an-introduction-to-the-shopware-community-slack/
Hey does anyone know? how to use theme inheritance. I was adding views in theme.json like so:
"views": [
"@Storefront",
"@Plugins",
"@Simple",
"@MyTheme"
],
But it does not change anything. All layouts are default from storefront. Removing all entries, has also no change in frontend.
Hello "together." How can I incorporate the entity "unit" (pointer="product.unit") as a "<sw-entity-single-select ...> into my custom bundle? I've used {% block sw_product_price_form_unit_field %}'s content and the select list is displayed, but when I pick a unit, it throws an error: Status Code: 401 Unauthorized
Ok, I think what I need is Entity Aggregation https://docs.shopware.com/en/shopware-platform-dev-en/references-internals/core/dal#entity-aggregation
$array["prices"]['0']['ruleId'] = '780753d6ad57490593da1cc3926d4a92';
$array["prices"]['0']['quantityStart'] = 1;
$array["prices"]['0']['quantityEnd'] = 999;
$array["prices"]['0']['price']['0']['currencyId'] = 'b7d2554b0ce847cd82f3ac9bd1c0dfca';
$array["prices"]['0']['price']['0']['net'] = '100';
$array["prices"]['0']['price']['0']['gross'] = '119';
$array["prices"]['0']['price']['0']['linked'] = true;
With this array it will not replace the data
@macidev yes - I had similar issues on 6.2 RC .. but on the properties edit page (/admin#/sw/property/detail/UUID). (so editing of the property itself, not on the product page). On that page, only the first 10 are shown and you will need to use the search-box the find others.
I did not check the product page yet, but I suspect these issues are related
How to properly populate a <sw-select-field...> in a module-name-detail.html.twig file with a collection say UnitCollection (entity and collection already set up)?
I had a look into /vendor/shopware/platform/src/Administration/Resources/app/administration/src/module/sw-product/component/sw-product-packaging-form/sw-product-packaging-form.html.twig and got it working!
Can anybody help me with creating orders through the API. These are old orders I am importing. I post to the /order endpoint.
I got most of it working now, except for deliveries and transactions.
I post them in the same call - but for both I get this error:
FRAMEWORK__WRITE_CONSTRAINT_VIOLATION
/0/deliveries/0/stateIdstateId
This field is write-protected. (Got: "crud" scope and "system" is required)"