magento2 – Add DropDown in Sales Order Grid Section in Magento 2.2.5

I have checked some of the links but they do not work my need so Please help someone who did this before

sales_order_grid.xml

<?xml version="1.0" encoding="UTF-8"?>
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
    <columns name="sales_order_columns">
        <column name="company_status">
            <argument name="data" xsi:type="array">
                <item name="options" xsi:type="object">MagentoCompanyStatusUiComponentListingColumnCompanyStatusOptions</item>
                <item name="config" xsi:type="array">
                    <item name="filter" xsi:type="string">select</item>
                    <item name="component" xsi:type="string">Magento_Ui/js/grid/columns/select</item>
                    <item name="dataType" xsi:type="string">select</item>
                    <item name="label" xsi:type="string" translate="true">Company Status</item>
                </item>
            </argument>
        </column>
    </columns>
</listing>

Options.php

<?php

namespace MagentoCompanyStatusUiComponentListingColumnCompanyStatus;

use MagentoFrameworkDataOptionSourceInterface;

class Options implements OptionSourceInterface
{
    public function toOptionArray()
    {
        $options = ();
        $options() = (
            'label' => 'Payment & Artwork: Y > Vplus',
            'value' => 0
        );
        $options() = (
            'label' => 'Payment or Artwork: N',
            'value' => 1
        );
        $options() = (
            'label' => 'Payment & Artwork: N',
            'value' => 2
        );
        return $options;
    }
}

Shared Hosting Deals, Sales, Special Offers 2021

Whether you’re a beginner, blogger or a large business, build a strong foundation for your website with one of the top-rated hosting services and demanding too i.e. Raisinghost. We offer best resource web hosting with robust tools to help you build attractive, responsive and functional website. Its being top choice with seller WordPress, vps and reseller hosting plans. If you are keen with using wordpress as websites base then our wordpress shared hosting plans are perfect for you.

So its true that people discovers/develops new business and they need sites and hosting for such requirement and we have best deals running this month with shared, wordpress and reseller hosting, get 50% discount and save huge bucks:

Promo Code : SPECIAL50

Key Features :

– Reasonable Pricing
– Instant Setup
– 30 Days Money Back Guarantee
– CloudLinux
– Easy Control Panel
– Free DOMAIN
– Softculous (One Click Installation)
– MariaDB (MySQL)
– 24×7 Support
– FREE Unlimited SSL Certificates
– MultiPHP Selector
– PHPMyAdmin
– Remote daily backups
– Free Websites Migration
And MUCH MORE….

Question and Answer:

Q. Will this 50% discount applicable for the future renewals too ?
A. Yes

Q. Are there any hidden prices in middle of hosting duration ?
A. No

Q. What is the server location for shared/wordpress hosting ?
A. Servers are located in USA

Q. Is there any money back guarantee ?
A. Yes, shared & reseller hosting plans are covered under 30 days money back guarantee

Q. Single click script installer offered ?
A. Yes, it is.

Join Now : https://www.raisinghost.com/

Thank you.

CHEAP PREPAID VISA CARD,CLONE CARDS, CREDIT CARD(ccv), SSN+DOB+DL for sales

CHEAP PREPAID VISA CARD, CLONE CARDS,DUMZ,CREDIT CARD LOADED WITH BALANCE.

ONLINE DIGITAL CC

$250  for  $1500
$450  for  $3000
$550  for  $6,000

Physical/clone card ?? LIST ??

$400 for  $1500
$600  for  $3000
$1000  for  $6,000
$2500  for  $15,000
$4000 for  $35,000
$7000 for $70,000
$10,000 for $150,000 

?? All atm cards with pins ??, we can also make customised personalised cards with your names engraved in it ($100 extra)
Other amounts can be discussed
All payments via bitcoin. ??
Worldwide delivery ??

————————-
3000+ New York (NY) Pros + DL for sale ? ????
Got site for DL lookups??
TLO !!!!

Background reports
TLO LOOKUPS
DL lookups
Ssn lookups
Email flood
SMS flood
Call flood
Phone reverse lookup
Any car owned by somebody

DL Lookups all state orders hit my Inbox. Let’s get ya sorted..
Got valid ny pro with DL ??
SSN lookup site????
PPP SAUCE????
CLEAN CREDIT SAUCE????

NY PROS w/ DL REPLACEMENTS UP ALL DAY LETS GO! ??????????????

ALL DAY

IL PROS w/ DL (in bulk)
AZ PROS w/ DL (in bulk)
FL PROS w/ DL (in bulk)
KS PROS w/ DL(in bulk)
TX PROS w/ DL (in bulk)
NV PROS w/ DL (in bulk)
CA PROS w/ DL (in bulk)
MA PROS w/ DL (in bulk)
OH PROS w/ DL (in bulk)
MI PROS w/ DL (in bulk)

* REPLACEMENTS FOR ALL **

—————————
Are you looking for CC (credit card) Carding ? But Still get Legit Seller Good!

Now you can buy ccv from me for carding, I have ccv for sale US UK CA AU EU Inter Japan TW DE GB good!

SELLING CCV WORLDWIDE GOOD US UK CA AU EU INTER FRESH CARD!

GOT FRESH TRACK DUMPS US 101 201 FRESH DATA UPDATE EVERY DAY!

CVV LIST:

U.S  MASTER VISA 25$/PER

U.K MASTER VISA 40$/PER

JAPAN CVV 50$ /PER

CANADIAN CVV 40$/PER

AU CVV 40$/PER

INTER CVV MASTER VISA 40$/PER

ASIAN CVV MASTER VISA 40$/PER

Switzerland 40$/PER

Payment BTC Only!!!!

Detail:

ICQ: @Paul.Kub

Telegram : @pauldeal

Gmail: (email protected)

uicomponent – how to create sales order grid using ui component in magento2 frontend

The grid basically should contain sales order basic details such as order number, order status along with it should contain number of invoiced items, number of shipped items, number of invoices along with invoice numbers.

I know how to create ui component, but getting data from other tables such as sales_order_item,invoice table seems difficult.
can anyone help me on this.

magento2.3 – Amazon Sales Channel Extension – Existing Seller Central Acct – Magento 2.3.5, Orders not Converting

Background: I connected Amazon Sales Channel to an existing Amazon Seller Central account (mainly for the order import function). I have “import orders” set to enabled under Order Settings. I haven’t listed any products through the Magento Amazon Sales Channel interface (I used my existing listings), but it does show the account as active and shows all the orders from the Seller Central account in the Magento Amazon interface.

PROBLEM: None of the orders are converting to Magento orders. Since I’ve never seen this program work properly, how can I troubleshoot? There is a log tab but it shows empty. Are there any other logs on the server showing whats happing with the program? Are there any other steps that can be taken to figure out why its not converting orders to Magento Order management?

Ive tested on all 4.x versions of the Amazon Sales channel Extension with the same results so it could be configuration on my end.

css – Car sales platform HTML templates; making them work with flexbox?

I’ve created three HTML templatea, and they generally works for what I need it to be (a used vehicle sales platform); this uses flexbox.

I have three different templates, one stand-alone design and two which are similar versions of the same codebase:

body {
  font-family: Helvetica, sans-serif;
  font-size: 16px;
  line-height: 18px;
}

header {
  margin-left: 20px;
  height: auto;
  width: 600px;
  padding: 40px;
  color: white;
  background-color: black;
  margin-bottom: 12px;
}

.sidebar {
  background-color: yellow;
  float: left;
  width: 100px;
  height: 400px;
}

.content {
  margin-left: 80px;
}

article.at1 {
  border: 3px solid;
  width: 800px;
}

.at1 {
  margin-bottom: 20px;
}

.container {
  display: grid;
  grid-template-columns: 700px 30px;
  grid-gap: -1rem;
  background-color: blue;
  color: white;
  margin-bottom: 10px;
}

.container2 {
  display: grid;
  grid-template-columns: 300px 300px;
  grid-gap: 3rem;
}

.container2>div:nth-child(1) {
  width: 90px;
  margin-left: 30px;
}

.container2>div:nth-child(2) {
  margin-right: 70px;
  width: 460px;
}

.container2>div img {
  display: inline-block;
  width: 300px;
  margin-right: 30px;
}

.container:nth-child(2) {
  float: right;
  width: 60%;
}

.container2:nth-child(2) {
  width: auto;
}

.price {
  width: 50px;
}
<body>
  <header>
    <H1>USED CARS OF LEEDS</H1>
    <h2>North Street, Leeds LS2</h2>
  </header>
  <div class="sidebar">
    Menu
  </div>
  <div class="content">
    <article class="at1">
      <div class="container">
        <div>
          2008 58 FORD MONDEO 2.3 ZETEC 5dr
        </div>
        <div class="price">
          £6,995
        </div>
      </div>
      <div class="container2">
        <div><img src="https://d1ix0byejyn2u7.cloudfront.net/drive/images/made/drive/images/remote/https_ssl.caranddriving.com/f2/images/used/big/fordmondeo%202007-10_750_500_70.jpg"></div>
        <div>
          Silver, this example is in good condtion for its age!
        </div>
      </div>
    </article>
        <article class="at1">
    <div class="container">
        <div>
          2003 53 LAND ROVER FREELANDER 1.8i 5dr
        </div>
        <div class="price">
          £6,995
        </div>
      </div>
      <div class="container2">
        <div><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/2002-2003_Land_Rover_Freelander.jpg/1280px-2002-2003_Land_Rover_Freelander.jpg"></div>
        <div>
          blue, good condition
        </div>
      </div>
    </article>
    <article class="at1">
      <div class="container">
        <div>
          1989 G FORD IVECOCARGO EUROCARGO DROPSIDE PICKUP 4.3 TURBODIESEL 2dr 6.4t
        </div>
        <div class="price">
          £2,995
        </div>
      </div>
      <div class="container2">
        <div><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/1999_Iveco-Ford_Cargo_75E15_5.9.jpg/1024px-1999_Iveco-Ford_Cargo_75E15_5.9.jpg"></div>
        <div>
          white, 100,000 km
        </div>
      </div>
    </article>
  </div>
</body>

</html>

The code for that works OK, but I’m making it more esthetically pleasing by adding webfonts.

However, where the main issues are relate to two things – getting the sidebar to work properly and have enough space and ensuring there’s space between sidebar and the contents of div.content.

This is my second template I designed, which uses flexbox as well, but in a slightly different way (the colors aren’t going to be that in the production version).

The code works as intended (flexbox displays), but the two major issues are getting everything to fit properly.

Version 1 (three-column flex within article tag):

html {
        font-family: sans-serif;
      }

      body {
        margin: 0;
      }

      header {
        background: purple;
        height: auto;
        padding: 20px;
      }

      h1 {
        text-align: center;
        color: white;
        line-height: 100px;
        margin: 0;
      }

      article {
        padding: 10px;
        margin: 0px;
        background: #FFFFFF;
      }

      /* Add your flexbox CSS below here */

      section {
        margin-bottom: 10px;
        display: flex;
        flex-direction: row;
      }

      article {
      width: 700px;
      }
      
      article.imagebox img {
      width: 230px;
      }
      
      article.price {
      text-align: right;
      float: right;
      }
      
      .infog > article {
      background-color: #FFFFFF;
      }

.sidebar {
width: 200px;
height: 600px;
padding: 20px;
background-color: yellow;
float: left;
margin-right: 30px;
}
div.content {
margin-right: 300px;
height: 600px;
width: 800px;
padding: 20px;
margin-left: 20px;
}
<body>
    <header>
      <h1>Leeds Used Cars</h1>
      <h2>Northgate Street, Leeds</h2>
    </header>
<div class="sidebar">
Content coming
</div>
<div class="content">
    <section>
      <article class="imagebox">
        <img src="https://parkers-images.bauersecure.com/gallery-image/pagefiles/265121/1752x1168/02-mercedes-sprinter-13.jpg">
      </article>

      <article>
        <h3>2014 64 Mercedes-Benz Sprinter 313CDI High Roof Panel Van</h3>

        <p>Silver, 70,000 miles
      </article>

      <article>
        <h3>£19,000</h3>
      </article>
    </section>
    
   
    <section>
      <article class="imagebox">
        <img src="https://parkers-images.bauersecure.com/gallery-image/pagefiles/201064/static-exterior/1752x1168/astra_3.jpg">
      </article>

      <article>
        <h3>2007 57 Vauxhall Astra 1.8 VVT Life 5dr</h3>

        <p>Silver, 170,000 miles
      </article>

      <article>
        <h3>£1,300</h3>
      </article>
    </section>
    
    </div>
    </body>

