emiliano
-
Posts
409 -
Joined
-
Last visited
Posts posted by emiliano
-
-
I don?t use osC anymore, so don?t wait for me help because you will sit down for life... ;)
define it in the proper language file: maybe the file is categories.php
cheers
-
About the switch i can?t say anything, i can remember how i solve it.
About the text, please define it in the proper language file.
It?s nice to see many people using my contribution! have fun!
cheers
-
Hello :)
Thanks Farrukh for your help to everyone using this contribution!
cheers
emiliano
ps: i'll be back!
-
I dont remember.. search for "tredProducts Status" in the language files and in categories.php, wherever you find it, change it!
-
cieto it's just a nickname.. cheers.. visit omegacart.com
-
i really don't know where is the problem... many have that problem...
send me your index.php to [email protected]
cheers
emiliano
-
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
-
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
-
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
-
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....
-
you really are going to install your store in a free site? you are nuts..
-
sorry, i am confused here...
the mod shows fine on the front page, when i click on a categories link it does not show.
there is a product listing on that page because there are products in that category, if there were no products in the category, there would be no product listing and also no products to display under featured...
so when should it show on a categorys page?
have you a working site i can see the mod on?
thanks again for the help,
daithi.
The idea is to show products where the new products infobox was...
-
Because there is a product listing there!!!
-
The contribution shows the featured products in the category page, not in products listing..
-
does this mod work when in ategories - ie. show only featured products from that category?
From the readme:
--- WHAT IS IT? --- The purpose of this contribution is to replace the "New Products" Infobox that appears on the main page and top-level category pages, to show selected (by the admin) products, instead of new products. Is posible to create a short description of every product in every language set in the site. So you can show your featured products in your default page with a short description of the products or show a part of the description. On the main default page of osCommerce, a selection of ALL the featured products will be display, and in top-level categories, only featured products that belongs to that category. For example, "A Bug's Life" is a DVD movie in the sub-category "Cartoons", and "Cartoons" is a sub-category of "DVD Movies". If "A Bug's Life" is made a featured product, it will appear on the main osCommerce page, and also on the DVD Movies category page, but not on the Hardware page. If there are more featured products than the maximum allowed to be displayed, a random selection will be shown.
-
The only problem which i am facing are with the green and red button. When i edit/add any product and designate it into 'Featured Product', the field 'TABLE_HEADING_FEATURED' always shows the red button. I tried different ways but it remains the same.
What changes would i need to do inorder to make it perfect?
I think i need to defind 'TABLE_HEADING_FEATURED' in the language/english/index.php file ?
Hope m right ;)
You only see the red light? what about the product status? there you only see the red light too? or you can see the green light in the product status..
if TABLE_HEADING_FEATURED it's not define, do it, but i think that doing this it's not the solution to see the green light.
This contribution is perfect :D
emiliano
-
change tep_array_merge or array_merge
-
array??? mmm are you sure you follow all the steps and check twice everyting?
-
i made a product listing with my short description some time ago.. i really don?t know if that file exist at the moment and if it would work with MS2...
Yo need to add products_short in the query of the product listing and change featured_products_array to the array inthe product listing if the product listing works with an array...
the problem right now is that at the moment i started with exams at the university and i will finish on December 23th... i?m terribly sorry but i will disappear, if i have time i will give you some hints how to do what you are looking for, but i can?t guaranted anything..
cheers
emiliano
-
Thanks to everyone who help me to debug the version!!! if someone wants to contribute (noneone does...) for using this contribution has 2 options or contribute to the osCommerce team or myself... whatever you do will help to keep this project on...
cheers
emiliano
cieto Featured Products
Donwload @ http://www.oscommerce.com/community/contributions,505
-
Has anyone been able to pick apart the changes in the admin/categories.php file?
I've got too many mods and I can't tell of the subtle changes.
The idea is to found every part where product_description appears and create a similar one call product_short.. Then you have to duplicate the products status, the date available.. also you need to create a column to change the featured status from the admin product listing.. it's quite tricky...
good luck!
emiliano
-
Emiliano, I am using the new 2.51 and I think the "categories.php" is not working, I don't see the the green and red lights in the Featured column, the Featured column does not appear.
Regards, Andre'.
when i try to be stupid i'm the best one... new categories.php upload in contributions...
cheers
emiliano
-
You have the old categories.php, i upload a new one with version 2.51...
So you will see this:
Products Status: () In Stock () Out of Stock
FeatredProducts Status: () In Stock () Out of Stock
Date Available: [text box]
(YYYY-MM-DD)
Date Available: [text box]
(YYYY-MM-DD)
The second Date Availabe is the one where you have to setup Featured Until Date. I forget to add a text to change this.. so in line 532 (admin/categories.php) change this:
<td class="main"><?php echo TEXT_PRODUCTS_DATE_AVAILABLE; ?><br><small>(YYYY-MM-DD)</small></td>
with this:
<td class="main">Featured until <?php echo TEXT_PRODUCTS_DATE_AVAILABLE; ?><br><small>(YYYY-MM-DD)</small></td>
If the problem is that you can't see the text box to add the date, i'm terribly sorry, but that's the way osc handle the calendar box...
cheers
emiliano
-
How to
There are 2 ways to set the featured status of product as "true". From the product listing in the admin or when you create/update a product.
- From the product listing you just need to click on the green line in the Featured column... doing this you will add this products "xx" days from the current date.. you can change this "xx" days from configuration -> Featured Products -> Featured Period.
- When you create/update a product you need to use the second line of radio buttions (under you set the status of the product).
The featured until date here you can set up it as you want.. if you are having troubles with this give me a call.. sometimes the javascript for the calendar it?s not well loaded.. so refresh the page...
cheers
emiliano
- From the product listing you just need to click on the green line in the Featured column... doing this you will add this products "xx" days from the current date.. you can change this "xx" days from configuration -> Featured Products -> Featured Period.
cieto Featured Products 2.5 MS2
in General Add-Ons Support
Posted
do you have some product check as featured?
i cant believe i dont remember if there is a turn on, turn off option referring to the whole contribution, but i think that yes :)
check in your admin
i'm not back..