문제

I would like to move all product attributes from selected product to details tab.

I try to do something like this:

<move element="product.attribute" destination="content" after="-"> But this solution is not good form me because i would like to display product attribute only in Details tab not in all around product page.

Please help

도움이 되었습니까?

해결책

You Can try for this . where #additional is id of more information tab and #description is id of Details tab.

<script type="text/javascript">
require(['jquery', 'jquery/ui'], function($){
    jQuery(document).ready(function() { 

        var additional_information = jQuery('#additional').clone();
        jQuery('#additional').remove();
        jQuery('#description').append(additional_information);
        jQuery('#additional').show();

    })
});

This Script Only used For details page

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top