magento2 – View order details in order history

Basically, I want to display detailed information about customer orders in the Order History page under Customer Account Page (My Order History).

Exactly what I did?

I've crushed vendor/magento/module-sales/view/frontend/templates/order/history.phtml through the change of layout below:




    
        
    
    
        
            
                Btech_OrderTracking::order/history.phtml
            
        
    

In my history.phtml app / code / Btech / OrderTracking / view / frontend / templates / order / history.phtml

    

getRealOrderId() ?>

Want to Show Order Items

I want like as below the screen:

enter the description of the image here

json – destruction view REST export

I can not deconstruct this JSON output from a View REST export:

(
{
nid: (
{
value: 5
}
),
title: (
{
value: "Bootstrap portfolio theme",
lang: "en"
}
)
},
{
nid: (
{
value: 3
}
),
title: (
{
value: "Article #3",
lang: "en"
}
)
},
{
nid: (
{
value: 2
}
),
title: (
{
value: "Article #2",
lang: "en"
}
)
}
);

My 2 React components are:

& # 39; Nodelist & # 39 ;, to retrieve a list of nodes

import React, { Fragment, useState, useEffect } from "react";
import config from "../../../config";
import axios from "axios";
import NodeListItem from "./NodeListItem";

const BASEURL = `${config.baseurl}`;
const VIEW = "nodeslist";
const ENDPOINT = `${BASEURL}${VIEW}?_format=json`;

const NodeList = () => {
  const (nodes, setNodes) = useState(());

  useEffect(() => {
    loadNodes();
    // elsint-disable-next-line
  }, ());

  const loadNodes = async () => {
    const rsp = await axios.get(`${ENDPOINT}`, {
      mode: "cors"
    });

    setNodes(rsp.data);
  };

  return (
    
      {nodes.map(node => (
        
      ))}
    
  );
};

export default NodeList;

& # 39; NodeListItem & # 39 ;, for the destructuring of the single element

import React from "react";
import PropTypes from "prop-types";

const NodeListItem = ({ node: { nid, title } }) => {
  return (
    

{nid.value}

{title.value}

); }; NodeListItem.propTypes = { node: PropTypes.object.isRequired }; export default NodeListItem;

in & # 39; NodeList & # 39; console.log(node.nid(0).value) saves the correct values, whereas in & # 39; NodeListItem & # 39; console.log(nid.value) given undefined. Any ideas on how to properly unpack the View REST export? Thank you for your help.

Keyboard – Quirky Qt Creator Shortcut for Split View

Look at him Split shortcuts Qt Creator (installed from https://download.qt.io/archive/online_installers/3.1/).

enter the description of the image here

What is it? Should I Ctrl+E+2? I have tried it does not work. Why the order is not on the safe side?

Then I tried to remap on another key like Ctrl+Cmd+J, does not work either.

8 – How to create a view containing content belonging or not to groups?

I have newsletters, some do not belong to any group (they are universal) and others belong to groups. I wish I could see them both in the same view depending on whether a filter is applied or not. How can I do this in Drupal 8?

This is similar to this question that was made for the own content of the Drupal List 7 groups and for all non-group content on the groups page.
but in Drupal 8, it uses the Group module instead of organic groups.

How to View E-Commerce Data in Firebase Analytics

I am currently setting up Firebase Analytics for my apps on iOS and Android. I already have an "old" Google Analytics property that allows me to see all the basic elements supported by Firebase one way or another.

But I also use the old GA for detailed e-commerce information about sales, including product performance. Unless something fundamental about Firebase I miss completely, there does not seem to be any similar functionality ready for use?

It seems that I can only see aggregate revenues for all sales and not revenue at the product level. I guess I could do this by setting up events for individual product purchases, but what if I have more products than the maximum number of events allowed in Firebase?

So my question is: how can I configure Firebase so that it shows me all the basic "conversions", such as GA's revenue, quantity, and unique purchases?

View PDF files with jp2 / jpeg200 images in Ubuntu 18.04

After exporting PDFs from Goodnotes 5 to iOS, I realized that images embedded in jpeg2000 / jp2 format were exported to the PDF file.

Is there a PDF viewer that can be used to view such PDFs with JP2 images? I've tried the default document viewer, okular and the Foxit player. The document viewer and okular display a very pixelated image, while the Foxit player displays nothing at all.

Any help would be appreciated.

magento2.3 – Magento 2: View data from a custom table in the grid

Battery Exchange Network

The Stack Exchange network includes 175 question-and-answer communities, including Stack Overflow, the largest and most reliable online community on which developers can learn, share knowledge and build their careers.

Visit Stack Exchange

The entity reference view fails after the drupal 8.7.6 update

Recently, I updated my Drupal site from 8.6.14 to 8.7.6.

A view of the reference of the previously functional entity connected to a Form AutoComplete field no longer works. The circle of rotation continues to rotate and does not match the user's input to an entity.
(The ER View View concatenates a user's email address and company name to facilitate user selection: "joe@smith.com – Smith Plumbing, Inc.")

The error in the log is:

Error: Class 'DrupalviewsPluginEntityReferenceSelectionXss' not found in DrupalviewsPluginEntityReferenceSelectionViewsSelection->stripAdminAndAnchorTagsFromResults() (line 272 of /Applications/MAMP/htdocs/chapter6/core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php)

I've added "Use Drupal Components Utility XSS" to ViewSelection.php and now the error is

Recoverable fatal error: Object of class DrupalviewsViewExecutable could not be converted to string in DrupalCoreEntityEntityAutocompleteMatcher->getMatches() (line 69 of /Applications/MAMP/htdocs/chapter6/core/lib/Drupal/Core/Entity/EntityAutocompleteMatcher.php) 

Has anyone else ever experienced it in the last drupal 8?

magento2.3.2 – Magento 2.3.2 Failed to load the "Magento_GiftMessage / js / view / gift-message" component

On cart page I am receiving this error in console: Failed to load the "Magento_GiftMessage / js / view / gift-message" component

Applied coupon code "test123" not showing in cart page summary. However the subtotal showing correct with deducted of discount amount.

I have disabled 3rd party modules one by one. Still no change. Maybe this error is responsible for not showing up Discount amount in cart page summary.

Taskbar and open windows moving to the main view after locking

2x monitor configuration

Main (1) right through the display (port 1) on the graphics card, secondary (2) left via HDMI (port 2) on the graphics card (hics card)

I put my taskbar on (2). I open several windows of applications on (2).

When I lock my screen and come back, the taskbar and all windows of the application are now activated (1).

J & # 39; have:

  • modified the parameters to exchange them, the same thing happens in reverse
  • updated all the drivers
  • modified display ports (no effect)

System:

  • Windows 10 Pro 1809
  • Nvidia GTX 2060 Super