Results 1 to 12 of 12
  1. #1
    Newbie
    Join Date
    January 12th, 2006
    Posts
    15
    Instruments Pro - open only 1-2 categories
    I would like to have only guitars and bass guitar selections show on our "instrumentspro" Home page.

    Can this be done and if so, does this apply to all the dyse:: scripts?

    Thank you

  2. #2
    ABW Ambassador cusimano's Avatar
    Join Date
    January 18th, 2005
    Location
    Toronto, Canada
    Posts
    1,369
    DySE currently does not support filtering.

    Manually download the datafeed, open it (e.g.: in Microsoft Excel), sort by category column, delete unwanted records, and upload it to your server to cgi-bin/dyse/MODULENAMEHERE/data/datafeed.txt (e.g.: cgi-bin/dyse/instrumentpro/data/datafeed.txt) then run make.pl

    Yours truly,
    Cusimano.Com Corporation
    per: David Cusimano

  3. #3
    Newbie
    Join Date
    January 12th, 2006
    Posts
    15
    Fatal error / Locked
    Thanks for your speedy reply. When I make.pl I get the following:

    # make products database:
    #------------------------------------------------------------
    # preprocess data
    /www/myserver/mydomain/cgi-bin/dyse/instrumentpro/data/datafeed.txt
    #------------------------------------------------------------
    # parse data: pass 1 of 2
    /www/myserver/mydomain/cgi-bin/dyse/instrumentpro/data/datafeed.txt
    processing: 0/17 (0%)
    processing: 17/17 (100%)

    *** FATAL ERROR ***
    no items found in datafeed
    #============================================================
    # failure:
    Thank you for using DySE::instrumentpro v5.09.27



    And when I veiw the page I see:

    Error

    data.db: database is currently locked

    Click here to try again

    I am saving the modified datafeed as tab delimited .txt file. And have uploaded in both binary and ASCII format. Any suggestions?

    Thanks again.
    Last edited by makenoiz; January 16th, 2006 at 04:52 PM.

  4. #4
    Newbie
    Join Date
    January 12th, 2006
    Posts
    15
    Field differences btwn. original and download
    Hi David,

    I think I see what the problem is . The feed I am downloading has different fields than the original:

    Orig:
    Mfg MfgCat Group Category Title Description Link Image Thumbnail SKU Price


    New:
    Category Mfr Title Description Link Image Thumbnail SKU Price

    Can I just modify the original? Is it considered current? Why are the field different?

    ideas?

    Thank you

  5. #5
    ABW Ambassador cusimano's Avatar
    Join Date
    January 18th, 2005
    Location
    Toronto, Canada
    Posts
    1,369
    The link in the documentation was linking to an older datafeed. Go back to the documentation, press refresh, and download from the link agian.

    Delete the data/data.db.lck file, upload the modified datafeed file, run make.pl

    Yours truly,
    Cusimano.Com Corporation
    per: David Cusimano

  6. #6
    Newbie
    Join Date
    January 12th, 2006
    Posts
    15
    David,
    Should this work for all dyse scripts. I am having problems with calendars. I only want dogs but it keep downloading the 2006 calendars from calendars.com. It wont use the datafeed that I load in /data.

    Thank you

  7. #7
    ABW Ambassador cusimano's Avatar
    Join Date
    January 18th, 2005
    Location
    Toronto, Canada
    Posts
    1,369
    Since Calendars.com has a "Dog & Dog Breed" category, use Root Category Selection. Note that (in addition to category.root) you will have to also use category.root.new since the dog calendars are at the "Dog & Dog Breed" category level and not in sub-categories of it.

    Yours truly,
    Cusimano.Com Corporation
    per: David Cusimano

  8. #8
    ABW Ambassador cusimano's Avatar
    Join Date
    January 18th, 2005
    Location
    Toronto, Canada
    Posts
    1,369
    To turn off automatic downloading of the merchant's datafeed, set the data.download configuration variable to "no". See Configuration File: make-ini.txt

    Yours truly,
    Cusimano.Com Corporation
    per: David Cusimano

  9. #9
    Newbie
    Join Date
    January 12th, 2006
    Posts
    15
    David,
    In Response to "In this case, you might want to edit the home.html template file and remove the category index and replace it with text such as "Click here to enter store" and link it to /store/. "

    Can I force the products on the home page so that the link can be avoided all together. Its just 1 category.

    Maybe Mod rewrite to cats.html and hardcode/pass the category name I want?

    BR,
    V. Fitzgerald

  10. #10
    ABW Ambassador cusimano's Avatar
    Join Date
    January 18th, 2005
    Location
    Toronto, Canada
    Posts
    1,369
    There is a work-around by modifying the .htaccess file. The DySE documentation has been updated; see: Root Category Selection -- Niche Store with Subset of Products

    Yours truly,
    Cusimano.Com Corporation
    per: David Cusimano

  11. #11
    Newbie
    Join Date
    January 12th, 2006
    Posts
    15
    Works great except I dont want to category.root.new to Store. I like the Religion & Spirituality default Category title. Tried not using caregory.root.new and setting .htaccess path to religion-spirituality but resolving failed with that combination. Ill mess with it a little more.


    --- 10 minutes later

    OK so I have to set category.root.new for this to work and I cant use Religion & Spirituality due to the whitespace (thinking outloud).

    Last question on this topic - any way to Keep "Religion & Spirituality" as category.root and not have to use root.new? Id still set path to religion-spirituality I believe.

    Thanks again.

    V. Fitzgerald
    Last edited by makenoiz; April 19th, 2006 at 01:56 AM.

  12. #12
    Newbie
    Join Date
    January 12th, 2006
    Posts
    15
    Cool
    This is what I ended up doing becase I could not figure out how to deal with the "&" nor could I eliminate the root.new... But this works. Featured Items are even on my cat pages now ( now appearing to be my home page) . Wooo hoo.

    Thanks David. You da bomb
    V. Fitzgerald


    category.root "Religion & Spirituality"
    category.root.new "Religion and Spirituality"
    data.download "no"



    Options +FollowSymLinks
    RewriteEngine on
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.+$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ cgi-bin/dyse/view.pl?merch=calendars&dir=&path=religion-and-spirituality/$1 [L]



    ......10 minutes later......

    sorry folks - I lied. Featured Items did not work as the links added the religion-and-spirituality path . I can see them on the cats page but cannot get to them on the item page. ;(
    Last edited by makenoiz; April 19th, 2006 at 02:33 AM. Reason: Adding more info

  13. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Support for Amazon Musical Instruments?
    By erh777 in forum Cusimano.com Scripts
    Replies: 1
    Last Post: June 5th, 2007, 09:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •