Removing an item from the store

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
cci
Ensign (ENS)
Ensign (ENS)
Posts: 2
Joined: Tue Jan 26, 2010 10:07 am

Removing an item from the store

Post by cci » Tue Jan 26, 2010 10:17 am

When we tell our accounting/business software to remove an item from the web store. The auto process is not doing this.
The question is when removing an item through the database which tables need to be updated to remove the item or just hide it, so it can not be viewed or sold?
Thank you.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Removing an item from the store

Post by mazhar » Tue Jan 26, 2010 11:38 am

Its the ac_Products table. You can also set the desired item visibility to private in order to hide and disable its purchase.

cci
Ensign (ENS)
Ensign (ENS)
Posts: 2
Joined: Tue Jan 26, 2010 10:07 am

Re: Removing an item from the store

Post by cci » Mon Feb 01, 2010 8:17 am

Our devoloper asks, "Visibility ID (basically this state that products visibility on the web. The values that appear in this column is 0, 1 and 2. Can you please let us know the description of these values and its behavior on the web)".

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Removing an item from the store

Post by mazhar » Mon Feb 01, 2010 9:52 am

0 = Public //Product is visible people can access it
1 = Hidden //Product is hidden but still if anyone have a direct link he/she can access it
2 = Private //Product is hidden and no one can access it even via direct URL.

DerlinStiles
Ensign (ENS)
Ensign (ENS)
Posts: 3
Joined: Thu Dec 17, 2009 5:19 pm

Re: Removing an item from the store

Post by DerlinStiles » Mon Feb 01, 2010 3:39 pm

Why isn't this information in the wiki? I have had to figure out codes out by deduction and trial and error. Is information like this (codes for database fields, etc.) available somewhere else?

bsweeney
Ensign (ENS)
Ensign (ENS)
Posts: 19
Joined: Tue Mar 09, 2010 11:50 am

Re: Removing an item from the store

Post by bsweeney » Thu Apr 15, 2010 1:58 pm

mazhar wrote:0 = Public //Product is visible people can access it
1 = Hidden //Product is hidden but still if anyone have a direct link he/she can access it
2 = Private //Product is hidden and no one can access it even via direct URL.
If an item is marked "Private" can it still be ordered from the administrative interface? I need to hide some items from the public but still be able to create orders administratively that include these items.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Removing an item from the store

Post by mazhar » Fri Apr 16, 2010 10:50 am

You can not place order for item with private visibility as stand alone item from merchant side but if this private item is a part of kit then private item will be included in placed order. In fact upon checkout basket is validated and if it sees private item added as stand alone item then it will remove it from the list.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Removing an item from the store

Post by AbleMods » Mon Apr 19, 2010 12:53 pm

DerlinStiles wrote:Why isn't this information in the wiki? I have had to figure out codes out by deduction and trial and error. Is information like this (codes for database fields, etc.) available somewhere else?
The assumption is most people are using Visual Studio for making changes to their AC7 storefront. In Visual Studio, you can quickly and easily see what values are associated with these types of "ID" fields, thus documenting them only adds another layer of effort and the potential for stale documentation. In .Net programming, we call them "ENUM" values.

Determining the values for each choice is pretty quick and simple if you have access to the SQL database. The sticky part is when you're trying to run an external report writer to expose your store data in a different format. Then you only see the underlying values such as "0", or "2" and have to make the report translate those values into meaniful text.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply