• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 15.11.22, 12:56
  • Opened by: New Life Home
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #23938 - Show reference number under product title

Hello,

I can’t find the settings how to show reference number of product on the product page.
It is very important for our shop to show reference number under product title and above short description.

Thankyou

Comments

Fred 15 Nov 2022, 13:08

Hi, New Life Home.
Reference code is available here https://take.ms/DXMV8

New Life Home 15 Nov 2022, 13:30

Hi Fred,

I know that, we need it to be displayed under the name of the product as I have written on the ticket.

Fred 15 Nov 2022, 21:07

OK, add following code into the file to any place you want

/themes/alysum/templates/catalog/_partials/product-details.tpl
{if $product.show_quantities}
  <div class="product-quantities">
    <label class="label">{l s='In stock' d='Shop.Theme.Catalog'}</label>
    <span data-stock="{$product.quantity}" data-allow-oosp="{$product.allow_oosp}">{$product.quantity} {$product.quantity_label}</span>
  </div>
{/if}