How to display the rendered entity of a store in a code ?

Hi, I have created a small module to display an "Agree to Terms" link in the Drupal Commerce shopping tunnel.
This link displays the store's condition page.
I want to display the rendered store entity instead of the conditions page. How to do this ?
I created in my type of store, a display named "Terms and conditions". I want to make this display in a modal window when the user clicks on the link.

Here is my code :

https://git.drupalcode.org/sandbox/zenimagine-3082137

Drupal8 Commerce 2.x Commerce Checkout Progress

Hi,

Drupal 8 Commerce 2.x Commerce Checkout Progress the block is created but the configure page are not able to see in block.

i am using Drupal version 8.9.3 and commerce version 2.20 PHP version 7.2.29

in block configure page i am not able to see the pages which i can enable the page for checkout progress.

In the block setting page (admin/structure/block/manage/commerce_checkout_progress/indication/configure), it can be configured to show this block only in some checkout pages. 

not able to see the indication configure page

managed_file on Ajax callback is not working

I'm trying to add a managed_file form element through an ajax call when I upload a file after a few seconds uploaded files not render there but not using ajax callback is working fine. What I get back is an empty "" and the wrapper (#suffix, #prefix) ist not applied as well.

for the better understanding issue I am sharing code and GIF file you will get full after check out code and GIF file

Is there something going on with Aquia Dev Desktop 2 and composer?

Running Windows 10. I just installed Acquia DevDesktop released on August 12, 2020.

I created a new Drupal site w DevDesktop and when i try to run composer require I get an error.

composer require 'drupal/devel:^2.0'

Error:

  [UnexpectedValueException]
  Could not parse version constraint 2.0': Invalid version string "2.0'"

I'm running Composer version 1.10.12.

Gear / Cog button does not work on Manage Display pages (Drupal 8)

I am new around Drupal and running a Drupal 8.9.5 up-to-date version on my server. I encountered few problems with the Drupal previously and some-how solved with Google search but this one looks like specific for me. (5.5.5-10.3.23-MariaDB, PHP Version 7.4.9)

When I click the gear icon on manage display page of any type of content type (article, single page, custom) I see the message "please wait" for milliseconds and then nothing happens (no drop downs). 

Below is the PHP log after I click the gear.

[solved] Bootstrap Barrio SASS - needed to run drush cr

Hi All,

I have managed to get the barrio bootstrap sass theme installed, as well as installing gulp and NPM.  But things are not quite as they seem they should be. 

If I have the gulp command entered in a terminal and the browser opens with the preview, if I update and save an .scss file, that browser should refresh to show the changes right? 

I am using the CND library.

Maybe I am missing something?

Thanks in advance,

Mark.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x