Questions tagged [orocommerce]

OroCommerce is an open-source Business to Business Commerce application built with flexibility in mind. OroCommerce can be customized and extended to fit any B2B commerce needs.

If you have questions about how to use, configure, extend or customize OroCommerce, please direct these to Stack Overflow.

If you encounter any issues with your OroCommerce application or noticed inaccuracies in the documentation, please inform the team about them using Github Issue Tracker.

See also:

217 questions
5
votes
2 answers

Assets build error [webpack-cli] Error: Unknown option '--hide-modules'

I am using orocommerce 4.2.1 from AWS marketplace. I made some changes in scss and want to build the assets. When i run the command php74 bin/console oro:assets:build --env=prod I get the following: [centos@ip-172-31-28-85 commerce]$ php74…
4
votes
1 answer

How do I go about testing my own code when using OROPlatform?

I have started a brand new application using just raw OROPlatform. I have wrote some code (entities and configs etc.) I however cannot find in the documentation how and where to place unit and integration tests that would just test my code, not the…
3
votes
1 answer

Orocommerce composer install failed

when i try to install community version of Orocommerce, but i whem excecute next command: composer install --prefer-dist --no-dev after few minutes process stop and return next error: npm ERR! gyp ERR! cwd…
3
votes
1 answer

Datagrid navigate link open in new tab

Is it possible to configure datagrid navigate link to open in a new browser tab? actions: view: type: navigate label: oro.grid.action.view link: view_link icon: eye …
BorisD
  • 73
  • 5
3
votes
1 answer

How can I change application secret in a production orocommerce installation?

In the docs for Symfony 4.4, for the 'secret' configuration option https://symfony.com/doc/4.4/reference/configuration/framework.html#secret, it mentions: As with any other security-related parameter, it is a good practice to change this value from…
stenno
  • 31
  • 2
2
votes
1 answer

OroPlatform: how to implement FileType

I need to add a FileType field to the Customer User Entity. I tried to add it directly in backoffice and it's fine : backoffice screenshot But now, I would like to implement it. Is there any documentations to achieve this? Should I use the…
Reita
  • 33
  • 3
2
votes
1 answer

OroPlatform: wrong timezone with GreaterThan constraint js validator

Context On a Symfony form, I need to restrict a date field to avoid entering a date earlier than the current date. I have seen in the Symfony official documentation that I can use the GreaterThan constraint. Here is my code : /** * @var \DateTime …
Louis Bertin
  • 552
  • 2
  • 12
2
votes
1 answer

How do I expose my extended field to the API?

I've started using OroCommerce, and wanted to try to extend a native OroCommerce entity to add a field to it. For testing purposes, I've tried adding a "testField" field to the Product entity. So I've created a migration class following the…
BSoD
  • 151
  • 6
2
votes
1 answer

OroPlatform: how to override datetimepicker js widget

Context I have a datetime attribute on an entity on my OroPlatform project. It is displayed correctly in the form: Issue Let's imagine the current time is 7pm. If I click on the "Today" button, the time field is filled with 7pm20 value instead of…
Louis Bertin
  • 552
  • 2
  • 12
2
votes
2 answers

OroPlatform: add file relation to an entity

Context I'm currently trying to add file relation to an entity of my OroPlatform project. The goal is to give the opportunity to the user to upload files on the create/update view of a specific entity. I have read in the OroPlatform documentation…
Louis Bertin
  • 552
  • 2
  • 12
2
votes
1 answer

Error while trying to register a custom configuration on OroPlatform

I have an issue when I try to add a custom global configuration on Oro Platform v.4.1.10. My configuration is well registered in the admin panel when I put it on "ui_only" but it doesn't save the value on the database when I try to define it. And I…
Yoann Vié
  • 73
  • 5
2
votes
1 answer

OroCommerce Won't Sync with Incoming Emails

No matter what I do I can't get OroCommerce to sync with incoming emails. I installed OroCommerce using the docs, I optimized my mysql for utf8mb4 / unicode, I checked my doctrine dbal settings for utf8mb4, yet simply no emails will sync. At first…
Arby's
  • 23
  • 4
2
votes
1 answer

Oro Commerce Page Component

I need to add js code that check customer added to form has a property or not, if yes do an action. for example in image below I want to check if the customer added to the form has company type or not, if yes then hide a specific part, I am new to…
2
votes
2 answers

OroPlatform: Open items from application_menu in a new tab

Is it possible to configure some items from back-office's application_menu to open in a new browser tab? There is an option called "Target Window" for frontend_menu but not for application_menu.
BorisD
  • 73
  • 5
2
votes
1 answer

How to to trigger page component events when loading template using Ajax on Oro Platform?

I'm currently facing an issue on Oro Platform v.4.1.10. I have a specific form page where I'm performing an ajax reload on a specific field change. The thing is that everything is working well except that the CSS and JS are not applied to my ajax…
Yoann Vié
  • 73
  • 5
1
2 3
14 15