Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • myuption Friend
    #208576

    I’m just testing the site to migrate an old record label, but they sell their stuff in beatport, itunes and traxsource.

    Can I add more buttons like the one that says buy on amazon?

    Thanks!

    Pankaj Sharma Moderator
    #577054

    Hello
    Its hard coded in the article php code , You need to customize the code if you would to like to add more buttons or customization.
    You can find the code in
    templatesja_muzichtmlcom_contentarticledefault-track.php

    The code is here

    <?php if(isset($metadata->jcontent_amazonsell) && $metadata->jcontent_amazonsell !='') : ?>
    <a class="btn btn-source btn-buy" href="<?php echo $metadata->jcontent_amazonsell;?>"><?php echo JText::_('TPL_BUY_ON_AMAZON'); ?></a>
    <?php endif;?>

    myuption Friend
    #577101

    What else do I need to edit? I see some PHP code inside.

    Thanks

    Pankaj Sharma Moderator
    #577108

    Hello
    As u only want to replicate the button you can customize and replicate the previous button with your new button .
    Below is code :


    <?php if(isset($metadata->jcontent_amazonsell) && $metadata->jcontent_amazonsell !='') : ?>
    <a class="btn btn-source btn-buy" href="<?php echo $metadata->jcontent_amazonsell;?>"><?php echo JText::_('TPL_BUY_ON_AMAZON'); ?></a>
    <?php endif;?>

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

This topic contains 4 replies, has 2 voices, and was last updated by  Pankaj Sharma 9 years, 4 months ago.

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