I also have an alternate version of this template where the product description is above the article tag:

html {
        font-family: sans-serif;
      }

      body {
        margin: 0;
      }

      header {
        background: purple;
        height: auto;
        padding: 20px;
      }

      h1 {
        text-align: center;
        color: white;
        line-height: 100px;
        margin: 0;
      }

      article {
        padding: 10px;
        margin: 0px;
        background: aqua;
      }

      /* Add your flexbox CSS below here */

      section {
        margin-bottom: 10px;
        display: flex;
        flex-direction: row;
      }

      article {
      width: 700px;
      }
      
      article.imagebox img {
      height: 260px;
      }
      
      article.price {
      text-align: right;
      float: right;
      }
      
      .infog > article {
      background-color: #FFFFFF;
      }

.sidebar {
width: 200px;
height: 600px;
padding: 20px;
background-color: yellow;
float: left;
margin-right: 30px;
}
div.content {
margin-right: 300px;
height: 600px;
width: 800px;
padding: 20px;
margin-left: 20px;
}
 <body>
    <header>
      <h1>Leeds Car Centre</h1>
      <h2>Northgate Street, Leeds</h2>
    </header>
<div class="sidebar">
owl
</div>
<div class="content">
   
        <section> 
      <article>
        <h2>2021 Compass Camino 660 </h2>
      </article>    
      <article class="price">
        <h2>£23,000</h2>
      </article>
    </section>
            <section class="infog"> 
      <article class="imagebox">
        <img src="https://wgp-cdn.co.uk/OAL/jpg/Camino-660-F_25cms-47523/500/500/">
      </article>   
      <article>
      4 berth, twin axle caravan, new
      </article>
    </section>
    
    
            <section> 
      <article>
        <h2>1989 G Porsche 911 </h2>
      </article>    
      <article class="price">
        <h2>£23,000</h2>
      </article>
    </section>
            <section class="infog"> 
      <article class="imagebox">
        <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/eb/Porsche_911_%28964%29_Turbo_%2810317085456%29.jpg/1024px-Porsche_911_%28964%29_Turbo_%2810317085456%29.jpg">
      </article>   
      <article>
      black, good condition, a classic
      </article>
    </section>
  </body>

With these three, I want to make four major changes:

  • Make them look more professional

    Ensure there’s enough space between the sidebar

    Make sure the flexboxes work properly

    Have a version without sidebar

These are the four most important things.

I am looking for constructive criticism of these basic templates on how to improve them and make them more professional before any public release.

Any constructive criticism or code improvements are welcomed.

What I am looking to do is make the user interface one that is user-friendly; this is a sandbox test version in HTML before it’s ready for prime time.

accessibility – How to make flexbox and DIV work for a car sales template in HTML with sidebar and without sidebar?

I’ve created a HTML template, and it generally works for what I need it to be (a used vehicle sales platform); this uses flexbox.

I have three different templates, one stand-alone design and two which are similar versions of the same codebase:

body {
  font-family: Helvetica, sans-serif;
  font-size: 16px;
  line-height: 18px;
}

header {
  margin-left: 20px;
  height: auto;
  width: 600px;
  padding: 40px;
  color: white;
  background-color: black;
  margin-bottom: 12px;
}

.sidebar {
  background-color: yellow;
  float: left;
  width: 100px;
  height: 400px;
}

.content {
  margin-left: 80px;
}

article.at1 {
  border: 3px solid;
  width: 800px;
}

.at1 {
  margin-bottom: 20px;
}

.container {
  display: grid;
  grid-template-columns: 700px 30px;
  grid-gap: -1rem;
  background-color: blue;
  color: white;
  margin-bottom: 10px;
}

.container2 {
  display: grid;
  grid-template-columns: 300px 300px;
  grid-gap: 3rem;
}

.container2>div:nth-child(1) {
  width: 90px;
  margin-left: 30px;
}

.container2>div:nth-child(2) {
  margin-right: 70px;
  width: 460px;
}

.container2>div img {
  display: inline-block;
  width: 300px;
  margin-right: 30px;
}

.container:nth-child(2) {
  float: right;
  width: 60%;
}

.container2:nth-child(2) {
  width: auto;
}

.price {
  width: 50px;
}
<body>
  <header>
    <H1>USED CARS OF LEEDS</H1>
    <h2>North Street, Leeds LS2</h2>
  </header>
  <div class="sidebar">
    Menu
  </div>
  <div class="content">
    <article class="at1">
      <div class="container">
        <div>
          2008 58 FORD MONDEO 2.3 ZETEC 5dr
        </div>
        <div class="price">
          £6,995
        </div>
      </div>
      <div class="container2">
        <div><img src="https://d1ix0byejyn2u7.cloudfront.net/drive/images/made/drive/images/remote/https_ssl.caranddriving.com/f2/images/used/big/fordmondeo%202007-10_750_500_70.jpg"></div>
        <div>
          Silver, this example is in good condtion for its age!
        </div>
      </div>
    </article>
        <article class="at1">
    <div class="container">
        <div>
          2003 53 LAND ROVER FREELANDER 1.8i 5dr
        </div>
        <div class="price">
          £6,995
        </div>
      </div>
      <div class="container2">
        <div><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/2002-2003_Land_Rover_Freelander.jpg/1280px-2002-2003_Land_Rover_Freelander.jpg"></div>
        <div>
          blue, good condition
        </div>
      </div>
    </article>
    <article class="at1">
      <div class="container">
        <div>
          1989 G FORD IVECOCARGO EUROCARGO DROPSIDE PICKUP 4.3 TURBODIESEL 2dr 6.4t
        </div>
        <div class="price">
          £2,995
        </div>
      </div>
      <div class="container2">
        <div><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/1999_Iveco-Ford_Cargo_75E15_5.9.jpg/1024px-1999_Iveco-Ford_Cargo_75E15_5.9.jpg"></div>
        <div>
          white, 100,000 km
        </div>
      </div>
    </article>
  </div>
</body>

</html>

The code for that works OK, but I’m making it more esthetically pleasing by adding webfonts.

However, where the main issues are relate to two things – getting the sidebar to work properly and have enough space and ensuring there’s space between sidebar and the contents of div.content.

This is my second template I designed, which uses flexbox as well, but in a slightly different way (the colors aren’t going to be that in the production version).

The code works as intended (flexbox displays), but the two major issues are getting everything to fit properly.

Version 1 (three-column flex within article tag):

html {
        font-family: sans-serif;
      }

      body {
        margin: 0;
      }

      header {
        background: purple;
        height: auto;
        padding: 20px;
      }

      h1 {
        text-align: center;
        color: white;
        line-height: 100px;
        margin: 0;
      }

      article {
        padding: 10px;
        margin: 0px;
        background: #FFFFFF;
      }

      /* Add your flexbox CSS below here */

      section {
        margin-bottom: 10px;
        display: flex;
        flex-direction: row;
      }

      article {
      width: 700px;
      }
      
      article.imagebox img {
      width: 230px;
      }
      
      article.price {
      text-align: right;
      float: right;
      }
      
      .infog > article {
      background-color: #FFFFFF;
      }

.sidebar {
width: 200px;
height: 600px;
padding: 20px;
background-color: yellow;
float: left;
margin-right: 30px;
}
div.content {
margin-right: 300px;
height: 600px;
width: 800px;
padding: 20px;
margin-left: 20px;
}
<body>
    <header>
      <h1>Leeds Used Cars</h1>
      <h2>Northgate Street, Leeds</h2>
    </header>
