I use Drupal 8 and Commerce 2, I have standard Drupal shipping, have 2 types of product “default” and “downloadable” and set standard shipping in Drupal 8 and Commerce 2.
I have 2 question now:
How I can get product types in order.
How I can programmatically get info (name, cost and etc) for shipping in order.
Now I use:
$order = Order::load(1);
foreach ($order->getItems() as $key => $order_item) {
I have a site where people can register for different levels of access. For one of those roles they will "own" content and potentially staff. To accomplish this grouping of content and users I think the Group module will suit my needs.
I am wondering if anyone has experience creating and assigning groups automatically upon registration.
For example, a person signs up as a gallery owner. Upon registration a group of type "owner" is created and that person assigned as the group creator.
I'm just learning the ins and outs of migrating from drupal 7 to drupal 8 and I've come to the issue of migrating the images. Working one content type at a time I'm hit with this error:
After a fresh installation, I have installed the bootstrap_rijkshuisstijl 8.x-1.0 theme, with the required components 8.x-1.0 module. When I active this module the following error appears on the site:
The website encountered an unexpected error. Please try again later.
Hello, I want to know how to "merge" 2 attachments. I have 1 attachment doing 1 filter, the second is also doing 1 filter.
Both attachment are attached to my page, but the pagination isn't working, this makes 2 paginations (1 for the first attachment, 1 for the second). I want to "merge" theses two attachments to have one and only one pagination.