Magento 2 Rest API get order details from customer id

I am beginner on a magento rest api, I cannot see in the API files or docs on how to retrieve order details of customer from customer id.

[ History ] Open Question : Should all symbols of slavery (see details below) be torn down?

Starting with the biggest ones of all; the Egyptian Pyramids. They were BUILT by slaves! What could be a bigger symbol of racism and slavery?!

Viewing item details of a list in a new page with custom formatting

This may be a noob question, but my search didn’t yield to anything, apologies first.

I am on Sharepoint Online and I would like to be able to click on an item (a row) in a SharePoint list and would like to see the details (all fields) in a new page, instead of the sidebar, and with my custom JSON formatting if possible, like showing Bing Maps instead of a text address, also with a custom layout like having two fields in one row.

I tried switching to Classic Experience from New Experience and other stuff in the List Settings, but nothing seemed to work.

Any ideas will be highly appreciated.

magento2.3 – How to Move upsell block above the product details block?

I can’t seem to figure this out, I want this upsell block to be right above the product tabs:

<block class="MagentoCatalogBlockProductProductListUpsell" name="product.info.upsell" template="Magento_Catalog::product/list/items.phtml">
            <arguments>
                <argument name="type" xsi:type="string">upsell</argument>
                <argument name="view_model" xsi:type="object">MagentoCatalogViewModelProductListingPreparePostData</argument>
            </arguments>
            <block class="MagentoCatalogBlockProductProductListItemContainer" name="upsell.product.addto" as="addto">
                <block class="MagentoCatalogBlockProductProductListItemAddToCompare"
                       name="upsell.product.addto.compare" as="compare"
                       template="Magento_Catalog::product/list/addto/compare.phtml"/>
            </block>
        </block>

Here is my entire product_view.xml

