Jump to content
Sign in to follow this  
emiliano

cieto Featured Products 2.5 MS2

Recommended Posts

maybe it's not cieto featured the one who made the problem... i really don't know and for the moment i can't give support until 22 december when i will start my vacations....


patagonia, argentina

Share this post


Link to post
Share on other sites

Fatal error: Call to undefined function: tep_array_merge() in /mnt/mirror/usr/home/sites/billi/public_html/admin/featured.php on line 169

 

what to do?

Share this post


Link to post
Share on other sites

hey, iv got this mode working fine,

Just one thing, can someone tell me how to have a dotted vertical line between my columns. its a really cool effect i think, and i thought that this mod used to have it but it doesnt now, so can someone tell me what to do.

 

thanks

 

Kristofor

Edited by Kristofor

Don't die with the music in you!!!

 

Failure is just another boundary to sucess!!! But that doesn't mean your getting somewhere...

Share this post


Link to post
Share on other sites
maybe it's not cieto featured the one who made the problem... i really don't know and for the moment i can't give support until 22 december when i will start my vacations....

 

The categories were showing up on the main page fine before installing cieto. They still show up on the sub-category pages, just not the main page.

 

Help from anyone is appreciated!

 

Chris

Share this post


Link to post
Share on other sites
Fatal error: Call to undefined function: tep_array_merge() in /mnt/mirror/usr/home/sites/billi/public_html/admin/featured.php on line 169

 

what to do?

change tep_array_merge for array_merge


patagonia, argentina

Share this post


Link to post
Share on other sites

thanks, Emiliano.

admin now works

but no goods showed on the main page (i replaced new products with featured) in catalog

Share this post


Link to post
Share on other sites

1 bug - in categories with no featured the box still shows up.

 

Suggestion:

How about also having a page in admin where featured items can be directly administered like in Specials.

After the item is added - it becomes a pain to go back through all those categories and subcategories, etc to administer them if one has a lot


"If you rundown your shadow, you will never catch it"

Bob Marley

Share this post


Link to post
Share on other sites

thanks for the bug...

 

about the other page i deleted from previous version.. i will put it in the next version if i ever released it..

 

cheers

emiliano


patagonia, argentina

Share this post


Link to post
Share on other sites

Found bug in categories.php

There was a problem when you try do duplicate a product.

 

Line 312, change this:

 

   tep_db_query("insert into " . TABLE_PRODUCTS . " (products_quantity, products_model,products_image, products_price, products_date_added, products_date_available, products_weight, products_status, products_featured, products_tax_class_id, manufacturers_id) values ('" . tep_db_input($product['products_quantity']) . "', '" . tep_db_input($product['products_model']) . "', '" . tep_db_input($product['products_image']) . "', '" . tep_db_input($product['products_price']) . "',  now(), '" . tep_db_input($product['products_date_available']) . "', '" . tep_db_input($product['products_weight']) . "', '0', '" . (int)$product['products_tax_class_id'] . "', '" . (int)$product['manufacturers_id'] . "')");

 

With this:

 

tep_db_query("insert into " . TABLE_PRODUCTS . " (products_quantity, products_model,products_image, products_price, products_date_added, products_date_available, products_weight, products_status, products_featured, products_tax_class_id, manufacturers_id) values ('" . tep_db_input($product['products_quantity']) . "', '" . tep_db_input($product['products_model']) . "', '" . tep_db_input($product['products_image']) . "', '" . tep_db_input($product['products_price']) . "',  now(), '" . tep_db_input($product['products_date_available']) . "', '" . tep_db_input($product['products_weight']) . "', '0', '" . (int)$product['products_featured'] . "', '" . (int)$product['products_tax_class_id'] . "', '" . (int)$product['manufacturers_id'] . "')");

 

Cheers

Emiliano


patagonia, argentina

Share this post


Link to post
Share on other sites

Thx emiliano for ur mod contrib, but i hava little problem with your mod, i installed the mod and there's nothing error i found, but in my index.php page doesnt show anything...

 

