Forums / General Questions / Special Products beforNew Products of the month and delete product with quantity zero

Special Products beforNew Products of the month and delete product with quantity zero

Locked

Started by soularcangel on 15 Nov 2006, 4:11 PM · Views: 2,354

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
15 Nov 2006, 4:11 PM
#1
soularcangel avatar

soularcangel

New Zenner

Join Date:
Nov 2006
Posts:
4
Plugin Contributions:
0

Special Products beforNew Products of the month and delete product with quantity zero

Question 1) I would like that in "Home Page" the Specials Products must position befor the new products of the month..... which file must change? and how it edit?

Question 2) I would like to delete from the database all products with quantity equal to zero.....exists a fast method?

P.S. Excuse me for any grammatical errors! I'm italian! :P

15 Nov 2006, 7:03 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Special Products beforNew Products of the month and delete product with quantity zero

To sort the Centerboxes ... go to the Configuration ... Index Listing ...

There are "sets" of centerboxes that you can sort ...

0 means OFF and any other value is the Sort Order to display order of the centerboxes ...

To completely remove from the database all products with a products_quantity of 0 ... it is really safer to do via the Admin as there are many database tables associated with each Product and the Admin delete of a Product will manage this for you ...

How many Products do you have that you want deleted?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

16 Nov 2006, 11:46 AM
#3
soularcangel avatar

soularcangel

New Zenner

Join Date:
Nov 2006
Posts:
4
Plugin Contributions:
0

Re: Special Products beforNew Products of the month and delete product with quantity zero

Our company has a supplier who will send us their database as a text file which contains many products with quantity equal to zero and i use EasyPopulate for to add the products in my database. Now, i would like to delete all products with quantity to zero..... it is possible to do via the Admin ??? or else, if i make a PHP programm for to delete all this products, which database tables i must consider?

I hope is all clear!

19 Nov 2006, 4:21 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Special Products beforNew Products of the month and delete product with quantity zero

It would be best to write a program to delete the product based on the delete routine that a standard delete makes ...

If you are importing a file with quantity 0 ... can't you just delete those before you import? :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

19 Nov 2006, 4:35 PM
#5
soularcangel avatar

soularcangel

New Zenner

Join Date:
Nov 2006
Posts:
4
Plugin Contributions:
0

Re: Special Products beforNew Products of the month and delete product with quantity zero

Ajeh:

It would be best to write a program to delete the product based on the delete routine that a standard delete makes ...

If you are importing a file with quantity 0 ... can't you just delete those before you import? :unsure:

:sleepy: Bhè! Yes! But i had to think to us before adding the products! By now i have make the damage! :P

19 Nov 2006, 4:40 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Special Products beforNew Products of the month and delete product with quantity zero

You might peek at the file:
/admin/includes/modules/delete_product_confirm.php

NOTE: Backup your database before you try to apply your own script to clean up the database tables ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!