Specifications - product / listing_img_desc

  • Posts: 37
  • Thank you received: 0
10 years 10 months ago #179315

-- HikaShop version -- : 2.3.4.
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.29
-- Browser(s) name and version -- : comodo dragon

Hello!
How to put the unit specifications in the product category ?

<!-- EO PRODUCT CODE -->
        </h2>

        <?php if(!empty($this->row->extraData->afterProductName)) { echo implode("\r\n",$this->row->extraData->afterProductName); } ?>

        <!-- PRODUCT DESCRIPTION -->
        <div class="hikashop_product_desc" style="text-align:<?php echo $this->align; ?>">
          <?php
          echo preg_replace('#<hr *id="system-readmore" */>.*#is','',$this->row->product_description);
          ?>
        </div>
        <!-- EO PRODUCT DESCRIPTION -->
      </div>
    </td>
        <!-- PRODUCT INFO -->   
    <td>

      ??????????   :blink:     code ???????
      
        <!-- ED PRODUCT INFO -->       
  </tr>
</table>
<?php if(!empty($this->row->extraData->bottom)) { echo implode("\r\n",$this->row->extraData->bottom); } ?>
jkjkjk

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 84303
  • Thank you received: 13698
  • MODERATOR
10 years 9 months ago #179373

Hi,

You can use such code:

<?php
$this->fieldsClass = hikashop_get('class.field');
$this->fields = $this->fieldsClass->getFields('frontcomp',$this->row,'product','checkout&task=state');
$this->element =& $this->row;
$this->setLayout('show_block_custom_main');
echo $this->loadTemplate();
?>

The following user(s) said Thank You: Vorov

Please Log in or Create an account to join the conversation.

  • Posts: 37
  • Thank you received: 0
10 years 9 months ago #179381

:woohoo: Thank you! Thank you very much! Thank you so much!

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum