Post by ShadeRF » Thu Oct 15, 2009 2:33 am

Two things, first I would like to rename Model: to Album: and Manufacturer: to Artist:. Secondly beneath quantity I want to add a music player. I currently add the following code under description, which works but it would look nicer under quantity.

<script language="JavaScript" src="http://www.fridgelistads.com/music/play ... "></script>
<object type="application/x-shockwave-flash" data="http://www.fridgelistads.com/music/player/player.swf" id="audioplayer1" height="24" width="290">
<param name="movie" value="http://www.fridgelistads.com/music/player/player.swf">
<param name="FlashVars" value="playerID=1&soundFile=http://www.fridgelistads.com/music/player/music.mp3">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>

Is there anyway so when I add a product there is a box for adding source code like description that will show up under quantity on the product pages? Thanks!

Newbie

Posts

Joined
Wed Oct 14, 2009 1:16 am

Post by ShadeRF » Thu Oct 15, 2009 10:34 pm

*bump, anyone?

Newbie

Posts

Joined
Wed Oct 14, 2009 1:16 am

Post by dbstr » Thu Oct 15, 2009 11:09 pm

For renaming, edit catalog/language/english/product/product.php and find the 2 lines. (9 & 10)

The player: edit your product/product.tpl file - at line 92 (for a standard template, i think), find

Code: Select all

<?php } ?></td> 
and replace with

Code: Select all

<?php } ?><br />
          <script language="JavaScript" src="http://www.fridgelistads.com/music/player/audio-player.js"></script>
            <object type="application/x-shockwave-flash" data="http://www.fridgelistads.com/music/player/player.swf" id="audioplayer1" height="24" width="100%">
            <param name="movie" value="http://www.fridgelistads.com/music/player/player.swf">
            <param name="FlashVars" value="playerID=1&soundFile=http://www.fridgelistads.com/music/player/music.mp3">
            <param name="quality" value="high">
            <param name="menu" value="false">
            <param name="wmode" value="transparent">
          </object></td>

Request Reviews v1.0 released.


Active Member

Posts

Joined
Sun Aug 30, 2009 12:20 am

Post by ShadeRF » Thu Oct 15, 2009 11:59 pm

Thanks for your input. The rename worked great. The issue I have with the player is each page has a different song, so I can't simply paste the code to appear on every page because it would pull the same mp3 for all of them. Is there another way to do it so I can customize it per page?

Newbie

Posts

Joined
Wed Oct 14, 2009 1:16 am

Post by dbstr » Fri Oct 16, 2009 12:02 am

You could add a new input field for your products where you could specify a link for each product, but it's a bigger operation if you dont know how to do it.

Take a look at this: http://forum.opencart.com/viewtopic.php ... eld#p32143

Request Reviews v1.0 released.


Active Member

Posts

Joined
Sun Aug 30, 2009 12:20 am

Post by bafaraj » Sat Nov 13, 2010 6:54 am

I'm using the following extension :
http://www.opencart.com/index.php?route ... order=DESC

works great

متجر إنـشــاد | نختصر المسافات
http://www.inshadstore.com


New member

Posts

Joined
Fri Nov 12, 2010 12:32 am
Location - UAE
Who is online

Users browsing this forum: Amazon [Bot], Baidu [Spider], Bing [Bot] and 13 guests