<div class="sidebar">
Content coming
</div>
<div class="content">
    <section>
      <article class="imagebox">
        <img src="https://parkers-images.bauersecure.com/gallery-image/pagefiles/265121/1752x1168/02-mercedes-sprinter-13.jpg">
      </article>

      <article>
        <h3>2014 64 Mercedes-Benz Sprinter 313CDI High Roof Panel Van</h3>

        <p>Silver, 70,000 miles
      </article>

      <article>
        <h3>£19,000</h3>
      </article>
    </section>
    
   
    <section>
      <article class="imagebox">
        <img src="https://parkers-images.bauersecure.com/gallery-image/pagefiles/201064/static-exterior/1752x1168/astra_3.jpg">
      </article>

      <article>
        <h3>2007 57 Vauxhall Astra 1.8 VVT Life 5dr</h3>

        <p>Silver, 170,000 miles
      </article>

      <article>
        <h3>£1,300</h3>
      </article>
    </section>
    
    </div>
    </body>

I also have an alternate version of this template where the product description is above the article tag:

html {
        font-family: sans-serif;
      }

      body {
        margin: 0;
      }

      header {
        background: purple;
        height: auto;
        padding: 20px;
      }

      h1 {
        text-align: center;
        color: white;
        line-height: 100px;
        margin: 0;
      }

      article {
        padding: 10px;
        margin: 0px;
        background: aqua;
      }

      /* Add your flexbox CSS below here */

      section {
        margin-bottom: 10px;
        display: flex;
        flex-direction: row;
      }

      article {
      width: 700px;
      }
      
      article.imagebox img {
      height: 260px;
      }
      
      article.price {
      text-align: right;
      float: right;
      }
      
      .infog > article {
      background-color: #FFFFFF;
      }

.sidebar {
width: 200px;
height: 600px;
padding: 20px;
background-color: yellow;
float: left;
margin-right: 30px;
}
div.content {
margin-right: 300px;
height: 600px;
width: 800px;
padding: 20px;
margin-left: 20px;
}
 <body>
    <header>
      <h1>Leeds Car Centre</h1>
      <h2>Northgate Street, Leeds</h2>
    </header>
<div class="sidebar">
owl
</div>
<div class="content">
   
        <section> 
      <article>
        <h2>2021 Compass Camino 660 </h2>
      </article>    
      <article class="price">
        <h2>£23,000</h2>
      </article>
    </section>
            <section class="infog"> 
      <article class="imagebox">
        <img src="https://wgp-cdn.co.uk/OAL/jpg/Camino-660-F_25cms-47523/500/500/">
      </article>   
      <article>
      4 berth, twin axle caravan, new
      </article>
    </section>
    
    
            <section> 
      <article>
        <h2>1989 G Porsche 911 </h2>
      </article>    
      <article class="price">
        <h2>£23,000</h2>
      </article>
    </section>
            <section class="infog"> 
      <article class="imagebox">
        <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/eb/Porsche_911_%28964%29_Turbo_%2810317085456%29.jpg/1024px-Porsche_911_%28964%29_Turbo_%2810317085456%29.jpg">
      </article>   
      <article>
      black, good condition, a classic
      </article>
    </section>
  </body>

With these three, I want to make four major changes:

  • Make them look more professional

    Ensure there’s enough space between the sidebar

    Make sure the flexboxes work properly

    Have a version without sidebar

These are the four most important things.

I am looking for constructive criticism of these basic templates on how to improve them and make them more professional before any public release.

Any constructive criticism or code improvements are welcomed.

What I am looking to do is make the user interface one that is user-friendly; this is a sandbox test version in HTML before it’s ready for prime time.

html – I have created a flexbox site for a used vehicle sales platform; ensuring that bugs are ironed out before this is a production version

I’ve created a HTML template, and it generally works for what I need it to be (a used vehicle sales platform); this uses flexbox.

I have three different templates, one stand-alone design and two which are similar versions of the same codebase:

body {
  font-family: Helvetica, sans-serif;
  font-size: 16px;
  line-height: 18px;
}

header {
  margin-left: 20px;
  height: auto;
  width: 600px;
  padding: 40px;
  color: white;
  background-color: black;
  margin-bottom: 12px;
}

.sidebar {
  background-color: yellow;
  float: left;
  width: 100px;
  height: 400px;
}

