Jump to content
  • 0
Wert

Atikel Größe und Farbe

Question

Hallo,

 

leider wird im Checkout die Farbe und Größe nicht angezeigt.

Kann mir jemand weiterhelfen?

 

Bildschirmfoto 2018-07-03 um 13.51.40.png

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Es muß wohl zumindest auch das Material angezeigt werden, entweder die Kurzbeschreibung oder die Eigenschaften, zumindest bei 1.6.x muß man das selbst nachrüsten.

Share this post


Link to post
Share on other sites
  • 0

Vielen Dank fürs Antworten.

Also im Artikel ist der Hersteller, Farbe, Größe und die Kurzbeschreibung hinterlegt.

Im Warenkorb wird nur die Farbe und die Größe angezeigt.

Im Checkout erscheint keins von beiden.

Prestashop 1.7.3.4

 

 

 

Edited by Wert (see edit history)

Share this post


Link to post
Share on other sites
  • 0

Also in meinen Aufzeichnungen habe ich folgendes stehen:

/themes/deintheme/templates/checkout/_partials/order-confirmation-table.tpl Zeile 42-47

{foreach from=$product.attributes key="attribute" item="value"}
				<div class="product-line-info">
					<span class="label">{$attribute}:</span>
					<span class="value">{$value}</span>
				</div>
				{/foreach}

Ob das in der neuen Version noch an genau der Stelle sitzt musst du leider testen. Ist nur bis 1.7.2.4 getestet.

Share this post


Link to post
Share on other sites
  • 0

Also ich habe die Datei wie von dir angegeben gefunden.

 

<div id="order-items" class="col-md-8">

  {block name='order_items_table_head'}
    <h3 class="card-title h3">{l s='Order items' d='Shop.Theme.Checkout'}</h3>
  {/block}

  <div class="order-confirmation-table">

    {block name='order_confirmation_table'}
      {foreach from=$products item=product}
        <div class="order-line row">
          <div class="col-sm-2 col-xs-3">
            <span class="image">
              <img src="{$product.cover.medium.url}" />
            </span>
          </div>
          <div class="col-sm-4 col-xs-9 details">
            {if $add_product_link}<a href="{$product.url}" target="_blank">{/if}
              <span>{$product.name}</span>
            {if $add_product_link}</a>{/if}
            {if $product.customizations|count}
              {foreach from=$product.customizations item="customization"}
                <div class="customizations">
                  <a href="#" data-toggle="modal" data-target="#product-customizations-modal-{$customization.id_customization}">{l s='Product customization' d='Shop.Theme.Catalog'}</a>
                </div>
                <div class="modal fade customization-modal" id="product-customizations-modal-{$customization.id_customization}" tabindex="-1" role="dialog" aria-hidden="true">
                  <div class="modal-dialog" role="document">
                    <div class="modal-content">
                      <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                          <span aria-hidden="true">&times;</span>
                        </button>
                        <h4 class="modal-title">{l s='Product customization' d='Shop.Theme.Catalog'}</h4>
                      </div>
                      <div class="modal-body">
                        {foreach from=$customization.fields item="field"}
                          <div class="product-customization-line row">
                            <div class="col-sm-3 col-xs-4 label">
                              {$field.label}
                            </div>
                            <div class="col-sm-9 col-xs-8 value">
                              {if $field.type == 'text'}
                                {if (int)$field.id_module}
                                  {$field.text nofilter}
                                {else}
                                  {$field.text}
                                {/if}
                              {elseif $field.type == 'image'}
                                <img src="{$field.image.small.url}">
                              {/if}
                            </div>
                          </div>
                        {/foreach}
                      </div>
                    </div>
                  </div>
                </div>
              {/foreach}
            {/if}
            {hook h='displayProductPriceBlock' product=$product type="unit_price"}
          </div>
          <div class="col-sm-6 col-xs-12 qty">
            <div class="row">
              <div class="col-xs-5 text-sm-right text-xs-left">{$product.price}</div>
              <div class="col-xs-2">{$product.quantity}</div>
              <div class="col-xs-5 text-xs-right bold">{$product.total}</div>
            </div>
          </div>
        </div>
      {/foreach}

      <hr>

      <table>
        {foreach $subtotals as $subtotal}
          {if $subtotal.type !== 'tax'}
            <tr>
              <td>{$subtotal.label}</td>
              <td>{$subtotal.value}</td>
            </tr>
          {/if}
        {/foreach}
        {if $subtotals.tax.label !== null}
          <tr class="sub">
            <td>{$subtotals.tax.label}</td>
            <td>{$subtotals.tax.value}</td>
          </tr>
        {/if}
        <tr class="font-weight-bold">
          <td><span class="text-uppercase">{$totals.total.label}</span> {$labels.tax_short}</td>
          <td>{$totals.total.value}</td>
        </tr>
      </table>
    {/block}

  </div>
</div>

 

Edited by Wert (see edit history)

Share this post


Link to post
Share on other sites
  • 0

Es sitzt bei mir zwischen

{if $add_product_link}</a>{/if}

und 

{if $product.customizations|count}

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More