πŸ‡ΊπŸ‡ΈUnited States @Morbus Iff

Account created on 13 May 2004, about 20 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

@vipin.j, we need to update this patch. Core's username and password no longer have #descriptions (see https://www.drupal.org/node/3377041 β†’ ), so we don't need those in this patch anymore, but the "Log in" and "Create new account and continue" tweaks should stay.

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

As you say, you have multiple issues, but "flat + increase by item" is available as a patch here: ✨ Add Shipping method with combination of Flat rate + Flat rate per item Needs review

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

@AlfTheCat, #16, you're almost there. This is what we use:

/**
 * Hide third-party messaging from the Commerce dashboard.
 * Example URL: admin/commerce
 */
.commerce-dashboard {
  display: block;
}
.commerce-dashboard--inbox {
  display: none;
}
.commerce-order-dashboard-metrics-form {
  margin-top: 2rem;
}
πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

nags, please see #143, where future development is happening.

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

(A small wrinkle that I hesitate to mention because it sounds like I'm angry or annoyed and I'm not:) The first inbox fetch is in commerce_install(), which makes it difficult to stop from happening before "it's too late". That is: if you're concerned about sending data to Centarro, the "commerce_dashboard_fetch_inbox_messages" setting doesn't help very much (especially if you're installing Commerce as part of an enterprise installation profile like we are, where settings.php doesn't exist until AFTER the installation profile has finished). By the time you have a chance to disable it (after the installation profile is finished, after you enable the module "just to try it out", etc., etc.), you've already pinged them.

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

Here's what we see when we apply this patch - more than 10 options.