.content {
  margin-left: 80px;
}

article.at1 {
  border: 3px solid;
  width: 800px;
}

.at1 {
  margin-bottom: 20px;
}

.container {
  display: grid;
  grid-template-columns: 700px 30px;
  grid-gap: -1rem;
  background-color: blue;
  color: white;
  margin-bottom: 10px;
}

.container2 {
  display: grid;
  grid-template-columns: 300px 300px;
  grid-gap: 3rem;
}

.container2>div:nth-child(1) {
  width: 90px;
  margin-left: 30px;
}

.container2>div:nth-child(2) {
  margin-right: 70px;
  width: 460px;
}

.container2>div img {
  display: inline-block;
  width: 300px;
  margin-right: 30px;
}

.container:nth-child(2) {
  float: right;
  width: 60%;
}

.container2:nth-child(2) {
  width: auto;
}

.price {
  width: 50px;
}
<body>
  <header>
    <H1>USED CARS OF LEEDS</H1>
    <h2>North Street, Leeds LS2</h2>
  </header>
  <div class="sidebar">
    Menu
  </div>
  <div class="content">
    <article class="at1">
      <div class="container">
        <div>
          2008 58 FORD MONDEO 2.3 ZETEC 5dr
        </div>
        <div class="price">
          £6,995
        </div>
      </div>
      <div class="container2">
        <div><img src="https://d1ix0byejyn2u7.cloudfront.net/drive/images/made/drive/images/remote/https_ssl.caranddriving.com/f2/images/used/big/fordmondeo%202007-10_750_500_70.jpg"></div>
        <div>
          Silver, this example is in good condtion for its age!
        </div>
      </div>
    </article>
        <article class="at1">
    <div class="container">
        <div>
          2003 53 LAND ROVER FREELANDER 1.8i 5dr
        </div>
        <div class="price">
          £6,995
        </div>
      </div>
      <div class="container2">
        <div><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/2002-2003_Land_Rover_Freelander.jpg/1280px-2002-2003_Land_Rover_Freelander.jpg"></div>
        <div>
          blue, good condition
        </div>
      </div>
    </article>
    <article class="at1">
      <div class="container">
        <div>
          1989 G FORD IVECOCARGO EUROCARGO DROPSIDE PICKUP 4.3 TURBODIESEL 2dr 6.4t
        </div>
        <div class="price">
          £2,995
        </div>
      </div>
      <div class="container2">
        <div><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/1999_Iveco-Ford_Cargo_75E15_5.9.jpg/1024px-1999_Iveco-Ford_Cargo_75E15_5.9.jpg"></div>
        <div>
          white, 100,000 km
        </div>
      </div>
    </article>
  </div>
</body>

</html>

The code for that works OK, but I’m making it more esthetically pleasing by adding webfonts.

However, where the main issues are relate to two things – getting the sidebar to work properly and have enough space and ensuring there’s space between sidebar and the contents of div.content.

This is my second template I designed, which uses flexbox as well, but in a slightly different way (the colors aren’t going to be that in the production version).

The code works as intended (flexbox displays), but the two major issues are getting everything to fit properly.

Version 1 (three-column flex within article tag):

html {
        font-family: sans-serif;
      }

      body {
        margin: 0;
      }

      header {
        background: purple;
        height: auto;
        padding: 20px;
      }

      h1 {
        text-align: center;
        color: white;
        line-height: 100px;
        margin: 0;
      }

      article {
        padding: 10px;
        margin: 0px;
        background: #FFFFFF;
      }

      /* Add your flexbox CSS below here */

      section {
        margin-bottom: 10px;
        display: flex;
        flex-direction: row;
      }

      article {
      width: 700px;
      }
      
      article.imagebox img {
      width: 230px;
      }
      
      article.price {
      text-align: right;
      float: right;
      }
      
      .infog > article {
      background-color: #FFFFFF;
      }

.sidebar {
width: 200px;
height: 600px;
padding: 20px;
background-color: yellow;
float: left;
margin-right: 30px;
}
div.content {
margin-right: 300px;
height: 600px;
width: 800px;
padding: 20px;
margin-left: 20px;
}
<body>
    <header>
      <h1>Leeds Used Cars</h1>
      <h2>Northgate Street, Leeds</h2>
    </header>
