Tools
Login

Are Times

You are here: Home » Are Support » Forum
Tuesday, 21 May 2013

Recent Topics | Rules | Help | Search
Welcome, Guest
Username Password: Remember me

Adding Other Products to Shopping Cart
(1 viewing) (1) Guest
If you are having problems using this component please post your issues here.
READ HERE FIRST FOR PREVIEW AND DOWNLOAD PATH PROBLEMS
www.aretimes.com/index.php?option=com_co...8:faq&Itemid=109

TOPIC: Adding Other Products to Shopping Cart

Re:Adding Other Products to Shopping Cart 3 years, 7 months ago #1463

  • Jeff May
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
If you are going to make it where I would have duplicate albums added then, maybe you can create a "copy" button in the "manage albums" section.

Otherwise, I hope that there can be options for each album and track. For me, I need to be able to sell downloads, CDs and cassettes of our speech archive.


Arelowo Alao wrote:
Yea that is the best Idea I think anyone has come up with. You can make the download link as an additional convenience. I'm drawing up a set of enhancements for future versions as well. I still have to bring over some code from the 1.3 standalone version so I can match features.

Re:Adding Other Products to Shopping Cart 3 years, 7 months ago #1465

That is a lot of tracks to add. I'm in the process of creating a version that reads from the file system but it won't be out till towards the end of the year.

Re:Adding Other Products to Shopping Cart 1 year, 1 month ago #3959

  • Ramon
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
My friend wants to sells poems, yes i dont like the idea, but its my friends page, not mine jajajaja anyway, its there anyway to do this?

I was thinking on installing virtuemart, but then 2 different shopping carts would be assigned

Re:Adding Other Products to Shopping Cart 1 year, 1 month ago #3960

  • Marc
  • OFFLINE
  • Moderator
  • Posts: 246
  • Karma: 0
what format are the poems in, pdf? maian media can serve any kind of file as the end product download; for example we are selling FLAC files, and that works; so files with a pdf extension would work; you might need to make a custom template and delete the code that generates the mp3 player, or use a default mp3 file for non audio sales...

Re:Adding Other Products to Shopping Cart 1 year, 1 month ago #4013

  • Ramon
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
That would be great!, but where is that file i mean the template that i must edit..

i will look out for that , is a php or .tpl file?

Re:Adding Other Products to Shopping Cart 1 year, 1 month ago #4014

  • Marc
  • OFFLINE
  • Moderator
  • Posts: 246
  • Karma: 0
if i were going to sell ONLY non audio assets, then in album.tpl.php, i would restructure the table heading, which by default has something like this:

<table width="100%" cellspacing="0" cellpadding="0">
	<tr>
	<th width="3%" ></th>
        <th style="padding-left:5px;" width="68%" ><?php echo $tplDisplayData['TRACK_NAME']; ?></th>
        <th width="5%" ><?php echo $tplDisplayData['TIME']; ?></th>
        <th style="padding-left:35px;" width="10%"><?php echo $tplDisplayData['TRACK_OPTIONS']; ?></th>
        <th style="padding-left:5px;" width="8%"><?php echo $tplDisplayData['TRACK_COST']; ?></th>
        <th width="6%"><?php echo $tplDisplayData['BUY_TRACK']; ?></th>
      	</tr>
	<?php echo $tplDisplayData['ALBUM_DATA']; ?>
	</table>


you would modify that code to exclude the "TRACK_OPTIONS" which is where the audio player is.

then in the file tracks.html, which by default looks something like this:
      <tr {alt_row}>
      	<td align="left" width="3">{id}</td>
        <td align="left" width="68">{title}</td>
        <td align="center" width="5%">({duration})</td>
        <td align="center" width="10%">{flash_player}</td>
        <td class="track_price" align="center" width="8%">{cost}</td>
        <td align="left" width="6%">{add_to_cart}</td>
      </tr>


you would delete the line with the flash player;

you'll probably want to reset the percentages for the table columns once you reduce the # of columns; i think the width specification within the tracks.html is redundant, since the table will follow the widths set in the head, first row which is set in the album.tpl.php;

-marc
Moderators: Arelowo Alao, Mike, Marc
Time to create page: 0.60 seconds