(Note that we're also running a Commerce License patch of ✨ Integrate with Commerce Email for license renewal and expiration Needs review .)

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

Nevermind. See https://www.drupal.org/project/commerce/issues/3413778 πŸ› No link in dashboard to product attributes page Fixed .

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

Marked as wontfix because a) this causes all the tests to fail under D9, b) the revised YAML uses stuff from D10 (thus causing the D9 error), c) Commerce for 9.x is still being supported. Morbus and Vipin will maintain this patch (which we're running locally) going forward, and resubmit when/if 9.x support is dropped.

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

Closed because of the test failures. Which appear to be caused by core:

https://www.drupal.org/project/drupal/issues/3400522 πŸ› TimestampFormatter / time_diff missing config schema Needs work

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

Likely related to https://www.drupal.org/project/commerce/issues/3401590 πŸ“Œ Dispatch the ORDER_PAID event for free orders when OrderStorage is destroyed Active .

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

This post does not have even a hint of enough detail to respond to.

Closing.

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

#3 satisfies my use case for in #2. Yay!

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

@jsacksick, thanks for the pointer.

Does Commerce Core always expect YYYY for the payment expiration date?

I'm not sure calculateExpirationTimestamp() is the _only_ answer, at least, because that also expects a YYYY, but Authorize.net is only asking for (from the user, in Accept.js UI) a YY and also only returns a YY after all is said and done. That then gets saved into commerce_payment_method__card_exp_year.card_exp_year_value. The AcceptJs code DOES call calculateExpirationTimestamp(), but I'm guessing it's only passing in YY.

We'll be looking into this a little more closely in the next few weeks.

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

This is also happening on user/#/payment-methods/#/edit, where Authorize.net is returning (and Commerce is saving into the database) YY, but the select dropdown for year expects YYYY. The month displays fine, but the year will always be the "first item in the dropdown" (i.e., no selection whatsoever).

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

Is a "license renewal" different from "the first time a license was created"? Internally, we're specifically looking for some customizable way of sending an email when a license is created (either via a normal checkout workflow, or because an admin has manually added a licensable order item to an order).

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

For existing sites, this new functionality is... crazy.

Whether the DSM override is enabled or not, the DSM module takes over the Commerce Order types UI (admin/commerce/config/order-types/*/edit), so that an admin can no longer set Commerce's native BCC and Subject line fields. When it IS enabled, it seems to create multiple policies (a default one for ALL/ALL, then an imported one for Receipt/orderTypeID) and NEITHER of those show up in the Commerce Order types UI.

When the DSM override is enabled, the "sensible Body default" seems to use the "current user's permissions" to send out the email, such that an admin testing an order will see *admin-only comments* in the email AND see form controls for adding comments (as an admin would normally see on admin/commerce/orders/#).

And I've yet to get "have the DSM override enabled, but allow continued use of Commerce's default twig template for the Body". If I delete the Body override element entirely, it somehow still uses the "sensible Body default", sending out the bad unstyled HTML (caused by another issue: Warning: file_get_contents(default/files/css/css_I5WrM2XNc4EO21P353X1Tp3NJ4d0oh87oqBOCBGEP18.css?delta=0&language=en&theme=edv_bootstrap&include=eJxLTSmLT8rPLykuKUos0E_NTczM0SmuzE3Lz6uMB3FSi_ST83NzU4uSU-Pzi1JSiwDuVRPD): Failed to open stream: No such file or directory in Drupal\symfony_mailer\Plugin\EmailAdjuster\InlineCssEmailAdjuster->postRender() (line 78 of modules/contrib/symfony_mailer/src/Plugin/EmailAdjuster/InlineCssEmailAdjuster.php). ) with admin comments.

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

This is a very similar problem to https://www.drupal.org/project/radix/issues/3378737 πŸ› Class rename broke included block classes Fixed - variable naming was changed, without actually changing the parent functionality to match.

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

@Anybody: we use both, aye. That module can work for "when the customer leaves the admin a comment"; this issue (and #3267366) handles the other end - an admin responding back to a customer about their order.

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

Closing. Breakpoints for Bootstrap are provided in the subtheme for both Bootstrap 4 and 5.

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

Closing due to lack of OP response.

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

I think just

@import '~bootstrap/scss/variables-dark';

would be the better approach, right?

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

The bigger concern seems to be that switching to OAuth requires switching to their new REST API - currently, we're using a library that uses the XML API.

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

I had the same worries about the #ajax stuff and was going to bypass it by formatting the options as "view_id: display_id".

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

Cause is somewhere in https://www.drupal.org/project/commerce_license/issues/2943888 ✨ Add the ability to re-purchase a license to extend it Fixed .

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

This patch appears to be partly responsible for critical error in 3.0-rc1: https://www.drupal.org/project/commerce_license/issues/3362663 πŸ› RC1: Can't add more than one digital product to cart Fixed

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

Confirmed same issue here. A dealbreaker.

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

Ah! Got it. An echo of #36.

I admit I was confused by this one, at least until I wrote a big long comment explaining why I was confused and then realized: we're talking about a site with multiple Order types, right? If I've got five different Order types with five different needs for Order Item display, we DO NOT want to "make five different custom Views", but rather add four more displays to our currently selected View?

Gotcha. That makes sense.

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

@jsacksick: What do you mean? There is a setting:

+    $elements['order_item_view'] = [
+      '#type' => 'select',
+      '#title' => $this->t('Order item table view'),
+      '#description' => $this->t("Only views tagged with commerce_order_item_table are displayed."),
+      '#options' => $available_views,
+      '#required' => TRUE,
+      '#default_value' => $this->getSetting('order_item_view'),
+    ];
πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

@DamienMcKenna, to be clear: the node count feature that was in previous versions of Taxonomy Menu is now out-of-scope for Drupal 9+? Were there previous discussions on removing this feature that I could read?

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

While #23 works for me without any of the problems other folks have experienced (yet), I think I have an example of #39 too. On product A, I have a "Similar products" entity reference field, which references product B. Now, if I make a view called "Similar Products", intended to be displayed on product A, then it'll take the current entity as the argument (A), relationship load the entity from A's Similar Product field (B), then relationship load the variants from that relationship (B's variants). At this point, if I display the product variant view field "Image", then B's variant's images will be displayed (both in the View preview and on the product A entity). But, if I tweak the view from Fields display to Rendered entity, then I will see the correct B's variant's image on the View preview but, on the product A entity, the image will always show Product A's Image instead.

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

Has anyone gotten this to work with POSTING a new node, with a layout_builder__layout configuration? Every time I add my own layout_builder__layout configuration in the node/TYPE POST request, the node is submitted successfully, but the layout builder configuration is ignored entirely.

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

@tkiehne: There was no reason for them not being included. Likely an oversight. Patch away. Can they be moved to AcceptJsBase.php to reduce duplication?

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

Do the updated patches support the PATCH/POSTing of the layout builder layouts field? Back in #72/75: "When attempting to PATCH a layout_builder__layout field, I receive: "The current user is not allowed to PATCH the selected field (layout_builder__layout)." I receive the same error with POST, meaning I can't create a custom layout in a node (i.e., I can't create custom landing pages from JSON:API). That's my sole need - is this patch only for EXPOSING the data, or also for creating/updating that data?"

πŸ‡ΊπŸ‡ΈUnited States Morbus Iff

Confirming #72 is still an issue with #75: When attempting to PATCH a layout_builder__layout field, I receive: "The current user is not allowed to PATCH the selected field (layout_builder__layout)." I receive the same error with POST, meaning I can't create a custom layout in a node (i.e., I can't create custom landing pages from JSON:API). That's my sole need - is this patch only for EXPOSING the data, or also for creating/updating that data?

Production build 0.69.0 2024