Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • aquario Friend
    #134723

    Can anyone help me put the SKU in the flypage (the same font in blue, a litle smaller than the product name and underneath)

    Because my products are very usefull to see the SKU.

    Thanks!

    Sherlock Friend
    #277148

    Hi aquario !
    You can do it following some steps below :
    1 . Open shop.product_detailts.php file in templates/administratorcomponentscom_virtuemarthtml folder, add following code section :


    $product_sku = $db_product->f("product_sku");
    $tpl->set( "product_sku", $product_sku); // SKU

    under following code line at about line 442 :


    $tpl->set( "recent_products", $recent_products); // Recent products

    2. Open flypage.tpl.php file in componentscom_virtuemartthemesja-mesolitetemplatesproduct_details folder, find following code section a about line 38 :


    <td valign="top"><?php echo $product_packaging ?><br /></td>

    change to :


    <td valign="top"><?php echo $product_packaging ?><br />
    SKU:<?php echo $product_sku; ?>
    </td>

    aquario Friend
    #277405

    Thanks, now i can see the SKU in the product detailed page. 😀

    To change the position and font size its all in flypage.tpl.php?

    Sherlock Friend
    #277407

    yes, you can change it in flypage.tpl.php file.

    aquario Friend
    #277505

    Hi again, what is the php page that i can insert the sku when you are browsing the catagory, is the browse_1.php???

    sfpkent Friend
    #277515

    Hi hainn84,

    Thank you very much! It helps me too.

    Kent

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 3 voices, and was last updated by  sfpkent 16 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum