General question about download buy links

michael
michael
Offline
0
hey, quick question. so i set up pay per download options for my users to be able to insert a buy link in mc... but shoppers can still download songs via download link even if download link field is populated with a buy link.....i dont want to remove the download option completely because that is a major incentive for shoppers and artist alike....is there a way to prevent the download option or hide the field if buy links are in place?

im hoping free/paid is a choice being that both options are available at the same time...is there any way to achieve this in standard functions...and if not im sure a small snippet of code to hide the download link if the buy link is pupulated...

can you advise....thanks
Responses (3)
  • Accepted Answer

    Wednesday, April 17 2013, 09:02 AM - #Permalink
    0
    hello!

    well, this could be achieved with small code tweaks on the layout page that hides the download links if a buy link is provided..
    are you OK with modifying a bit of PHP?
    The reply is currently minimized Show
  • Accepted Answer

    michael
    michael
    Offline
    Wednesday, April 17 2013, 06:17 PM - #Permalink
    0
    Hey thanks for responding....i know how to do some miner hacks and edits but honestly do not know how to write code...but if instructed as to what file and location to place it i could definately do so....can u help me out with this....thanks germi
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 19 2013, 03:42 PM - #Permalink
    0
    well.. it can be a bit complicated if you're not a coder.. (don't want to mess with code you don't understand.. :S

    the thing is basically to go to the album layout file, /components/com_muscol/views/album/tmpl/default.php

    and where the buy links are rendered, to make an "IF" statement that doesn't print out the download links if the buy link is available..

    I understand this can sound strange to you.. does it?
    The reply is currently minimized Show
Your Reply