If this is your first visit, check our documentation. To post, register or login.
Forums / Setting Up Categories, Products, Attributes / Does Media Manager actually work?

Does Media Manager actually work?

Started by coltsaa on 12 May 2022, 5:35 PM · Views: 2,385

Results 1 to 11 of 11
12 May 2022, 5:35 PM
#1
coltsaa avatar

coltsaa

New Zenner

Join Date:
Aug 2016
Location:
Georgia USA
Posts:
37
Plugin Contributions:
0

Does Media Manager actually work?

Building a simple no frills site for a musician that wants to sell mp3s. I'm not a ZC newcomer but I've never used Media Manager and I've spent 2 days trying to figure it out. I've read the docs, looked at every post i can find and still no real answers! the shop is darlalancemusic com i go thru the steps to setup the sample mp3 clip but when i get to "Assign Media Collection to Product" page under my category, (My Music), it always tells me "No Products in This Category.
What Am I Missing Here!
A little help from my friends would be greatly appreciated. She's very anxious to get the store open

12 May 2022, 5:55 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: Does Media Manager actually work?

You might want to consider the iframe generator at https://html-css-js.com/html/generator/iframe/

Be sure to enter the URL as https:// to maintain the site's security.

The generator doesn't connect to YouTube but it would look like this.

<p class="musicFrame">
<iframe style="width: 100%; height: 100px; overflow: hidden;" src="https://www.youtube.com/watch?v=Bs_axS2Sy2Y" width="100" height="100" scrolling="no">Used to Be</iframe>
</p>

You would then use css to tell the p.musicFrame tag to center, float, box=shadow, etc.

example at metalhelm.com

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

12 May 2022, 9:40 PM
#3
coltsaa avatar

coltsaa

New Zenner

Join Date:
Aug 2016
Location:
Georgia USA
Posts:
37
Plugin Contributions:
0

Re: Does Media Manager actually work?

thanks dbltoe but i'm not sure that answers my question.
I'm trying to tie to a 20 second mp3 clip from a longer mp3. i've got the mixdown clip as mp3 and in the media folder. i go thru all the steps as outlined on the ZC Doc "Media Manager". when i get to the "assign media collection to product" it tells me there are no products??? Subsequently when i view the category "My Music" > "product name" the product is there but no mixdown clip is attached.
I've seen several threads on this exact problem but there all closed. I've seen other sites where this works so it's got to be OE, operator error, but i can't see it.

Thanks Again Yall

18 May 2022, 7:03 PM
#4
coltsaa avatar

coltsaa

New Zenner

Join Date:
Aug 2016
Location:
Georgia USA
Posts:
37
Plugin Contributions:
0

Re: Does Media Manager actually work?

I'm getting a little frustrated with ZC, I've got a problem and it looks like it's being ignored by the community. I have wiped out the category/products and all the Media Manager tables and started anew. Following the ZC Doc "How do I set up "Music" products for audio-previews?" to the letter and still "there are no products in this category" error. I've read just about every post i could find and either they're closed or nobody answered them, like mine. Somebody tell me what causes MM to not see any products so i can finish this site before the customer cancels.

18 May 2022, 9:22 PM
#5
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
635
Plugin Contributions:
0

Re: Does Media Manager actually work?

You are not being ignored. I just have no experience with what you are using. Good Luck!

18 May 2022, 9:53 PM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Does Media Manager actually work?

ColtSAA:

I'm getting a little frustrated with ZC, I've got a problem and it looks like it's being ignored by the community. I have wiped out the category/products and all the Media Manager tables and started anew. Following the ZC Doc "How do I set up "Music" products for audio-previews?" to the letter and still "there are no products in this category" error. I've read just about every post i could find and either they're closed or nobody answered them, like mine. Somebody tell me what causes MM to not see any products so i can finish this site before the customer cancels.

Based on the question asked, a lack of product identified appears to occur if the current category being reviewed is not the immediate parent to a product. That is, if the actual message displayed while in the media manager is: 'No Products in this category', or if different from that text that it is the text represented by

TEXT_NO_PRODUCT

as found in: admin/includes/languages/english/media_manager.php.

The category involved is expected to either be on the browser link immediately following current_category_id= with the value representing a category that is the immediate parent to one or more product. In a default install this also means that the category has no sub categories in it. Further it would most likely be expected that the category being reviewed is not the root of the store category tree.

So, can you describe the relationship of the category(s) to the expected product being reviewed and provide the browser path just starting at: media_manager (do not include your secret admin path name).

Note, any code posted here is best viewed when placed between ```
[CODE][/CODE]

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

18 May 2022, 9:54 PM
#7
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: Does Media Manager actually work?

Same here.

I am going to try and set something up on the only music site we host.

Maybe something by morning.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

18 May 2022, 11:34 PM
#9
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Does Media Manager actually work?

Work backwards.

The message "No Products in this category" is defined as TEXT_NO_PRODUCTS
admin/includes/languages/english/media_manager.php line 36

This is shown on line
admin/media_manager.php line 291

This means $product_array is empty (see media_manager.php line 284)
Why is that? Is the products_to_categories table corrupt?

There are bugs in this file but you haven't even hit them yet.
When you figure out why the query one line 284 returns no results, you can add the fixes from my PR here:

https://github.com/zencart/zencart/pull/4806

The Media Manager is not a heavily used component of Zen Cart in my experience, so it's likely to have more issues.
If you can't debug what you're doing you might want to try a different approach. For example, maybe look at one of the YouTube plugins to get ideas about adding a new field that has a link to your mp3.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

18 May 2022, 11:41 PM
#10
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Does Media Manager actually work?

Why is that? Is the products_to_categories table corrupt?

or are you using some sort of database population method that adds to products and products_description but not products_to_categories?

(If you use a tool like dbio, it does this sort of thing properly. )

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

19 May 2022, 11:51 AM
#11
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Does Media Manager actually work?

swguy:

Why is that? Is the products_to_categories table corrupt?

or are you using some sort of database population method that adds to products and products_description but not products_to_categories?

(If you use a tool like dbio, it does this sort of thing properly. )

Other tools do as well.

Another possible reason is that there is only one category in the store, even if that category and associated tables are properly populated. On initial review, the no products message may be displayed if there is only one category in the store even if that category has product.

Use of the demo installation shows a product selection when a category is selected that has product in it although issues do appear to exist at least similar to what has been described/addressed above.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...