Shopsite assigns a number to each product. Is there a report
that I can generate that gives me a list of these numbers and
the corresponding item name?
Shopsite assigns a number to each product. Is there a report
that I can generate that gives me a list of these numbers and
the corresponding item name?
Shopsite assigns a number to each product. Is there a report
that I can generate that gives me a list of these numbers and
the corresponding item name?
If you are running on UNIX:
There is an old script, included in some very old shopsite builds, that will
do this for you. The name of the script is list-inums.pl. You must also have
the dbapi.pl file in the same directory.
Place it in the /ss directory for your install, and then run it:
(example if you installed shopsite into the /store directory)
www.yourwebsite.com/cgi-bin/store/ss/list-inums.pl
The output looks like this:
itemnum Name SKU
0 aa13x - Sport Goped aa13x
1 cc96x - Dome for ADA 40mm Pocketbike Headkit cc96x
2 aa160 - X-ped Goped aa160
3 aa107 - S25 Goped Limited Edition aa10x
4 bb956 - TS Pro 60 GSR40 Conversion Kit bb956
etc
Email me, and I will send you the .pl files if they willl work for you.
webmaster@davesmotors.com
"powerstream" <lasf13@netscape.net> wrote in message
news:d5os1f$ugf$1@eval.shopsite.com...
Shopsite assigns a number to each product. Is there a report
that I can generate that gives me a list of these numbers and
the corresponding item name?
The numbers are database record numbers and are probably of little use
unless you are manually creating orderAnywhere links. (If this is what
you are doing and you have a Pro store you should probably convert to
using SKU ). Record numbers can change if you download your products as
a tab delimited file and then reupload the same file. This is because
any deleted records are not downloaded and when you upload the records
they could be inserted into the database in the position where deleted
records previously were.
There is no easy report that would give you the numbers but there are a
couple of ways that you could get them.
1. In the advanced editing mode on the products screen list all products
and view the page source. You will see something like the following
select name="recs" multiple size=14
option selected value="13">Product name here
option value="0">This is another product
option value="9">product name is here
. . .
/select
The record number is the number in quotes, eg 13,0,9 and the name comes
after the > You can copy this section of source to a text editor and
using macros strip everything but the product number and name. This
takes a little time to do but isn't too bad.
2. Create a custom template that will output the product name and
record number. Then assign all products that template and assign all
products to a page and publish or preview the page. (not very elegant
but it would work.)
Jim
powerstream wrote:
Shopsite assigns a number to each product. Is there a report
that I can generate that gives me a list of these numbers and
the corresponding item name?
The dbapi.pl is no longer shipped with the product and is several version
old. Since new fields have been added to the database list-inums.pl may
not work as it was originally designed, but might be worth a try.
Jim
jim wrote:The numbers are database record numbers and are probably of little use
unless you are manually creating orderAnywhere links. (If this is what
you are doing and you have a Pro store you should probably convert to
using SKU ).
Users browsing this forum: Bing [Bot] and 26 guests