<?xml version="1.0"?>
<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <head>
        <css src="mage/gallery/gallery.css"/>
    </head>
    <update handle="catalog_product_opengraph" />
    <update handle="page_calendar"/>
    <body>
        <attribute name="itemtype" value="http://schema.org/Product" />
        <attribute name="itemscope" value="itemscope"/>
        <referenceBlock name="head.components">
            <block class="MagentoFrameworkViewElementJsComponents" name="checkout_page_head_components" template="Magento_Catalog::js/components.phtml"/>
        </referenceBlock>
        <referenceBlock name="page.main.title">
            <arguments>
                <argument name="css_class" xsi:type="string">product</argument>
                <argument name="add_base_attribute" xsi:type="string">itemprop="name"</argument>
                <argument name="translate" xsi:type="boolean">false</argument>
            </arguments>
        </referenceBlock>
        <referenceBlock name="root">
            <arguments>
                <argument name="add_attribute" xsi:type="string">itemscope itemtype="http://schema.org/Product"</argument>
            </arguments>
        </referenceBlock>

        <referenceBlock name="breadcrumbs" template="Magento_Catalog::product/breadcrumbs.phtml">
            <arguments>
                <argument name="viewModel" xsi:type="object">MagentoCatalogViewModelProductBreadcrumbs</argument>
            </arguments>
        </referenceBlock>

        <referenceContainer name="content">
            <container name="product.info.main" htmlTag="div" htmlClass="product-info-main" before="-">
                <container name="product.info.price" label="Product info auxiliary container" htmlTag="div" htmlClass="product-info-price">
                    <container name="product.info.stock.sku" label="Product auxiliary info" htmlTag="div" htmlClass="product-info-stock-sku">
                        <container name="product.info.type" before="-"/>
                        <block class="MagentoCatalogBlockProductViewDescription" name="product.info.sku" template="Magento_Catalog::product/view/attribute.phtml" after="product.info.type">
                            <arguments>
                                <argument name="at_call" xsi:type="string">getSku</argument>
                                <argument name="at_code" xsi:type="string">sku</argument>
                                <argument name="css_class" xsi:type="string">sku</argument>
                                <argument name="at_label" xsi:type="string">default</argument>
                                <argument name="add_attribute" xsi:type="string">itemprop="sku"</argument>
                            </arguments>
                        </block>
                    </container>
                    <block class="MagentoCatalogBlockProductView" name="product.info.review" template="Magento_Catalog::product/view/review.phtml" after="product.info.stock.sku" />
                    <block class="MagentoCatalogPricingRender" name="product.price.final">
                        <arguments>
                            <argument name="price_render" xsi:type="string">product.price.render.default</argument>
                            <argument name="price_type_code" xsi:type="string">final_price</argument>
                            <argument name="zone" xsi:type="string">item_view</argument>
                        </arguments>
                    </block>
                </container>
                <block class="MagentoCatalogPricingRender" name="product.price.tier" after="product.info.price">
                    <arguments>
                        <argument name="price_render" xsi:type="string">product.price.render.default</argument>
                        <argument name="price_type_code" xsi:type="string">tier_price</argument>
                        <argument name="zone" xsi:type="string">item_view</argument>
                    </arguments>
                </block>
                <container name="alert.urls" as="alert_urls" label="Alert Urls" after="product.price.tier"/>
                <block class="MagentoCatalogBlockProductView" name="product.info" template="Magento_Catalog::product/view/form.phtml" after="alert.urls">
                    <container name="product.info.form.content" as="product_info_form_content">
                        <block class="MagentoCatalogBlockProductView" name="product.info.addtocart" as="addtocart" template="Magento_Catalog::product/view/addtocart.phtml"/>
                    </container>
                    <block class="MagentoFrameworkViewElementTemplate" name="product.info.form.options" as="options_container">
                        <block class="MagentoCatalogBlockProductView" name="product.info.options.wrapper" as="product_options_wrapper" template="Magento_Catalog::product/view/options/wrapper.phtml">
                            <block class="MagentoCatalogBlockProductViewOptions" name="product.info.options" as="product_options" template="Magento_Catalog::product/view/options.phtml">
                                <block class="MagentoCatalogBlockProductViewOptionsTypeDefaultType" name="product.info.options.default" as="default" template="Magento_Catalog::product/view/options/type/default.phtml"/>
                                <block class="MagentoCatalogBlockProductViewOptionsTypeText" name="product.info.options.text" as="text" template="Magento_Catalog::product/view/options/type/text.phtml"/>
                                <block class="MagentoCatalogBlockProductViewOptionsTypeFile" name="product.info.options.file" as="file" template="Magento_Catalog::product/view/options/type/file.phtml"/>
                                <block class="MagentoCatalogBlockProductViewOptionsTypeSelect" name="product.info.options.select" as="select" template="Magento_Catalog::product/view/options/type/select.phtml"/>
                                <block class="MagentoCatalogBlockProductViewOptionsTypeDate" name="product.info.options.date" as="date" template="Magento_Catalog::product/view/options/type/date.phtml"/>
                            </block>
                            <block class="MagentoFrameworkViewElementHtmlCalendar" name="html_calendar" as="html_calendar" template="Magento_Theme::js/calendar.phtml"/>
                        </block>
                        <block class="MagentoCatalogBlockProductView" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="Magento_Catalog::product/view/options/wrapper/bottom.phtml">
                            <block class="MagentoCatalogBlockProductView" name="product.info.addtocart.additional" as="product.info.addtocart" template="Magento_Catalog::product/view/addtocart.phtml"/>
                        </block>
                    </block>
                </block>
                <container name="product.info.extrahint" as="extrahint" label="Product View Extra Hint">
                    <container name="product.info.social" label="Product social links container" htmlTag="div" htmlClass="product-social-links">
                        <block class="MagentoCatalogBlockProductView" name="product.info.addto" as="addto" template="Magento_Catalog::product/view/addto.phtml">
                            <block class="MagentoCatalogBlockProductViewAddToCompare" name="view.addto.compare" after="view.addto.wishlist"
                                   template="Magento_Catalog::product/view/addto/compare.phtml" >
                                <arguments>
                                    <argument name="addToCompareViewModel" xsi:type="object">MagentoCatalogViewModelProductCheckerAddToCompareAvailability</argument>
                                </arguments>
                            </block>
                        </block>
                        <block class="MagentoCatalogBlockProductView" name="product.info.mailto" template="Magento_Catalog::product/view/mailto.phtml"/>
                    </container>
                </container>
                <block class="MagentoCatalogBlockProductViewDescription" name="product.info.overview" template="Magento_Catalog::product/view/attribute.phtml" group="detailed_info" after="product.info.extrahint">
                    <arguments>
                        <argument name="at_call" xsi:type="string">getShortDescription</argument>
                        <argument name="at_code" xsi:type="string">short_description</argument>
                        <argument name="css_class" xsi:type="string">overview</argument>
                        <argument name="at_label" xsi:type="string">none</argument>
                        <argument name="title" translate="true" xsi:type="string">Overview</argument>
                        <argument name="add_attribute" xsi:type="string">itemprop="description"</argument>
                    </arguments>
                </block>
            </container>
            <container name="product.info.media" htmlTag="div" htmlClass="product media" after="product.info.main">
                <block class="MagentoFrameworkViewElementTemplate" name="skip_gallery_after.target" before="skip_gallery_before.wrapper" template="Magento_Theme::html/skiptarget.phtml">
                    <arguments>
                        <argument name="target_id" xsi:type="string">gallery-prev-area</argument>
                    </arguments>
                </block>
                <container name="skip_gallery_before.wrapper" htmlTag="div" htmlClass="action-skip-wrapper">
                    <block class="MagentoFrameworkViewElementTemplate" before="product.info.media.image" name="skip_gallery_before" template="Magento_Theme::html/skip.phtml">
                        <arguments>
                            <argument name="target" xsi:type="string">gallery-next-area</argument>
                            <argument name="label" translate="true" xsi:type="string">Skip to the end of the images gallery</argument>
                        </arguments>
                    </block>
                </container>
                <block class="MagentoCatalogBlockProductViewGallery" name="product.info.media.image" template="Magento_Catalog::product/view/gallery.phtml">
                    <arguments>
                        <argument name="gallery_options" xsi:type="object">MagentoCatalogBlockProductViewGalleryOptions</argument>
                        <argument name="imageHelper" xsi:type="object">MagentoCatalogHelperImage</argument>
                    </arguments>
                </block>
                <container name="skip_gallery_after.wrapper" htmlTag="div" htmlClass="action-skip-wrapper">
                    <block class="MagentoFrameworkViewElementTemplate" after="product.info.media.image" name="skip_gallery_after" template="Magento_Theme::html/skip.phtml">
                        <arguments>
                            <argument name="target" xsi:type="string">gallery-prev-area</argument>
                            <argument name="label" translate="true" xsi:type="string">Skip to the beginning of the images gallery</argument>
                        </arguments>
                    </block>
                </container>
                <block class="MagentoFrameworkViewElementTemplate" name="skip_gallery_before.target" after="skip_gallery_after.wrapper" template="Magento_Theme::html/skiptarget.phtml">
                    <arguments>
                        <argument name="target_id" xsi:type="string">gallery-next-area</argument>
                    </arguments>
                </block>
            </container>
            <block class="MagentoCatalogBlockProductViewDetails" name="product.info.details" template="Magento_Catalog::product/view/details.phtml" after="product.info.media">
                <block class="MagentoCatalogBlockProductViewDescription" name="product.info.description" as="description" template="Magento_Catalog::product/view/attribute.phtml" group="detailed_info">
                    <arguments>
                        <argument name="at_call" xsi:type="string">getDescription</argument>
                        <argument name="at_code" xsi:type="string">description</argument>
                        <argument name="css_class" xsi:type="string">description</argument>
                        <argument name="at_label" xsi:type="string">none</argument>
                        <argument name="title" translate="true" xsi:type="string">Details</argument>
                        <argument name="sort_order" xsi:type="string">10</argument>
                    </arguments>
                </block>
                <block class="MagentoCatalogBlockProductViewAttributes" name="product.attributes" as="additional" template="Magento_Catalog::product/view/attributes.phtml" group="detailed_info">
                    <arguments>
                        <argument translate="true" name="title" xsi:type="string">More Information</argument>
                        <argument name="sort_order" xsi:type="string">20</argument>
                    </arguments>
                </block>
            </block>
            <block class="MagentoCookieBlockRequireCookie" name="require-cookie" template="Magento_Cookie::require_cookie.phtml">
                <arguments>
                    <argument name="triggers" xsi:type="array">
                        <item name="compareProductLink" xsi:type="string">.action.tocompare</item>
                    </argument>
                </arguments>
            </block>
        </referenceContainer>
        <referenceContainer name="content.aside">
            <block class="MagentoCatalogBlockProductProductListRelated" name="catalog.product.related" template="Magento_Catalog::product/list/items.phtml">
                <arguments>
                    <argument name="type" xsi:type="string">related</argument>
                    <argument name="view_model" xsi:type="object">MagentoCatalogViewModelProductListingPreparePostData</argument>
                </arguments>
                <block class="MagentoCatalogBlockProductProductListItemContainer" name="related.product.addto" as="addto">
                    <block class="MagentoCatalogBlockProductProductListItemAddToCompare"
                           name="related.product.addto.compare" as="compare"
                           template="Magento_Catalog::product/list/addto/compare.phtml"/>
                </block>
            </block>
            <block class="MagentoCatalogBlockProductProductListUpsell" name="product.info.upsell" template="Magento_Catalog::product/list/items.phtml">
                <arguments>
                    <argument name="type" xsi:type="string">upsell</argument>
                    <argument name="view_model" xsi:type="object">MagentoCatalogViewModelProductListingPreparePostData</argument>
                </arguments>
                <block class="MagentoCatalogBlockProductProductListItemContainer" name="upsell.product.addto" as="addto">
                    <block class="MagentoCatalogBlockProductProductListItemAddToCompare"
                           name="upsell.product.addto.compare" as="compare"
                           template="Magento_Catalog::product/list/addto/compare.phtml"/>
                </block>
            </block>
            <block class="MagentoCatalogBlockProductViewAdditional" name="product.info.additional" as="product_additional_data"/>
        </referenceContainer>
        <referenceBlock name="product.info.addtocart">
            <block class="MagentoCatalogBlockShortcutButtonsInCatalog" name="addtocart.shortcut.buttons"/>
        </referenceBlock>
        <referenceBlock name="product.info.addtocart.additional">
            <block class="MagentoCatalogBlockShortcutButtonsInCatalog" name="addtocart.shortcut.buttons.additional"/>
        </referenceBlock>
        <referenceContainer name="content">
            <block
                    class="MagentoCatalogBlockUiProductViewCounter"
                    name="product_viewed_counter"
                    template="Magento_Catalog::product/view/counter.phtml"/>
        </referenceContainer>
    </body>