And then i try installed again....and still not showing the featured products....

Could u give me another clue ?

 

I'm using Osc MS2 and already download the new categories.php

Thanks...

Share this post


Link to post
Share on other sites

i really don't know where is the problem... many have that problem...

 

send me your index.php to cieto@msn.com

cheers

emiliano


patagonia, argentina

Share this post


Link to post
Share on other sites

Hi emiliano

 

I'm trying to get the qty display to work in modules/featured_products

 

I have it working in new_products & specials but can seem to get it to display the correct quantity

 

All I can get displayed is "out of stock"

 

can you give me a few pointers ? as I have been trying now for about 3 weeks :(

 

Please can you give me some guidence :rolleyes:

 

Dave

Share this post


Link to post
Share on other sites

Hi there :-)

 

Could someone please tell me how I fix the missing F in FeaturedProducts Status? I show the following, and although it's nitpicky... it's driving me nuts :-)

 

Products Status: In Stock??Out of Stock

eatredProducts Status:

 

I just don't in which file to change this.

 

Khim~


Do not meddle in the affairs of Dragons, for you are crunchy and good with ketchup :-)

Share this post


Link to post
Share on other sites

I dont remember.. search for "tredProducts Status" in the language files and in categories.php, wherever you find it, change it!


patagonia, argentina

Share this post


Link to post
Share on other sites

emiliano

 

I'm trying to get the qty display to work in modules/featured_products

 

I have it working in new_products & specials but can seem to get it to display the correct quantity

 

All I can get displayed is "out of stock"

 

Please, Please, can you give me some guidence / pointers ?

 

Dave

Share this post


Link to post
Share on other sites

Emiliano,

 

What I am looking for is a way that when a product expires, it is removed from the catalog. For example if I were to sell milk, it would remove its self when the milk expired.

 

It had been mentioned in a recent post, that this was possible, but I'm not sure if this is the contribution being referied to.

 

I had read through this compleate posting, and contribrution details, but am still unclear if this would do that or not.

 

thank you for your time and info.

Share this post


Link to post
Share on other sites

What are the chances of adding a sort order to this contribution. It is great and it would even be better if you could easily manipulate the products on the main page.

 

JP

Share this post


Link to post
Share on other sites

You can change the line code in includes/modules/featured.php that says

order by rand() DESC limit

as the code is it randomly selects the products, you can change this to say

order by p.products_date_added DESC limit

this will set the order fixed and by date added


No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post


Link to post
Share on other sites

I noticed that when adding three or more columns that the first two columns were spaced with the third or third and fourth columns sqeezed up at the edge, so altered featured_products.php tables to <td width="" to a % and this resolved the issue.


No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post


Link to post
Share on other sites

inetchoices

 

To fix the missing F in the admin

 

admin/categories.php

 

I cannot give the line number as my files are heavily modified.

the code is

 <td class="main">eatured<?php echo TEXT_PRODUCTS_STATUS; ?></td>

change this to

 <td class="main">Featured <?php echo TEXT_PRODUCTS_STATUS; ?></td>

Edited by 241

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post


Link to post
Share on other sites

ipalbicke

 

Further to my earlier post.

 

You can change the line code in includes/modules/featured.php that says

 
order by rand() DESC limit

 

as the code is it randomly selects the products, you can change this to say

 
order by p.products_date_added DESC limit

 

this will set the order fixed and by date added OR

 

order by p.products_id DESC limit

this will set the order by product id

 

you could also do by manufacturer etc and have ascending instead of descending

Edited by 241

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post


Link to post
Share on other sites

hi

 

installed the mod, but nothing shows in the main page??

 

anyone fixed this??

 

thx

 

john


Where is the anykey??

Share this post


Link to post
Share on other sites

uuups sorry. admin was not set right sorry.

 

Would like to thanks for the mod, great job :-)

 

john


Where is the anykey??

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×