<div class="sidebar">
Content coming
</div>
<div class="content">
    <section>
      <article class="imagebox">
        <img src="https://parkers-images.bauersecure.com/gallery-image/pagefiles/265121/1752x1168/02-mercedes-sprinter-13.jpg">
      </article>

      <article>
        <h3>2014 64 Mercedes-Benz Sprinter 313CDI High Roof Panel Van</h3>

        <p>Silver, 70,000 miles
      </article>

      <article>
        <h3>£19,000</h3>
      </article>
    </section>
    
   
    <section>
      <article class="imagebox">
        <img src="https://parkers-images.bauersecure.com/gallery-image/pagefiles/201064/static-exterior/1752x1168/astra_3.jpg">
      </article>

      <article>
        <h3>2007 57 Vauxhall Astra 1.8 VVT Life 5dr</h3>

        <p>Silver, 170,000 miles
      </article>

      <article>
        <h3>£1,300</h3>
      </article>
    </section>
    
    </div>
    </body>

I also have an alternate version of this template where the product description is above the article tag:

html {
        font-family: sans-serif;
      }

      body {
        margin: 0;
      }

      header {
        background: purple;
        height: auto;
        padding: 20px;
      }

      h1 {
        text-align: center;
        color: white;
        line-height: 100px;
        margin: 0;
      }

      article {
        padding: 10px;
        margin: 0px;
        background: aqua;
      }

      /* Add your flexbox CSS below here */

      section {
        margin-bottom: 10px;
        display: flex;
        flex-direction: row;
      }

      article {
      width: 700px;
      }
      
      article.imagebox img {
      height: 260px;
      }
      
      article.price {
      text-align: right;
      float: right;
      }
      
      .infog > article {
      background-color: #FFFFFF;
      }

.sidebar {
width: 200px;
height: 600px;
padding: 20px;
background-color: yellow;
float: left;
margin-right: 30px;
}
div.content {
margin-right: 300px;
height: 600px;
width: 800px;
padding: 20px;
margin-left: 20px;
}
 <body>
    <header>
      <h1>Leeds Car Centre</h1>
      <h2>Northgate Street, Leeds</h2>
    </header>
<div class="sidebar">
owl
</div>
<div class="content">
   
        <section> 
      <article>
        <h2>2021 Compass Camino 660 </h2>
      </article>    
      <article class="price">
        <h2>£23,000</h2>
      </article>
    </section>
            <section class="infog"> 
      <article class="imagebox">
        <img src="https://wgp-cdn.co.uk/OAL/jpg/Camino-660-F_25cms-47523/500/500/">
      </article>   
      <article>
      4 berth, twin axle caravan, new
      </article>
    </section>
    
    
            <section> 
      <article>
        <h2>1989 G Porsche 911 </h2>
      </article>    
      <article class="price">
        <h2>£23,000</h2>
      </article>
    </section>
            <section class="infog"> 
      <article class="imagebox">
        <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/eb/Porsche_911_%28964%29_Turbo_%2810317085456%29.jpg/1024px-Porsche_911_%28964%29_Turbo_%2810317085456%29.jpg">
      </article>   
      <article>
      black, good condition, a classic
      </article>
    </section>
  </body>

With these three, I want to make four major changes:

  • Make them look more professional

    Ensure there’s enough space between the sidebar

    Make sure the flexboxes work properly

    Have a version without sidebar

These are the four most important things.

I am looking for constructive criticism of these basic templates on how to improve them and make them more professional before any public release.

Any constructive criticism or code improvements are welcomed.

sql query of one sales person with multiple details display as current date

enter image description here

I am looking out like this in mysql please help me out.

When will Ripple's former founder complete XRP sales?

When will McCaleb’s sales, which is thought to put pressure on XRP, will end?
According to the estimates of XRP researcher Leonidas Hadjiloizou, the XRPs McCaleb holds with an average sales amount of 10 million XRP per day will be depleted by the end of this year.
What kind of developments may occur in the price when these sales are over?