</page>

PostgreSql 12 – Can’t see table details dt (table) but can see all tables dt

I have a custom schema and one table in it. Following answers about searching through custom schemas I have modified by search_path to include new schema.

I can see now all objects in the new schema, so this one works:

xekata_dev=> dt
                List of relations
 Schema |     Name     | Type  |      Owner
--------+--------------+-------+-----------------
 xekata | TestNodeBase | table | xekata_user_web
(1 row)

Now when I want to see table details I do:

xekata_dev=> d TestNodeBase
Did not find any relation named "TestNodeBase".

which shows nothing… 🙁

I tried different ways to but nothing works:

xekata_dev-> d xekata.TestNodeBase
Did not find any relation named "xekata.TestNodeBase".

I am logged as xekata_user_web and my search_path is:

xekata_dev=> show search_path;
  search_path
----------------
 xekata, public

What’s going on? Why I can’t see table details?

Where can we find frequently updated details about travel/entry restrictions due to Coronavirus (nCoV-19)?

Due to the outbreak of nCoV-19 (Novel Coronavirus) many Countries have imposed several entry restrictions. But these are quite confusing for a lot of people. Some countries allow transit through parts of China (like Shanghai) but some restrict transit even through Hong Kong/Macau. Philippines restricted passengers coming from Taiwan too, but I think that that was later changed.

