1

Hello Stackexchange Team,

I would like to have the attribute name "Letop" near by short description... as u can see it in this foto. where u see "1 Letop" i would like to move this position to "1 Op Vooraard"

i would like to know, where do i have to go to change the position.

thanks, Ralfe

Product d description

short information

1 Answer 1

0

This depends on your template and is not configured usualy from admin. But you can easily print it by doing following:

  1. Find out where is the phtml file that that prints short description. (You can do it by from admin stores/configuration/[advanced]developer switch template hints on)
    1. After the line something like $product->getData('short_description') or $product->getShortDescription() Add $product->getLetop().
5
  • i can't find nothing with this attribute code...
    – Ralfe
    Nov 20, 2016 at 20:08
  • It is not there yet. Add the line to the template and you will see it is printed. Nov 20, 2016 at 20:10
  • this is the only code which i found in -> /home/public_html/amboim.com/vendor/magento/module-catalog/view/frontend/templates/product/view/attributes.phtml <caption class="table-caption"><?php /* @escapeNotVerified */ echo __('More Information') ?></caption> <tbody> <?php foreach ($_additional as $_data): ?> <tr> <th class="col label" scope="row"><?php echo $block->escapeHtml(__($_data['label'])) ?></th>
    – Ralfe
    Nov 20, 2016 at 22:22
  • This does not seem to be right peace of cofe. If you emty the file for a second delete it - short_description disappears? (disable the cache first) Nov 21, 2016 at 3:47
  • Hi, thanks to answer all my questions May i give u the access to my computer, so that u can do it for me? of maybe the name of the link of the site, so that u can see it? Thanks
    – Ralfe
    Nov 21, 2016 at 18:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.