Where can one find a list of such restrictions for all the countries, ideally a source that is updated frequently

InfoPath form templates used to update items on SharePoint lists not pulling in all item details

Disclaimer: I am super new to this so please excuse my lack of correct terminology.

I have a SharePoint list (2016 on-prem) that has several SPD2010 workflows attached to it.
After a new item is created in the list (via a button and InfoPath form), those workflows send out emails to different users to add various pieces of data to the item.
Each different email links the item using a different InfoPath template(view).
I am using the following link to achieve this:

https://site.au.company.net/Lists/Request%20List/Item/Editifs.aspx?List=e38aa077%2D5d9d%2D4ac7%2D9ff3%2D991faeef2a27&ID(%Current Item:ID%)=&DefaultView=Requestor Approval&ContentTypeId=0x0100248D12203A67A148AF6E2F1ACF634D06

E.g. the first email is for the requestor to review and approve, they see the “Requestor Approval” form view. The next email is for a manager to review and approve, they see the “Manager Approval” form view.

These views are setup to display some (not all) of the standard fields that were filled in when the item was first created (Name, registration number, contact email, date created) and then some additional fields particular to that view.
e.g. the manager approval view contains “Manager approved” – which is a yes/no and “Date approved” and “Manager Name”.

All the form templates directly use the SharePoint list fields as entry fields.

The majority of these views work perfectly and bring in all the data that has been completed previously and allow the user to enter just the data that is expected of them. The issue is, a few of them are bringing across all the fields as blank. Since the initial fields are mandatory, the user cannot just complete their fields and move on.

Any ideas as to how I can fix this issue/what could be causing it? The data is still all in the list item and as a note, the default form view, named “Edit” contains all fields and displays all data correctly.

google adsense – Anybody knows the details behind ads optimization companies?

There are many ad-optimization companies that promise to boost my traffic to 1.5x – 3x after using their codes instead of Google Adsense.

I took some investigation and found that a key factor they can have better eCPMs is because they have more advertisers than Adsense has to bid your header banner together.

My question is, how does it work? Will this process slow down the ads displaying?

Edit tax class in Woocommerce admin order details

I am trying to make select box to change tax class at admin order detail in Woo. I made column, select box with tax classes, when the product is one, it works perfectly. But when i have more than 2 products it gets tax class what have the last of the list (you can see it in video). I would like to be able to set tax class for every item separately… Thanks for help

Here is video

My code in functions.php is like that

function tax_edit_col_h($order){
  ?>
  <th class="line_changetax">
    Změna daně
  </th>
  <?php
}
add_action( 'woocommerce_admin_order_item_headers', 'tax_edit_col_h' );


function tax_change($item_id, $item, $product) {
    if('line_item' === $item->get_type()){
    ?>
        <td class="line_changetax" style="width:20%">
            <select name="change_tax" id="change_tax_select" style="width:90%; display:inline-block">
                <?php
                $arraytax = WC_Tax::get_tax_class_slugs();
                    echo '<option value="'.$item->get_tax_class().'">'.$item->get_tax_class().'</option>';
                foreach($arraytax as $tax){
                    echo '<option value="'.$tax.'">'.$tax.'</option>';
                }
                ?>
            </select>
        </td>
    <?php
    }
}
add_action( 'woocommerce_admin_order_item_values', 'tax_change', 10, 3 );


function change_order_item_tax_class( $item ) {
    if (isset($_POST('change_tax')) ) {
        $item->set_tax_class($_POST('change_tax'));
    }
}
add_action( 'woocommerce_before_save_order_item', 'change_order_item_tax_class' ); 

How to get virtual performance details?

Integrated Assessment Services is a registered organization in Qatar and group company of M/s. Integrated Assessment Services Pvt. Ltd. (IAS-INDIA). IAS has its direct presence in 6 countries and its associates in 14 more countries to deliver ISO certification, ISO training activities to its customers.