From interchange-users@icdevgroup.org Wed Jan 1 00:52:00 2003 From: interchange-users@icdevgroup.org (LOADUP Internet -- Tech Support) Date: Wed Jan 1 00:52:00 2003 Subject: [ic] Matrix widgets doesn't work with others bought Message-ID: <000001c2b159$b6ec9980$0964a8c0@loadup.net> Has anyone noticed that matrix-widgets and others_bought don't mix in the store demo? Simple options are okay. Modular? The query comes back with the "option" sku in the orderline, not the code: os28004-CAM-BLK (if it was only os28004, others_bought would work fine) $desc Customers who bought this item also bought:
Mechanics Wrench Set
It's unfortunate, I would have used simple options if I would have know, so I figured I should warn others. -- Richard Williams richard@LOADUP.net From interchange-users@icdevgroup.org Wed Jan 1 06:41:00 2003 From: interchange-users@icdevgroup.org (Jonathan Clark) Date: Wed Jan 1 06:41:00 2003 Subject: [ic] Uploading images with interchange 4.9.3 In-Reply-To: <20021231161728.37910.qmail@web40403.mail.yahoo.com> Message-ID: <00ec01c2b18a$021b1e10$0301a8c0@NT3078> > > I know this topic has come up before, but I can't seem to find a > > solution to my problem. When I was using interchange 4.8 I was not > > able > > to upload images from the admin page. The way I solved it was by > > changing the "image upload" option to "image listing", creating the > > new > > item, saving it, going back in and selecting "new image" from the > > list > > and then selecting the image to upload. > > > > My ISP has upgraded me to 4.9.3 and it no longer works. There is not > > an > > option for "new image" and when I click on upload after selecting the > > proper image I get the following error: > > > > Error writing file images/items/product.jpg > > > > My error log shows the following: > > > > failed to write images/items/product.jpg: Permission denied > > backup=0 > > Could not open> file '>images/items/product.jpg': Permission denied > > > > My permissions for the images and items folders is 775. > > > > Can anyone help me with this issue? > > > > Thanks in advance, > > Nick > > > Maybe I am out of my area on this, but I never knew you could upload > images to the www space from the admin UI. I thought it only uploaded > the pictures to the non www space. Well a solution to your problem is > to just ftp your pictures over. thats what i do. or upload to the non > www space and make a symbolic link to from your /www/images/whatever to > your /catalog/images/whatever/ Strictly speaking, and under normal settings, its true that you can't upload images outside of the catalog space; this is a security feature of Interchange. However, you can symlink from the www space, images directory back into the catalog space. That way, interchange places an uploaded file in /images/whatever and this appears in html space. Being unable to upload images usually results from either a missing symlink, or incorrect permissions in the images directories (the interchange user needs to be able to write to them). Jonathan www.webmaint.net From interchange-users@icdevgroup.org Wed Jan 1 14:55:01 2003 From: interchange-users@icdevgroup.org (David Haley) Date: Wed Jan 1 14:55:01 2003 Subject: [ic] Modified Route? Message-ID: I am using the product foundation store and would like to modify my Order Route to send the customer to an additional page in addition to the "receipt" page after checkout, and I am not sure how to do this. I still want the order to be processed and for the receipt to be mailed, but in addition after I would like to start a new window (_blank) page with an independent url outside of the foundation store. I am not sure if this can be done with the order route, profile.order, or IC tags instead of javascript. profiles.order ------------- &final=yes checkout.html ------------- [button] mvsuccesspage=otherwebsite.html [/button] _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From interchange-users@icdevgroup.org Wed Jan 1 15:25:00 2003 From: interchange-users@icdevgroup.org (Ed LaFrance) Date: Wed Jan 1 15:25:00 2003 Subject: [ic] Modified Route? In-Reply-To: Message-ID: <5.1.1.6.0.20030101122055.0210d5a0@mail.newmediaems.com> At 09:54 AM 1/1/2003 -1000, you wrote: >I am using the product foundation store and would like to modify my Order >Route to send the customer to an additional page in addition to the >"receipt" page after checkout, and I am not sure how to do this. I still >want the order to be processed and for the receipt to be mailed, but in >addition after I would like to start a new window (_blank) page with an >independent url outside of the foundation store. I am not sure if this >can be done with the order route, profile.order, or IC tags instead of >javascript. I'm not aware of any way that Interchange ITL can be used to open a new window with an alternate URL in the client's browser, since Interchange is all server-side. Your best bet is to use a javascript window opener routine on etc/receipt.html - there are many such scripts available on the 'net. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From interchange-users@icdevgroup.org Thu Jan 2 10:45:01 2003 From: interchange-users@icdevgroup.org (mike karthauser) Date: Thu Jan 2 10:45:01 2003 Subject: [ic] resetting admin password Message-ID: I am having a bad day having forgot the admin password for one of my live stores. Is there a way i can reset the password or create another account via commandline access? I can get to the server, all databases etc. I looked at access.asc but the password is encrypted - anyway to deincript? cheers.. Happy New Year to you all. regards mikek -- Mike Karthauser Managing Director - Brightstorm Ltd Email >> mikek@brightstorm.co.uk Web >> http://www.brightstorm.co.uk Tel >> 0117 9426653 (office) 07939 252144 (mobile) Snailmail >> Unit 8, 14 King Square, Bristol BS2 8JJ From interchange-users@icdevgroup.org Thu Jan 2 10:54:00 2003 From: interchange-users@icdevgroup.org (Jon) Date: Thu Jan 2 10:54:00 2003 Subject: [ic] Payment Processing Message-ID: <3E145F1A.2878872D@attglobal.net> Using IC 4.9.3 and echo.pm Trying to understand how to utilize just authorization and debit versus just authorization versus just debit payment flows with in IC. And with just a debit flow how/where to grab the, what must be an encrypted, CC number. Been able to VERY simply configure my test ID, PIN, and payment mode of echo to process a test authorization and deposit payment flow. But what if I want to just do authorization ? I see CreditCardAuto needs to be YES to automatically encrypt and save the CC number but opencho requires CreditCardAuto to be NO to work. Is this a feature that needs to be added to echo or what ? This is where it gets fuzzy for me. Jon From interchange-users@icdevgroup.org Thu Jan 2 13:43:00 2003 From: interchange-users@icdevgroup.org (Jonathan Clark) Date: Thu Jan 2 13:43:00 2003 Subject: [ic] resetting admin password In-Reply-To: Message-ID: <000001c2b28e$115aaad0$0b01a8c0@NT3078> > I am having a bad day having forgot the admin password for one of my live > stores. > > Is there a way i can reset the password or create another account via > commandline access? > > I can get to the server, all databases etc. I looked at access.asc but the > password is encrypted - anyway to deincript? I find the simplest way is to pinch a known password from another access.asc. If you want to create a new one, Mike posted a handy perl app some time ago: http://www.icdevgroup.org/pipermail/interchange-users/2001-March/006031.html Jonathan www.webmaint.net From interchange-users@icdevgroup.org Thu Jan 2 14:02:00 2003 From: interchange-users@icdevgroup.org (Mike Karthauser) Date: Thu Jan 2 14:02:00 2003 Subject: [ic] resetting admin password In-Reply-To: <000001c2b28e$115aaad0$0b01a8c0@NT3078> Message-ID: <97E347CA-1E84-11D7-94DF-003065A5B276@brightstorm.co.uk> On Thursday, January 2, 2003, at 06:37 PM, Jonathan Clark wrote: > I find the simplest way is to pinch a known password from another > access.asc. > > If you want to create a new one, Mike posted a handy perl app some > time ago: > > http://www.icdevgroup.org/pipermail/interchange-users/2001-March/ > 006031.html Genius. Thanks for that Jonathan. I have got one store that i can get into in development so i shall try that tommorrow. I have just scanned that doc and it follows that i can use htpasswd which i am certainly familiar with. Hope you had a new year. best regards mikek mikek@brightstorm.co.uk t: 0117 9426653 / m: 07939252144 / w: http://www.brightstorm.co.uk From interchange-users@icdevgroup.org Thu Jan 2 14:05:01 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Thu Jan 2 14:05:01 2003 Subject: [ic] resetting admin password In-Reply-To: Message-ID: <000701c2b291$70332fc0$020110ac@majestic.cursor-software.co.uk> mike karthauser [mikek@brightstorm.co.uk] wrote: > > I am having a bad day having forgot the admin password for one of my live > stores. > > Is there a way i can reset the password or create another account via > commandline access? > > I can get to the server, all databases etc. I looked at access.asc but the > password is encrypted - anyway to deincript? > Try this: * Create a new encrypted password with this sort of thing: perl -e 'print crypt("newpassword",rand(100)) . "\n"' * Copy the new encrypted password for use in a moment. * Change to your products directory and backup your access.asc file - just in case. * Edit the access.asc file using a text editor such as vi. * Locate the old encrypted password and replace with the new one you copied earlier, while being careful to maintain the file's format: Tab-separated values, no nasty MSDOS or Mac line endings etc. Obviously, you will need to be logged in as a user who has permission to edit the access.asc file. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Thu Jan 2 14:16:00 2003 From: interchange-users@icdevgroup.org (Aaron Hazelton) Date: Thu Jan 2 14:16:00 2003 Subject: [ic] return section of text that contain search term Message-ID: <000301c2b293$521994a0$ab7ba8c0@abhlaptop> Hi all, I would like to return a section of text in context around a search term. I am wondering if anyone has done this. I could have sworn I had seen something like this before on an earlier version of the ICDEV site, but maybe not. What I am going for is something similar to what Google does on their results, only not as jazzy -- I just do not want to return the whole db value as it may be quite long .... Has anyone done this? Any ideas on it? input? direction? TIA -- Aaron From interchange-users@icdevgroup.org Thu Jan 2 14:43:00 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Thu Jan 2 14:43:00 2003 Subject: [ic] return section of text that contain search term In-Reply-To: <000301c2b293$521994a0$ab7ba8c0@abhlaptop>; from aaronmail@hazenet.net on Thu, Jan 02, 2003 at 02:15:31PM -0500 References: <000301c2b293$521994a0$ab7ba8c0@abhlaptop> Message-ID: <20030102144233.A11528@bill.heins.net> Quoting Aaron Hazelton (aaronmail@hazenet.net): > Hi all, > > I would like to return a section of text in context around a > search term. I am wondering if anyone has done this. I > could have sworn I had seen something like this before on > an earlier version of the ICDEV site, but maybe not. What > I am going for is something similar to what Google does > on their results, only not as jazzy -- I just do not want to > return the whole db value as it may be quite long .... > > Has anyone done this? Any ideas on it? input? direction? > This was done on ICDEV with Glimpse, which had a function to extract a portion of a document when indexing. (Swish++ has something similar, but I haven't taken the time to set up the indexing for it.) You would need to do this yourself. Seeing as how you have access to any data you can key in to in an Interchange search list, it should not be trouble to do efficiently with a simple [item-sub ...] [item-exec ...] combination. If you are talking about a file search ala Swish, you would need to read its docs and figure out how to include it in the index. IC's Swish module does allow keying into arbitrary elements, but I doubt there are many examples out there. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Research is what I'm doing when I don't know what I'm doing. -- Wernher Von Braun From interchange-users@icdevgroup.org Thu Jan 2 14:47:00 2003 From: interchange-users@icdevgroup.org (Jerry) Date: Thu Jan 2 14:47:00 2003 Subject: [ic] return section of text that contain search term In-Reply-To: <000301c2b293$521994a0$ab7ba8c0@abhlaptop> Message-ID: > I would like to return a section of text in context around a > search term. I am wondering if anyone has done this. I > could have sworn I had seen something like this before on > an earlier version of the ICDEV site, but maybe not. What > I am going for is something similar to what Google does > on their results, only not as jazzy -- I just do not want to > return the whole db value as it may be quite long .... > > Has anyone done this? Any ideas on it? input? direction? Assuming you are returning something like [item-description] from your search. Something like this would work if I understand your question correctly. [calc] # Set the maximum length of the string you want to display $max_length = 25; $out = q{[item-description]}; if (length($out) > $max_length) { $out = substr($out,0,$max_length); # In case we chopped up a word, backup to the last space $out =~ s/ [^ ]*$//; # add some ... to the end of the string return $out . " ..."; } return $out; [/calc] Think this is what you want... Jerry From interchange-users@icdevgroup.org Thu Jan 2 15:06:00 2003 From: interchange-users@icdevgroup.org (interchange-users@icdevgroup.org) Date: Thu Jan 2 15:06:00 2003 Subject: [ic] Merchant support question Message-ID: <1041537862.3e149b46ef768@www.deeplyshallow.com> Hi. I'll be installing the Interchange store on my Glypto site shortly, and would like to know what merchant accounts Interchange will support. I'm giving though to signing up with GloBill Systems, and want to make sure there won't be any reason I'd have a problem doing this. Any help is appreciated. Thanks much. Jason Gurley jason@deeplyshallow.com From interchange-users@icdevgroup.org Thu Jan 2 15:35:59 2003 From: interchange-users@icdevgroup.org (Paul Jordan) Date: Thu Jan 2 15:35:59 2003 Subject: [ic] weighted search result sorting Message-ID: Hi List In recent testing of my search engine I realized that while, yes it DOES return a very good result set, it poorly sorts them. We have a content site, that for example sells images. So for example: sku keywords sku123 ocean, island, sky, trees, water sku124 sky, clouds, blue, day Lets say I have thousands similar to this. The problem arises when someone searches for the term 'sky'. It will pull both results from above, but if I sort by sku it will show the pictures of the island with water and sky, or any number of picture with sky in it WILL appear BEFORE a simple brilliant SKY by itself.... which is not good, if left to sorting a field value. I have been thinking of ways to "weight" the result set. I am not an expert on efficiency nor databases. I am using Mysql, but NOT an SQL query because I am doing full text searches. A pseudo idea would be like: sku keywords sku123 ocean_7, island_9, sky_5, trees_4, water_5 sku124 sky_10, clouds_10, blue_3, day_2 I have no idea if this is possible but in the above it is assumed that with substring matching turned on, 'sky' will still be a HIT for both, then maybe create some custom tf=? or method of sorting based on the numeric TOTALs of the corresponding _'n' with regards to the words matched by the users search spec. So now with the above, a search for 'sky' will still return both, but the first one visible will be sku124 (because sky=10) and for the other (sky=5) But if someone searched for 'sky ocean' then both would still be returned but sku123 will be first because (sky+ocean=12) and the other sku is (sky=10) I still want to return both, because a Graphic artists can just take the sky from one and the ocean from another, so both are relevant. I know I know this is starting to sound terribly inefficient :) but the but any normal tf=?,?,? will simply not work well at all for us. As of now I have a general "collection" form to gather the users search terms, then on my results page I separate out all the search terms and do a nice juicy in-page co=1 search. So basically I do have all search terms separated out at one point, if that helps. Any idea on how to go about this? If any consultants have an idea but feel it is way to complicated to share, or for me to handle, the please contact me off-list with the idea, and if it is suitable for what I am doing, then we can work out arrangements. paul@gishnetwork.com If you have any advice(methods) for me to look into, I would be grateful, I like trying to do this on my own, but realize this may be a complicated one.... or not :) Other ideas may be to base it on how many times the word appears in the record (I don't like this one as it can get ugly). Obviously any method will require a competent user inputting the database info, I do not think there is any escaping that. I think I am pretty safe in assuming any solution will require some sort of post search (perl) sorting facility... correct? Thanks in advance. Paul From interchange-users@icdevgroup.org Thu Jan 2 16:43:00 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Thu Jan 2 16:43:00 2003 Subject: [ic] Merchant support question In-Reply-To: <1041537862.3e149b46ef768@www.deeplyshallow.com> Message-ID: <000101c2b2a7$db7d4de0$020110ac@majestic.cursor-software.co.uk> jason@deeplyshallow.com wrote: > > Hi. I'll be installing the Interchange store on my Glypto site shortly, and > would like to know what merchant accounts Interchange will support. I'm giving > though to signing up with GloBill Systems, and want to make sure there won't be > any reason I'd have a problem doing this. > > Any help is appreciated. Thanks much. > Interchange supports a number of Payment Services Providers (PSPs) "out of the box". You'll find a full list on my Interchange RTFM website: http://www.interchange.RTFM.info/downloads/payments/ Payment modules are reasonably simple to create, as long as the PSP has a proper synchronous API. The cheap PSPs, such as WorldPay and PayPal, that force your customers to use their servers to submit their payment details are more difficult to implement, but nothing's impossible. I've never heard of Glypto or GloBill, but a Google search turned up www.globill-systems.com, which appears to be an asynchronous PSP with no real synchronous API. I only spent five minutes on their website, so correct me if I'm wrong. I couldn't find any implementation information at all. Call for payment modules: ------------------------- Anyone who has an Interchange Payment module that's not listed on the above RTFM web page is encouraged to submit the module to the Interchange project so that it may be used by others. The same applies to anyone who has written, or wants to write, a HOWTO that explains the use of Interchange with a particular asynchronous PSP. Modules and HOWTOs may be posted to this mail list, or sent directly to either myself or any of the other ICDEVGROUP core team members. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Thu Jan 2 17:23:00 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Thu Jan 2 17:23:00 2003 Subject: [ic] weighted search result sorting In-Reply-To: Message-ID: <000301c2b2ad$63d6c0e0$020110ac@majestic.cursor-software.co.uk> Paul Jordan [paul@gishnetwork.com] wrote: > > In recent testing of my search engine I realized that while, yes it DOES > return a very good result set, it poorly sorts them. We have a content > site, that for example sells images. So for example: > > sku keywords > sku123 ocean, island, sky, trees, water > sku124 sky, clouds, blue, day > > Lets say I have thousands similar to this. The problem arises when > someone searches for the term 'sky'. It will pull both results from > above, but if I sort by sku it will show the pictures of the island with > water and sky, or any number of picture with sky in it WILL appear > BEFORE a simple brilliant SKY by itself.... which is not good, if left > to sorting a field value. > > I have been thinking of ways to "weight" the result set. I am not an > expert on efficiency nor databases. I am using Mysql, but NOT an SQL > query because I am doing full text searches. > > A pseudo idea would be like: > > sku keywords > sku123 ocean_7, island_9, sky_5, trees_4, water_5 > sku124 sky_10, clouds_10, blue_3, day_2 > > I have no idea if this is possible but in the above it is assumed that > with substring matching turned on, 'sky' will still be a HIT for both, > then maybe create some custom tf=? or method of sorting based on the > numeric TOTALs of the corresponding _'n' with regards to the words > matched by the users search spec. > > So now with the above, a search for 'sky' will still return both, but > the first one visible will be sku124 (because sky=10) and for the other > (sky=5) > > But if someone searched for 'sky ocean' then both would still be > returned but sku123 will be first because (sky+ocean=12) and the other > sku is (sky=10) > > I still want to return both, because a Graphic artists can just take the > sky from one and the ocean from another, so both are relevant. I know I > know this is starting to sound terribly inefficient :) but the but any > normal tf=?,?,? will simply not work well at all for us. > I'd have a table along the lines of the following: sku keyword weight ------- --------------- -------- sku123 ocean 7 sku123 island 9 sku123 sky 5 sku123 trees 4 sku123 water 5 sku124 sky 10 sku124 clouds 10 sku124 blue 3 sku124 day 2 PRIMARY INDEX: sku, keyword NON-UNIQUE INDEX: keyword The following (untested) SQL queries should then work as follows: Query: SELECT sku, SUM(weight) AS skuweight FROM keywords WHERE keyword IN ('sky') GROUP BY sku ORDER BY skuweight DESC Results: sku skuweight ------- --------- sku124 10 sku123 5 Query: SELECT sku, SUM(weight) AS skuweight FROM keywords WHERE keyword IN ('sky','ocean') GROUP BY sku ORDER BY skuweight DESC Results: sku skuweight ------- --------- sku123 12 sku124 10 Or that's the theory, at least. :-) You'd pass the keywords into a page which would split them into individual lower-case words for use in the WHERE clause. If you wanted to allow substring matches, you could have multiple "LIKE" lines instead of one large "IN" line: User types "sk oce" and the following is generated: SELECT sku, SUM(weight) AS skuweight FROM keywords WHERE keyword LIKE '%sk%' OR keyword LIKE '%oce%' GROUP BY sku ORDER BY skuweight DESC Results: sku skuweight ------- --------- sku123 12 sku124 10 Once you have your SQL query, you'd execute it with the [query] tag and display the results in any way you see fit. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Thu Jan 2 17:52:00 2003 From: interchange-users@icdevgroup.org (Jon Jensen) Date: Thu Jan 2 17:52:00 2003 Subject: [ic] Overriding global UserTag in PreFork mode In-Reply-To: <1041284601.15534.120.camel@oneoneone> References: <1041284601.15534.120.camel@oneoneone> Message-ID: On Mon, 30 Dec 2002, Bill Carr wrote: > IC 4.9.5, PERL 5.6.1, Linux-2.4.19 > > Two catalogs served by the same IC. Catalog A overrides a global user > tag and Catalog B occasionally (about 35% - 40% of the time) gets > catalog As version. I can not produce this behavior with PreFork off. > Other traffic settings are the same as rpc mode from > interchange.cfg.dist. > > This post shows other problems that may be related since I have been > running 4.9.5: > http://www.icdevgroup.org/pipermail/interchange-users/2002-December/030017.html Bill, I've run into and fixed several bugs in PreFork mode due to Interchange children having state changed and affecting subsequent page requests, and it sounds like you're running into more of them. Unfortunately, I haven't had time to go on a complete hunt for all such things, and they take time to root out. But they are fixable and someone will get to them eventually, sooner if the job at hand depends on it. :) Jon From interchange-users@icdevgroup.org Thu Jan 2 17:55:01 2003 From: interchange-users@icdevgroup.org (Thomas J.M. Burton) Date: Thu Jan 2 17:55:01 2003 Subject: [ic] Edits to LinkPoint GlobalSub? Message-ID: <017801c2b2b1$e9850680$0b00a8c0@TJMB> Hello IC Users, I'm in the process of setting up the LinkPoint GlobalSub (originally written by Josh Simpson before being modified by Richard Eicher and then Austin Markus and found at: http://www.interchange.rtfm.info/downloads/payments/index.html) Upon reviewing the GlobalSub, it occurred to me that perhaps some lines should be revised to use some of the existing mv_ variables, allowing the GlobalSub to be used by multiple catalogs on one server, each with its own LinkPoint account. Since I don't consider myself much of a programmer (although I seem to be heading in that direction more and more each day), I was wondering if someone might be able to give be feedback about these proposed changes. Perhaps this was not done for some reason I am unaware of, and I'm wasting bytes by writing this. :) Current GlobalSub (lines 9-12): my $hostname = "secure.linkpt.net"; my $port = "1139"; my $storename = "YOUR STORENAME"; my $keyfile = "FULL PATH OF YOUR .PEM FILE"; Proposed Changes (based on authorizenet GlobalSub): my $port = "1139"; my $hostname = $::Variable->{MV_PAYMENT_SERVER} || $::Variable->{CYBER_SERVER} || 'secure.linkpt.net'; my $storename = $::Variable->{MV_PAYMENT_ID} || $::Variable->{CYBER_ID} or return undef; my $keyfile = $::Variable->{MV_PAYMENT_PEM} or return undef; Thanks in advance for any input on this topic. :) -Tom Burton ___________________________________ Thomas J.M. Burton, Design/Production Global Focus Digital Media, LLC www.globalfocusdm.com [541] 342.5717 From interchange-users@icdevgroup.org Thu Jan 2 18:07:01 2003 From: interchange-users@icdevgroup.org (interchange-users@icdevgroup.org) Date: Thu Jan 2 18:07:01 2003 Subject: [ic] weighted search result sorting Message-ID: <9D26F1CA05B0FC4FBB63285FAF5948D5105B76@corpmsx01.gaiam.com> > Paul Jordan [paul@gishnetwork.com] wrote: > > > > A pseudo idea would be like: > > > > sku keywords > > sku123 ocean_7, island_9, sky_5, trees_4, water_5 > > sku124 sky_10, clouds_10, blue_3, day_2 > > > > I have no idea if this is possible but in the above it is > assumed that > > with substring matching turned on, 'sky' will still be a > HIT for both, > > then maybe create some custom tf=? or method of sorting based on the > > numeric TOTALs of the corresponding _'n' with regards to the words > > matched by the users search spec. > > > > So now with the above, a search for 'sky' will still return > both, but > > the first one visible will be sku124 (because sky=10) and > for the other > > (sky=5) > > > > But if someone searched for 'sky ocean' then both would still be > > returned but sku123 will be first because (sky+ocean=12) > and the other > > sku is (sky=10) > > > > I still want to return both, because a Graphic artists can > just take the > > sky from one and the ocean from another, so both are > relevant. I know I > > know this is starting to sound terribly inefficient :) but > the but any > > normal tf=?,?,? will simply not work well at all for us. > > [ part of Kevin's solution cut] > Query: > > SELECT sku, SUM(weight) AS skuweight > FROM keywords > WHERE keyword IN ('sky','ocean') > GROUP BY sku > ORDER BY skuweight DESC > > Results: > > sku skuweight > ------- --------- > sku123 12 > sku124 10 > > Or that's the theory, at least. :-) > > You'd pass the keywords into a page which would split them into > individual lower-case words for use in the WHERE clause. If you > wanted to allow substring matches, you could have multiple "LIKE" > lines instead of one large "IN" line: > > User types "sk oce" and the following is generated: > > SELECT sku, SUM(weight) AS skuweight > FROM keywords > WHERE keyword LIKE '%sk%' > OR keyword LIKE '%oce%' > GROUP BY sku > ORDER BY skuweight DESC > > Results: > > sku skuweight > ------- --------- > sku123 12 > sku124 10 > > Once you have your SQL query, you'd execute it with the [query] tag > and display the results in any way you see fit. Not sure how one would implement this, but a site I've worked on had this problem and we came up with a solution of doing multiple passes, starting with Kevin's first query which finds exact matches. Then if that pass doesn't produce (however you choose that), you do the second of Kevin's queries. Obviously you rank the exact matches from the first pass above those in the second pass. If you just wanted to do it the simplest way, you could always do both queries for every search and just display it as: Exact matches on your search: Items with similar keywords: A slightly-less-simple way might be to do it as a [query] block and do the second query within the [no_match] block of the first query. Then you would run the LIKE query whenever you got nothing at all from the exact match query. Not sure how well Interchange handles queries within queries, though and I have a vague recollection that it didn't like nesting them at all. Patrick Bennett http://www.ccgenesis.com From interchange-users@icdevgroup.org Thu Jan 2 18:14:01 2003 From: interchange-users@icdevgroup.org (Aaron Hazelton) Date: Thu Jan 2 18:14:01 2003 Subject: [ic] return section of text that contain search term In-Reply-To: Message-ID: <000601c2b2b4$7baae550$ab7ba8c0@abhlaptop> Jerry wrote: > > I would like to return a section of text in context around a > > search term. I am wondering if anyone has done this. I > > could have sworn I had seen something like this before on > > an earlier version of the ICDEV site, but maybe not. What > > I am going for is something similar to what Google does > > on their results, only not as jazzy -- I just do not want to > > return the whole db value as it may be quite long .... > > > > Has anyone done this? Any ideas on it? input? direction? > > Assuming you are returning something like [item-description] from > your search. Something like this would work if I understand your > question correctly. > > [calc] > # Set the maximum length of the string you want to display > $max_length = 25; > $out = q{[item-description]}; > if (length($out) > $max_length) { > $out = substr($out,0,$max_length); > # In case we chopped up a word, backup to the last space > $out =~ s/ [^ ]*$//; > # add some ... to the end of the string > return $out . " ..."; > } > return $out; > [/calc] Thanks Jerry and Mike. If I did thie correctly, this limits the total length of the string returned. This can be done with a [filter ... as well. What I wanted was to return a limited portion of the text *around* the search term in a context form. If that's what you are talking about as well then I am missing something I guess. With the code you posted, I guess you would have to find the search term in the text, then go either direction, but I do not know perl. Any ideas on how to do that? Thanks again! > > Think this is what you want... > > Jerry -- Aaron From interchange-users@icdevgroup.org Thu Jan 2 19:29:00 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Thu Jan 2 19:29:00 2003 Subject: [ic] Edits to LinkPoint GlobalSub? In-Reply-To: <017801c2b2b1$e9850680$0b00a8c0@TJMB> Message-ID: <000001c2b2bf$013a70a0$020110ac@majestic.cursor-software.co.uk> Thomas J.M. Burton [tom@globalfocusdm.com] wrote: > > I'm in the process of setting up the LinkPoint GlobalSub (originally > written by Josh Simpson before being modified by Richard Eicher and > then Austin Markus and found at: > http://www.interchange.rtfm.info/downloads/payments/index.html) > > Upon reviewing the GlobalSub, it occurred to me that perhaps some lines > should be revised to use some of the existing mv_ variables, allowing > the GlobalSub to be used by multiple catalogs on one server, each with > its own LinkPoint account. > > Since I don't consider myself much of a programmer (although I seem to > be heading in that direction more and more each day), I was wondering > if someone might be able to give be feedback about these proposed > changes. Perhaps this was not done for some reason I am unaware of, and > I'm wasting bytes by writing this. :) > > Current GlobalSub (lines 9-12): > > my $hostname = "secure.linkpt.net"; > my $port = "1139"; > my $storename = "YOUR STORENAME"; > my $keyfile = "FULL PATH OF YOUR .PEM FILE"; > > > Proposed Changes (based on authorizenet GlobalSub): > > my $port = "1139"; > > my $hostname = $::Variable->{MV_PAYMENT_SERVER} || > $::Variable->{CYBER_SERVER} || > 'secure.linkpt.net'; > > my $storename = $::Variable->{MV_PAYMENT_ID} || > $::Variable->{CYBER_ID} > or return undef; > > my $keyfile = $::Variable->{MV_PAYMENT_PEM} > or return undef; > > > Thanks in advance for any input on this topic. :) > Why not go the rest of the way and convert the GlobalSub into a Vend::Payment::LinkPoint module? It probably wouldn't take up a lot more of your time and would allow any of the standard methods of per-site Interchange Payment module configuration to be used. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Thu Jan 2 19:50:00 2003 From: interchange-users@icdevgroup.org (interchange-users@icdevgroup.org) Date: Thu Jan 2 19:50:00 2003 Subject: [ic] no LWP modules installed. Message-ID: <06ad01c2b2c1$73d9c8c0$0100a8c0@COMPAQ2800T> Hi, I am using Interchange 4.8.6 w/cpanel. I am able to use [get-url http://domain/] without any errors. However when I try to use [perl] my $content= $Tag -> get_url("http://domain"); return $content; [/perl] I keep getting the following errors.: " Cannot use get-url tag, no LWP modules installed." However the following modules are installed on the server. LWP::Simple (v1.35). Safe::Hole (v0.08). Any help will be appreciated. Thanks Farhan www.Designerz.com From interchange-users@icdevgroup.org Thu Jan 2 19:54:00 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Thu Jan 2 19:54:00 2003 Subject: [ic] weighted search result sorting In-Reply-To: <9D26F1CA05B0FC4FBB63285FAF5948D5105B76@corpmsx01.gaiam.com> Message-ID: <000201c2b2c2$226466c0$020110ac@majestic.cursor-software.co.uk> patrick.bennett@ccgenesis.com wrote: > > Paul Jordan [paul@gishnetwork.com] wrote: > > > > > > A pseudo idea would be like: > > > > > > sku keywords > > > sku123 ocean_7, island_9, sky_5, trees_4, water_5 > > > sku124 sky_10, clouds_10, blue_3, day_2 > > > > > > I have no idea if this is possible but in the above it is > > assumed that > > > with substring matching turned on, 'sky' will still be a > > HIT for both, > > > then maybe create some custom tf=? or method of sorting based on the > > > numeric TOTALs of the corresponding _'n' with regards to the words > > > matched by the users search spec. > > > > > > So now with the above, a search for 'sky' will still return > > both, but > > > the first one visible will be sku124 (because sky=10) and > > for the other > > > (sky=5) > > > > > > But if someone searched for 'sky ocean' then both would still be > > > returned but sku123 will be first because (sky+ocean=12) > > and the other > > > sku is (sky=10) > > > > > > I still want to return both, because a Graphic artists can > > just take the > > > sky from one and the ocean from another, so both are > > relevant. I know I > > > know this is starting to sound terribly inefficient :) but > > the but any > > > normal tf=?,?,? will simply not work well at all for us. > > > > > [ part of Kevin's solution cut] > > > Query: > > > > SELECT sku, SUM(weight) AS skuweight > > FROM keywords > > WHERE keyword IN ('sky','ocean') > > GROUP BY sku > > ORDER BY skuweight DESC > > > > Results: > > > > sku skuweight > > ------- --------- > > sku123 12 > > sku124 10 > > > > Or that's the theory, at least. :-) > > > > You'd pass the keywords into a page which would split them into > > individual lower-case words for use in the WHERE clause. If you > > wanted to allow substring matches, you could have multiple "LIKE" > > lines instead of one large "IN" line: > > > > User types "sk oce" and the following is generated: > > > > SELECT sku, SUM(weight) AS skuweight > > FROM keywords > > WHERE keyword LIKE '%sk%' > > OR keyword LIKE '%oce%' > > GROUP BY sku > > ORDER BY skuweight DESC > > > > Results: > > > > sku skuweight > > ------- --------- > > sku123 12 > > sku124 10 > > > > Once you have your SQL query, you'd execute it with the [query] tag > > and display the results in any way you see fit. > > > Not sure how one would implement this, but a site I've worked on > had this problem and we came up with a solution of doing multiple > passes, starting with Kevin's first query which finds exact matches. > Then if that pass doesn't produce > (however you choose that), you do the second of Kevin's queries. > Obviously you rank the exact matches from the first pass above those > in the second pass. > > If you just wanted to do it the simplest way, you could always do > both queries for every search and just display it as: > > Exact matches on your search: > > > > Items with similar keywords: > > > > A slightly-less-simple way might be to do it as a [query] block and > do the second query within the [no_match] block of the first > query. Then you would run the LIKE query whenever you got nothing > at all from the exact match query. Not sure how well Interchange > handles queries within queries, though and I have a vague > recollection that it didn't like nesting them at all. > Just to add some more (untested) SQL to the mix. Given a user's search specification of "SK Oce" (for 'sky' and 'ocean'): Select all weighted matches along with a count of the keywords that matched. The 'wordcount' column would, in this case, contain 1 (single keyword) or 2 (both keywords): SELECT sku, COUNT(sku) AS wordcount, SUM(weight) AS skuweight FROM keywords WHERE keyword LIKE '%sk%' OR keyword LIKE '%oce%' GROUP BY sku ORDER BY wordcount DESC, skuweight DESC Select all weighted matches, only when both of the keywords have been found for a particular SKU (a bit like an AND search): SELECT sku, COUNT(sku) AS wordcount, SUM(weight) AS skuweight FROM keywords WHERE keyword LIKE '%sk%' OR keyword LIKE '%oce%' GROUP BY sku HAVING wordcount = 2 ORDER BY wordcount DESC, skuweight DESC Obviously, the HAVING clause would have to be dynamically generated, along with the WHERE/OR clauses. The first of the two SQL statements seems more useful to me, and would force the more "exact" matches to the top of the list. You can then truncate the resultset, either with a LIMIT clause or using Interchange's "match limit" or "more list". Best of all, it'd all happen in one pass, and with one SQL statement, so it'd be reasonably efficient. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Thu Jan 2 19:57:02 2003 From: interchange-users@icdevgroup.org (Grant) Date: Thu Jan 2 19:57:02 2003 Subject: [ic] order processing vs. accounting Message-ID: I'm currently using Quickbooks for all order processing and accounting duties that are beyond IC. It's starting to feel like I need more as far as order processing; probably something that's geared toward retail. I was wondering what you guys use/recommend for that. I suppose I either need something that can handle both order processing and accounting or else something for order processing that can hand the accounting duties off to Quickbooks. It should also run on Windows. I know this might be construed as off-topic, but I think you guys would be best able to help me here since we do all have a lot in common (e-commerce and IC). Thanks! - Grant From interchange-users@icdevgroup.org Thu Jan 2 20:30:01 2003 From: interchange-users@icdevgroup.org (Kevin Old) Date: Thu Jan 2 20:30:01 2003 Subject: [ic] Parameters for Interchange tags documented? Message-ID: <1041557123.3263.26.camel@oc> Hello all, I've read all the documentation and still have a few questions about the parameters for certain Interchange tags. The loop tag for instance.....several parameters aren't documented and I can't figure out what they are and how to use it. For example, I'd like to take the category_vertical component and have the categories put in a drop down menu instead of links....and from this code I can't figure out what to change to get it to work..... [timed-build auto=1 if="[control timed 0]" minutes="[control timed 0]"] [set found_cat][/set] [loop prefix=box search=" fi=area st=db tf=sort ac=0 ac=0 co=yes sf=sel op=eq se=[control set_selector left] sf=which_page op=rm se=[control page_class all|@@MV_PAGE@@] "] >From the code above, the ac, co and op parameters and values aren't documented. Also, the line: se=[control page_class all|@@MV_PAGE@@] - what does that do? [box-exec bar_link]area[/box-exec] [set found_cat]1[/set] [loop prefix=cat search=" fi=cat st=db tf=sort tf=name rf=code,name sf=sel se=[box-code] " ]   [cat-exec bar_link]cat[/cat-exec]
[/loop] [/loop] [if !scratch found_cat] I can't find box-exec or cat-exec or *anything*-exec or bar_link. I'd be willing to add the necessary documentation to the files if someone could explain what's going on here. Any help is greatly appreciated! Thanks, Kevin -- Kevin Old From interchange-users@icdevgroup.org Thu Jan 2 22:09:00 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Thu Jan 2 22:09:00 2003 Subject: [ic] Parameters for Interchange tags documented? In-Reply-To: <1041557123.3263.26.camel@oc> Message-ID: <000001c2b2d5$6b45a620$020110ac@majestic.cursor-software.co.uk> Kevin Old [kold@carolina.rr.com] wrote: > > > [timed-build auto=1 if="[control timed 0]" minutes="[control timed 0]"] > [set found_cat][/set] > [loop > prefix=box > search=" > fi=area > st=db > tf=sort > ac=0 > ac=0 > co=yes > > sf=sel > op=eq > se=[control set_selector left] > > sf=which_page > op=rm > se=[control page_class all|@@MV_PAGE@@] > "] > > >From the code above, the ac, co and op parameters and values aren't > documented. > Those parameters are documented in the "Interchange Database" manual. See sections 5.6 (One-Click Searches) and 5.10 (Search Reference). > > Also, the line: se=[control page_class all|@@MV_PAGE@@] - > what does that do? > The "se" parameter is documented in the places listed above. [control] is in the Interchange Tags Reference section 4.14 (control). > > I can't find box-exec or cat-exec or *anything*-exec or bar_link. > The bar_link sub is probably in your catalog_before.cfg file. [PREFIX-exec] is not documented in the Tags Reference at the moment, but you'll find a mention in the Interchange Frequently Answered Questions document section 13.2 (Optimising lists). The [PREFIX-exec] tag allows a pre-compiled subroutine, such as bar_link to be executed from within a loop. The PREFIX name is determined by the looping tag's parameters. > > I'd be willing to add the necessary documentation to the files if > someone could explain what's going on here. > Documentation submissions are always welcome, although hardly ever received. Feel free to submit text for missing sections of the documentation, or to re-word existing text to better explain a facility. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Fri Jan 3 01:15:01 2003 From: interchange-users@icdevgroup.org (Ryan Grace) Date: Fri Jan 3 01:15:01 2003 Subject: [ic] yet another shipping problem Message-ID: <20030103061435.90267.qmail@web10007.mail.yahoo.com> Hi All, I've searched and searched the archives before asking this to avoid having to ask about yet another shipping problem on the list. From the looks of the archives there have been plenty. I've been unable to figure this out though. I want to give free shipping to dealers and charge a flat rate of $5 to everyone else. My shipping.asc looks like: usstandard US Standard [quantity] 0 0 e Nothing to Ship usstandard US Standard [quantity] 1 999999 f [perl]if($Scratch->{price_level} eq "dealer"){$shipprice=0;}else{$shipprice=5.00;}return $shipprice;[/perl] {} and my country.txt looks like: US 0 US usstandard United States USA 840 Of course there are also a ton of other countries in there but I'm only using the US for shipping addresses currently. The problem is that when I add something to my cart I get this: Note: No match found for mode 'usstandard', quantity '0', returning 0. and an empty shipping pulldown. Anyone see something I'm doing wrong? Anything else I should be checking for? BTW, I can see that price_level is set correctly. Thanks, Ryan Grace __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From interchange-users@icdevgroup.org Fri Jan 3 04:28:00 2003 From: interchange-users@icdevgroup.org (interchange-users@icdevgroup.org) Date: Fri Jan 3 04:28:00 2003 Subject: [ic] Returning products with various defaul options... References: <014101c29189$f9602510$0400a8c0@ibmlt> <1037912004.1275.184.camel@archimedes.localnetsolutions.com> <001601c291c2$0f27e170$0400a8c0@ibmlt> Message-ID: <00dd01c2b312$9ec8acd0$7ae331d2@co3041008a> I have a store that has many items that all have different 'size' options. I am wondering if I can return a results page with various sizes returned based on a value in another field in the products database. i.e. Click here to see related products with recommended sizes to fit your show size. (Manufacturer marked sizes (in the product options) is not always same as the real size so we have given a hidden value for these in the products table) Typical Results should yield links to: Manufacturer - Product - default option Manufacturer X - shoe Z - size 9 (hidden value 9) Manufacture Y - show A - size 10 (hidden value 9) Manufacturer Z - shoe C - size 9 1/2 (hidden value 9) Another shoe sized person might yield results like: Manufacturer - Product - default option Manufacturer X - shoe Z - size 8 - (hidden value 8) Manufacture Y - show A - size 9 - (hidden value 8) Manufacturer Z - shoe C - size 8 1/2 - (hidden value 8) I hope this is clear? Maybe the question could be better asked, can I create a search for products which present a link to a product where the default size option changes based on a hidden value in the products database? I hope this is now too way obscure a question; please let me know. Using 4.8.6/mysql Many thanks in advance for any guidance or yes no answers!!!! Simon From interchange-users@icdevgroup.org Fri Jan 3 09:31:01 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Fri Jan 3 09:31:01 2003 Subject: [ic] Returning products with various defaul options... References: <014101c29189$f9602510$0400a8c0@ibmlt> <1037912004.1275.184.camel@archimedes.localnetsolutions.com> <001601c291c2$0f27e170$0400a8c0@ibmlt> <00dd01c2b312$9ec8acd0$7ae331d2@co3041008a> Message-ID: <003d01c2b334$1ba27c60$0a01000a@badtzmaru.com> > I am wondering if I can return a results page with various sizes returned > based on a value in another field in the products database. Are you using product options? Or do you have a different product for each size? Jeff From interchange-users@icdevgroup.org Fri Jan 3 10:36:01 2003 From: interchange-users@icdevgroup.org (interchange-users@icdevgroup.org) Date: Fri Jan 3 10:36:01 2003 Subject: [ic] Returning products with various defaul options... References: <014101c29189$f9602510$0400a8c0@ibmlt> <1037912004.1275.184.camel@archimedes.localnetsolutions.com> <001601c291c2$0f27e170$0400a8c0@ibmlt> <00dd01c2b312$9ec8acd0$7ae331d2@co3041008a> <003d01c2b334$1ba27c60$0a01000a@badtzmaru.com> Message-ID: <002701c2b346$05e324d0$7ae331d2@co3041008a> > > I am wondering if I can return a results page with various sizes returned > > based on a value in another field in the products database. > > Are you using product options? Or do you have a different product for > each size? I would prefer very much to use the former. i.e. Use single product with manufacturer size 'options'. The second way, with a product for each size, makes the search/result process easy but basic category search result lists are way to big.... Simon From interchange-users@icdevgroup.org Fri Jan 3 11:10:01 2003 From: interchange-users@icdevgroup.org (D Zhang - msi) Date: Fri Jan 3 11:10:01 2003 Subject: [ic] Returning products with various defaul options... References: <014101c29189$f9602510$0400a8c0@ibmlt> <1037912004.1275.184.camel@archimedes.localnetsolutions.com> <001601c291c2$0f27e170$0400a8c0@ibmlt> <00dd01c2b312$9ec8acd0$7ae331d2@co3041008a> Message-ID: <000b01c2b342$649cb440$0affff0a@msi5> > I am wondering if I can return a results page with various sizes returned > based on a value in another field in the products database. Simply add one more display field in your current results page. Make the added display field as a link to (or search for) other product(s) based on the "value in another field" David -------------------------- msihosting.com Mount Spring International http://www.msihosting.com ----- Original Message ----- From: To: Sent: Friday, January 03, 2003 5:26 AM Subject: [ic] Returning products with various defaul options... > I have a store that has many items that all have different 'size' options. > > I am wondering if I can return a results page with various sizes returned > based on a value in another field in the products database. > > i.e. Click here to see related products with recommended sizes to fit your > show size. > > (Manufacturer marked sizes (in the product options) is not always same as > the real size so we have given a hidden value for these in the products > table) > > Typical Results should yield links to: > > Manufacturer - Product - default option > Manufacturer X - shoe Z - size 9 (hidden value 9) > Manufacture Y - show A - size 10 (hidden value 9) > Manufacturer Z - shoe C - size 9 1/2 (hidden value 9) > > > Another shoe sized person might yield results like: > Manufacturer - Product - default option > Manufacturer X - shoe Z - size 8 - (hidden value 8) > Manufacture Y - show A - size 9 - (hidden value 8) > Manufacturer Z - shoe C - size 8 1/2 - (hidden value 8) > > > I hope this is clear? > > Maybe the question could be better asked, can I create a search for products > which present a link to a product where the default size option changes > based on a hidden value in the products database? > > I hope this is now too way obscure a question; please let me know. > > Using 4.8.6/mysql > > Many thanks in advance for any guidance or yes no answers!!!! > > Simon > > > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > From interchange-users@icdevgroup.org Fri Jan 3 12:09:01 2003 From: interchange-users@icdevgroup.org (Paul Jordan) Date: Fri Jan 3 12:09:01 2003 Subject: [ic] weighted search result sorting In-Reply-To: <000301c2b2ad$63d6c0e0$020110ac@majestic.cursor-software.co.uk> Message-ID: > Paul Jordan [paul@gishnetwork.com] wrote: > > sku keywords > > sku123 ocean, island, sky, trees, water > > sku124 sky, clouds, blue, day > > > > Lets say I have thousands similar to this. The problem arises when > > someone searches for the term 'sky'. It will pull both results from > > above, but if I sort by sku it will show the pictures of > the island with > > water and sky, or any number of picture with sky in it WILL appear > > BEFORE a simple brilliant SKY by itself.... which is not > good, if left > > to sorting a field value. > > > > I have been thinking of ways to "weight" the result set. I am not an > > expert on efficiency nor databases. I am using Mysql, but NOT an SQL > > query because I am doing full text searches. > > > > A pseudo idea would be like: > > > > sku keywords > > sku123 ocean_7, island_9, sky_5, trees_4, water_5 > > sku124 sky_10, clouds_10, blue_3, day_2 > > > > I have no idea if this is possible but in the above it is > assumed that > > with substring matching turned on, 'sky' will still be a > HIT for both, > > then maybe create some custom tf=? or method of sorting based on the [snip] > I'd have a table along the lines of the following: hmmm, how did I know? ;) > > sku keyword weight > ------- --------------- -------- > sku123 ocean 7 > sku123 island 9 > sku123 sky 5 > sku123 trees 4 > sku123 water 5 > sku124 sky 10 > sku124 clouds 10 > sku124 blue 3 > sku124 day 2 > > PRIMARY INDEX: sku, keyword > NON-UNIQUE INDEX: keyword > > The following (untested) SQL queries should then work as follows: > > Query: > > SELECT sku, SUM(weight) AS skuweight > FROM keywords > WHERE keyword IN ('sky') > GROUP BY sku > ORDER BY skuweight DESC > > Results: > > sku skuweight > ------- --------- > sku124 10 > sku123 5 > > Query: > > SELECT sku, SUM(weight) AS skuweight > FROM keywords > WHERE keyword IN ('sky','ocean') > GROUP BY sku > ORDER BY skuweight DESC > [snip] Thanks Pat, Kevin and John. I was hoping that the thread would stay close to my pseudo idea. Having the keywords in a separate table poses many issues. For one, It would slow down item entry into the database considerably. However I think Mike is working on new improved LINK model for table linking in ADMIN, which may help some with *that* issue. Then, we are working on a sort of "build you own search engine" type thing. It will allow to narrow the search down by searching any number of columns (prod_group, cap_group, aspect, type, etc etc). This would now mean that then Kevin's above solution would have to be a select join on tables 'keywords' and 'products'... Do you think that poses any kind of performance issues? Believe me when I say there will be millions of sku#'s, This makes for a very large keywords table, as each sku can have 5,6,7,8... keywords. This can get ugly fast, as I also give the option of "exclude" keywords. -> At this point is I ask, IS IT POSSIBLE to keep this in the 'products' table with an ITL search? If not then I will have to look into reworking our tables and using sql like Kevin suggests, although for many reasons doing that is about as attractive as my sophomore year girlfriend :-\ -> At that point I ask, will doing Kevin's suggestion, but joining it to the products table be no good.... or "the wrong direction" ? Thanks agian for all youses insight! Paul From interchange-users@icdevgroup.org Fri Jan 3 12:12:53 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Fri Jan 3 12:12:53 2003 Subject: [ic] Returning products with various defaul options... References: <014101c29189$f9602510$0400a8c0@ibmlt> <1037912004.1275.184.camel@archimedes.localnetsolutions.com> <001601c291c2$0f27e170$0400a8c0@ibmlt> <00dd01c2b312$9ec8acd0$7ae331d2@co3041008a> <003d01c2b334$1ba27c60$0a01000a@badtzmaru.com> <002701c2b346$05e324d0$7ae331d2@co3041008a> Message-ID: <003101c2b34a$3381eda0$0a01000a@badtzmaru.com> > I would prefer very much to use the former. i.e. Use single product with > manufacturer size 'options'. I am a little confused as to how your data is currently laid out (is the "hidden" size in the product table or option table), but basically you could issue a query in your flypage that returned rows that matched your hidden value for the item currently being displayed. You would then loop through those results and use it to display your "related" products. Jeff From interchange-users@icdevgroup.org Fri Jan 3 12:16:03 2003 From: interchange-users@icdevgroup.org (Ed LaFrance) Date: Fri Jan 3 12:16:03 2003 Subject: [ic] yet another shipping problem In-Reply-To: <20030103061435.90267.qmail@web10007.mail.yahoo.com> Message-ID: <5.1.1.6.0.20030103091249.03700d10@mail.newmediaems.com> At 10:14 PM 01/02/2003 -0800, you wrote: >Hi All, > >I've searched and searched the archives before asking >this to avoid having to ask about yet another shipping >problem on the list. From the looks of the archives >there have been plenty. I've been unable to figure >this out though. > >I want to give free shipping to dealers and charge a >flat rate of $5 to everyone else. My shipping.asc >looks like: > >usstandard US Standard [quantity] 0 > 0 e Nothing to Ship > >usstandard US Standard [quantity] 1 > 999999 f [perl]if($Scratch->{price_level} eq >"dealer"){$shipprice=0;}else{$shipprice=5.00;}return >$shipprice;[/perl] {} > >and my country.txt looks like: > >US 0 US usstandard United >States USA 840 > >Of course there are also a ton of other countries in >there but I'm only using the US for shipping addresses >currently. > >The problem is that when I add something to my cart I >get this: > >Note: No match found for mode 'usstandard', quantity >'0', returning 0. > >and an empty shipping pulldown. > >Anyone see something I'm doing wrong? Anything else I >should be checking for? > >BTW, I can see that price_level is set correctly. > >Thanks, > >Ryan Grace Unless [quantity] is a UserTag for you catalog, that is your problem, since there is no such tag in the core ITL. Try using [nitems] instead. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From interchange-users@icdevgroup.org Fri Jan 3 12:18:00 2003 From: interchange-users@icdevgroup.org (Bob Keyes) Date: Fri Jan 3 12:18:00 2003 Subject: [ic] access.gdbm corruption? Message-ID: Here's my environment: Debian 3.0 Linux 2.4.18-k6 Interchange 4.8 (from the debian package) running the demo store, I get problems in the UI. Twice now when the web site developer has tried to work on the store, the UI has crashed leaving the rest of the store up and running. /var/log/messages shows: Jan 3 10:19:51 mordred int1: Died in server spawn: Could not tie to '/var/lib/interchange/catalogs/ghast/products/access.gdbm': Resource temporarily unavailable at /usr/lib/interchange/Vend/Table/GDBM.pm line 115. I can fix this temporarily by deleting the access.gdbm file and restarting interchange (of course I lose settings) but it comes back quickly. Does anyone know what causes this and how to fix it? From interchange-users@icdevgroup.org Fri Jan 3 12:20:01 2003 From: interchange-users@icdevgroup.org (Ryan Grace) Date: Fri Jan 3 12:20:01 2003 Subject: [ic] BoA.pm payment module question In-Reply-To: <000b01c2af72$995df780$0a01000a@badtzmaru.com> Message-ID: <20030103171844.86362.qmail@web10004.mail.yahoo.com> Thanks for the reply Jeff. Looks like our estore account was set up incorrectly with Bank of America. Ryan > > I've uncommented the debugging output within > > the module and see that Bank of America is > returning > > an HTML form to the module for processing, which > it > > apparently doesn't do. Has anyone else run into > this? > > Are you using an estore API user? Also make > sure the estore backend's > Manage Store->Order Rules->Configure Options is set > as a "treat as in > process HTTP request". It is also possible the > estore account is set up > wrong, this happened on the last one I set up, they > gave me the full cart > configuration instead of just the payment gateway. > You can tell this has > happened if there is no option for API user and > there is no option for > in-process HTTP requests. > > > Jeff > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From interchange-users@icdevgroup.org Fri Jan 3 12:44:01 2003 From: interchange-users@icdevgroup.org (Ryan Grace) Date: Fri Jan 3 12:44:01 2003 Subject: [ic] yet another shipping problem In-Reply-To: <5.1.1.6.0.20030103091249.03700d10@mail.newmediaems.com> Message-ID: <20030103174337.64000.qmail@web10003.mail.yahoo.com> > Unless [quantity] is a UserTag for you catalog, that > is your problem, since > there is no such tag in the core ITL. Try using > [nitems] instead. I changed my shipping.asc, removing [quantity] and replacing with quantity (no brackets). Now after restarting I get a shipping price of $153,590,820.00 and no longer get the error about not finding the method. The huge shipping cost changes every time I hit 'recalculate' on teh checkout page, but stays within a few grand of that number. The shipping pulldown is still empty. Here's what my shipping.asc looks like: usstandard US Standard quantity 0 0 0 usstandard US Standard quantity 1 999999 f [perl]if($Scratch->{price_level} eq "dealer"){$shipprice=0;}else{$shipprice=5;}return $shipprice;[/perl] {} I only care if their price_level scratch variable is set to dealer or not, as shown in the perl code. Do I need to use a criteria still like quantity or weight to calculate shipping cost by? Thanks, Ryan __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From interchange-users@icdevgroup.org Fri Jan 3 13:06:00 2003 From: interchange-users@icdevgroup.org (Ryan Grace) Date: Fri Jan 3 13:06:00 2003 Subject: [ic] yet another shipping problem In-Reply-To: <20030103174337.64000.qmail@web10003.mail.yahoo.com> Message-ID: <20030103180454.88150.qmail@web10005.mail.yahoo.com> > Here's what my shipping.asc looks like: > > usstandard US Standard quantity 0 > 0 0 > > usstandard US Standard quantity 1 > 999999 f [perl]if($Scratch->{price_level} eq > "dealer"){$shipprice=0;}else{$shipprice=5;}return > $shipprice;[/perl] {} Ok, I figured something out. I removed the trailing {} from the second line of my shipping.asc and the shipping cost is now calculated correctly. However, the pulldown menu is still empty. Anyone know why the shipping pulldown would be empty if the shipping.asc is being parsed ok and shipping is calculated correctly? Thanks, Ryan __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From interchange-users@icdevgroup.org Fri Jan 3 13:07:57 2003 From: interchange-users@icdevgroup.org (Karen Gold) Date: Fri Jan 3 13:07:57 2003 Subject: [ic] yet another shipping problem Message-ID: >I want to give free shipping to dealers and charge a >flat rate of $5 to everyone else. Couldn't you default to flat shipping with a IF dealer and assign on the checkout page? My best guess for the syntax is: [if data userdb::dealer::[data session username] == 1] [assign shipping="0"] [/if] -- Karen Gold http://www.loadup.com From interchange-users@icdevgroup.org Fri Jan 3 13:22:01 2003 From: interchange-users@icdevgroup.org (Adrian P Wilkinson) Date: Fri Jan 3 13:22:01 2003 Subject: [ic] Interchange Keeps Dying Message-ID: <002901c2b354$da53e070$0cc0a8c0@getontothe.net> Dear List, I've had a quick skirt around the mailing list archive and can't find a solution so I'm asking for some hints here. After some initial problems, I finally managed to get Interchange up and running, ran a test catalogue and now have reinstalled it to run as the end-user's accounts rather than 'interch' and moved the data to MySQL whilst in the process. Everything looks good and appears to be working as expected but the Interchange server just appears to die randomly for no reason. Sometimes it'll die after 20 mins, sometimes after 20 hours, even when I'm still logged into the system and there is no "idle process killer" daemon running to my knowledge. Here are the contents of the various log files: /tmp/icdebug file: Start DEBUG at Fri Jan 3 17:58:48 2003 Start DEBUG at Fri Jan 3 17:59:37 2003 Start DEBUG at Fri Jan 3 18:00:45 2003 Start DEBUG at Fri Jan 3 18:06:41 2003 [Note: I restarted the server several times to reflect configuration changes I was testing, it's not dying every minute!] /home/caliconn/interchange/catalogs/caliconn/error.log: cache-ink2-bas-hsi.cableinet.co.uk E6gdfZU7:co.uk - [03/January/2003:16:45:27 +0000] caliconn /cgi-bin/store/admin/survey/index.html Bad data selector='session_id' field='' key='' [Note: Nothing to worry about, I was just playing around with surveys] /home/caliconn/interchange/error.log: - - - [03/January/2003:18:06:41 +0000] - - START server (22420) (INET and UNIX) - - - [03/January/2003:18:09:40 +0000] - - Config 'caliconn' from running server (22420) - - - [03/January/2003:18:09:40 +0000] - - Using MySQL, DSN=dbi:mysql:interchang e... - - - [03/January/2003:18:09:40 +0000] - - Reconfig of caliconn successful. [Note: Nothing here of any value] Process list ('ps auxwww'): USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.3 1384 468 ? S 2002 0:17 init [3] root 2 0.0 0.0 0 0 ? SW 2002 0:00 [keventd] root 3 0.0 0.0 0 0 ? SWN 2002 0:08 [ksoftirqd_CPU0] root 4 0.0 0.0 0 0 ? SW 2002 1:11 [kswapd] root 5 0.0 0.0 0 0 ? SW 2002 0:00 [bdflush] root 6 0.0 0.0 0 0 ? SW 2002 0:39 [kupdated] root 7 0.0 0.0 0 0 ? SW< 2002 0:00 [mdrecoveryd] root 8 0.0 0.0 0 0 ? SW 2002 8:13 [kjournald] root 120 0.0 0.0 0 0 ? SW 2002 0:00 [kjournald] root 121 0.0 0.0 0 0 ? SW 2002 7:13 [kjournald] root 122 0.0 0.0 0 0 ? SW 2002 11:01 [kjournald] root 123 0.0 0.0 0 0 ? SW 2002 12:17 [kjournald] root 340 0.0 0.0 0 0 ? SW 2002 0:00 [eth0] root 549 0.0 0.7 3232 892 ? S 2002 0:02 /usr/sbin/sshd root 568 0.0 0.6 2172 732 ? S 2002 0:22 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid root 690 0.0 0.8 7516 956 ? S 2002 0:25 /usr/sbin/httpsd root 713 0.0 0.4 1428 564 ? S 2002 0:02 crond nobody 714 0.0 0.4 4324 568 ? S 2002 0:00 /usr/local/bin/gcache 99 /wwws/gcache_port nobody 715 0.0 0.7 7604 944 ? S 2002 0:00 /usr/sbin/httpsd nobody 716 0.0 0.7 7604 944 ? S 2002 0:00 /usr/sbin/httpsd nobody 717 0.0 0.8 7680 948 ? S 2002 0:00 /usr/sbin/httpsd nobody 718 0.0 0.8 7680 1060 ? S 2002 0:00 /usr/sbin/httpsd nobody 719 0.0 0.7 7604 944 ? S 2002 0:00 /usr/sbin/httpsd nobody 720 0.0 0.7 7604 944 ? S 2002 0:00 /usr/sbin/httpsd nobody 721 0.0 0.7 7604 944 ? S 2002 0:00 /usr/sbin/httpsd nobody 723 0.0 0.8 7680 948 ? S 2002 0:00 /usr/sbin/httpsd nobody 724 0.0 0.7 7604 944 ? S 2002 0:00 /usr/sbin/httpsd root 743 0.0 1.2 4124 1496 ? SN 2002 0:36 healthd root 764 0.0 0.7 2220 840 ? S 2002 0:00 /bin/sh /usr/local/mysql/bin/safe_mysqld --datadir=/usr/local/mysql/data --pid-file= /usr/local/mysql/data/invincible.propagation.net.pid root 780 0.0 0.3 3780 460 ? S 2002 0:00 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 799 0.0 3.8 7140 4592 ? S 2002 16:06 syswatchd mysql 852 0.0 1.0 2572 1280 ? S 2002 0:00 /usr/local/mysql/bin/mysqld --defaults-extra-file=/usr/local/mysql/data/mysq l.conf --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mys ql --pid-file=/usr/local/mysql/data/invincible.propagation.net.pid --skip-lo cking root 854 0.0 1.2 125452 1428 ? S 2002 0:03 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 855 0.0 0.4 3780 532 ? S 2002 0:08 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 856 0.0 1.2 125452 1428 ? S 2002 9:27 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 870 0.0 0.2 1352 348 tty1 S 2002 0:00 /sbin/mingetty tty1 root 871 0.0 0.2 1352 348 tty2 S 2002 0:00 /sbin/mingetty tty2 root 872 0.0 0.2 1352 348 tty3 S 2002 0:00 /sbin/mingetty tty3 root 873 0.0 0.2 1352 348 tty4 S 2002 0:00 /sbin/mingetty tty4 root 874 0.0 0.2 1352 348 tty5 S 2002 0:00 /sbin/mingetty tty5 root 875 0.0 0.2 1364 348 tty6 S 2002 0:00 /sbin/agetty -i -l /sbin/elogin 9600 tty6 mysql 885 0.0 1.0 2572 1280 ? S 2002 0:08 /usr/local/mysql/bin/mysqld --defaults-extra-file=/usr/local/mysql/data/mysq l.conf --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mys ql --pid-file=/usr/local/mysql/data/invincible.propagation.net.pid --skip-lo cking mysql 886 0.0 1.0 2572 1280 ? S 2002 0:01 /usr/local/mysql/bin/mysqld --defaults-extra-file=/usr/local/mysql/data/mysq l.conf --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mys ql --pid-file=/usr/local/mysql/data/invincible.propagation.net.pid --skip-lo cking root 15151 0.0 1.2 125452 1428 ? S 2002 1:15 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15152 0.0 1.2 125452 1428 ? S 2002 0:00 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15153 0.0 1.2 125452 1428 ? S 2002 0:00 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15154 0.0 1.2 125452 1428 ? S 2002 0:00 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15155 0.0 1.2 125452 1428 ? S 2002 0:00 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15156 0.0 1.2 125452 1428 ? S 2002 0:00 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15157 0.0 1.2 125452 1428 ? S 2002 0:00 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15158 0.0 1.2 125452 1428 ? S 2002 0:00 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15159 0.0 1.2 125452 1428 ? S 2002 0:00 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15160 0.0 1.2 125452 1428 ? S 2002 0:00 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15161 0.0 1.2 125452 1428 ? S 2002 0:00 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15162 0.0 1.2 125452 1428 ? S 2002 0:00 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15163 0.0 1.2 125452 1428 ? S 2002 0:00 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15164 0.0 1.2 125452 1428 ? S 2002 0:00 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15165 0.0 1.2 125452 1428 ? S 2002 0:00 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15166 0.0 1.2 125452 1428 ? S 2002 0:00 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15167 0.0 1.2 125452 1428 ? S 2002 0:00 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15168 0.0 1.2 125452 1428 ? S 2002 0:00 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15169 0.0 1.2 125452 1428 ? S 2002 0:00 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15170 0.0 1.2 125452 1428 ? S 2002 0:12 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 15171 0.0 1.2 125452 1428 ? S 2002 0:06 /usr/local/real/Bin/rmserver /usr/local/real/rmserver.cfg --sct --iehp root 17812 0.0 0.8 5628 956 ? S 2002 1:14 monstd nobody 14162 0.0 0.8 7604 956 ? S 2002 0:00 /usr/sbin/httpsd nobody 14164 0.0 0.8 7604 956 ? S 2002 0:00 /usr/sbin/httpsd nobody 14167 0.0 0.8 7604 956 ? S 2002 0:00 /usr/sbin/httpsd nobody 14168 0.0 0.8 7604 956 ? S 2002 0:00 /usr/sbin/httpsd nobody 14169 0.0 0.8 7604 956 ? S 2002 0:00 /usr/sbin/httpsd nobody 14170 0.0 0.8 7604 956 ? S 2002 0:00 /usr/sbin/httpsd nobody 14171 0.0 0.8 7604 956 ? S 2002 0:00 /usr/sbin/httpsd nobody 14172 0.0 0.8 7604 956 ? S 2002 0:00 /usr/sbin/httpsd nobody 14173 0.0 0.7 7604 932 ? S 2002 0:00 /usr/sbin/httpsd nobody 24825 0.0 0.8 7680 1048 ? S 2002 0:00 /usr/sbin/httpsd nobody 19831 0.0 0.9 7604 1068 ? S Jan02 0:00 /usr/sbin/httpsd root 26165 0.0 1.1 6576 1328 ? S Jan02 0:01 /usr/sbin/sshd root 26180 0.0 1.0 2412 1260 pts/0 S Jan02 0:00 -bash root 17206 0.0 1.3 6064 1620 ? S 09:26 0:00 /usr/sbin/httpd nobody 17214 0.0 1.9 6136 2260 ? S 09:26 0:00 /usr/sbin/httpd nobody 17215 0.0 1.9 6140 2260 ? S 09:26 0:00 /usr/sbin/httpd nobody 17216 0.0 1.9 6144 2264 ? S 09:26 0:00 /usr/sbin/httpd nobody 17217 0.0 1.9 6136 2256 ? S 09:26 0:00 /usr/sbin/httpd nobody 17218 0.0 1.9 6136 2260 ? S 09:26 0:00 /usr/sbin/httpd nobody 17219 0.0 1.9 6136 2260 ? S 09:26 0:00 /usr/sbin/httpd nobody 17220 0.0 1.9 6140 2264 ? S 09:26 0:00 /usr/sbin/httpd nobody 17221 0.0 1.9 6136 2260 ? S 09:26 0:00 /usr/sbin/httpd nobody 17222 0.0 1.9 6136 2260 ? S 09:26 0:00 /usr/sbin/httpd nobody 17223 0.0 1.9 6140 2264 ? S 09:26 0:00 /usr/sbin/httpd nobody 17224 0.0 1.9 6140 2264 ? S 09:26 0:00 /usr/sbin/httpd nobody 17225 0.0 1.9 6140 2264 ? S 09:26 0:00 /usr/sbin/httpd nobody 17226 0.0 1.9 6136 2260 ? S 09:26 0:00 /usr/sbin/httpd nobody 17227 0.0 1.9 6136 2260 ? S 09:26 0:00 /usr/sbin/httpd nobody 17228 0.0 1.9 6136 2260 ? S 09:26 0:00 /usr/sbin/httpd nobody 17229 0.0 1.9 6136 2260 ? S 09:26 0:00 /usr/sbin/httpd nobody 17230 0.0 1.9 6136 2260 ? S 09:26 0:00 /usr/sbin/httpd nobody 17231 0.0 1.9 6136 2260 ? S 09:26 0:00 /usr/sbin/httpd nobody 17232 0.0 1.9 6136 2260 ? S 09:26 0:00 /usr/sbin/httpd nobody 17233 0.0 1.9 6136 2260 ? S 09:26 0:00 /usr/sbin/httpd nobody 17234 0.0 1.9 6136 2260 ? S 09:26 0:00 /usr/sbin/httpd nobody 17235 0.0 1.9 6136 2260 ? S 09:26 0:00 /usr/sbin/httpd nobody 17236 0.0 1.9 6136 2260 ? S 09:26 0:00 /usr/sbin/httpd nobody 17237 0.0 1.9 6140 2260 ? S 09:26 0:00 /usr/sbin/httpd nobody 17238 0.0 1.9 6136 2260 ? S 09:26 0:00 /usr/sbin/httpd nobody 17239 0.0 1.9 6136 2256 ? S 09:26 0:00 /usr/sbin/httpd nobody 17240 0.0 1.9 6136 2256 ? S 09:26 0:00 /usr/sbin/httpd nobody 17241 0.0 1.9 6136 2256 ? S 09:26 0:00 /usr/sbin/httpd nobody 17242 0.0 1.9 6136 2256 ? S 09:26 0:00 /usr/sbin/httpd nobody 17243 0.0 1.9 6136 2256 ? S 09:26 0:00 /usr/sbin/httpd root 22195 0.0 1.5 5040 1836 ? S 12:00 0:00 sendmail: accepting connections caliconn 22420 0.0 21.6 29540 25676 ? S 12:06 0:00 /usr/local/bin/perl /home/caliconn/interchange/bin/interchange --Ignore -r root 22825 0.0 0.4 1444 592 ? S 12:17 0:00 syslogd -m 0 root 22830 0.0 0.9 1988 1100 ? S 12:17 0:00 klogd -2 root 22873 0.0 0.6 2672 788 pts/0 R 12:19 0:00 ps auxwww auxwww Any suggestions as how I can find out -WHY- it keeps dying and how I can stop it from doing so? Regards, Ade. From interchange-users@icdevgroup.org Fri Jan 3 13:27:00 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Fri Jan 3 13:27:00 2003 Subject: [ic] access.gdbm corruption? References: Message-ID: <005e01c2b354$faf0b920$0a01000a@badtzmaru.com> > Jan 3 10:19:51 mordred int1: Died in server spawn: Could not tie to > '/var/lib/interchange/catalogs/ghast/products/access.gdbm': Resource > temporarily unavailable at /usr/lib/interchange/Vend/Table/GDBM.pm line > 115. Multiple users trying to use the admin backend simultaneously with the same user account. Jeff From interchange-users@icdevgroup.org Fri Jan 3 13:30:01 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Fri Jan 3 13:30:01 2003 Subject: [ic] access.gdbm corruption? References: Message-ID: <006201c2b355$4854bc20$0a01000a@badtzmaru.com> I should clarify my statement by saying that "multiple users" means "multiple sessions". A single physical person could generate multiple sessions, I do this by opening both IE and netscape. Jeff From interchange-users@icdevgroup.org Fri Jan 3 13:46:01 2003 From: interchange-users@icdevgroup.org (Ed LaFrance) Date: Fri Jan 3 13:46:01 2003 Subject: [ic] access.gdbm corruption? In-Reply-To: <005e01c2b354$faf0b920$0a01000a@badtzmaru.com> References: Message-ID: <5.1.1.6.0.20030103104234.036ec040@mail.newmediaems.com> At 01:21 PM 01/03/2003 -0500, you wrote: > > Jan 3 10:19:51 mordred int1: Died in server spawn: Could not tie to > > '/var/lib/interchange/catalogs/ghast/products/access.gdbm': Resource > > temporarily unavailable at /usr/lib/interchange/Vend/Table/GDBM.pm line > > 115. > > Multiple users trying to use the admin backend simultaneously with the >same user account. > > >Jeff If you are using an SQL database for most of your tables, I would suggest you convert access to SQL and see if that helps. GDBM is weak when it comes to multi-user/session access. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From interchange-users@icdevgroup.org Fri Jan 3 14:18:01 2003 From: interchange-users@icdevgroup.org (Bob Keyes) Date: Fri Jan 3 14:18:01 2003 Subject: [ic] access.gdbm corruption? In-Reply-To: <006201c2b355$4854bc20$0a01000a@badtzmaru.com> Message-ID: On Fri, 3 Jan 2003, Jeff Dafoe wrote: > > I should clarify my statement by saying that "multiple users" means > "multiple sessions". A single physical person could generate multiple > sessions, I do this by opening both IE and netscape. > Thanks. I had thought of that and checked, but just realized I had missed one terminal window open on the server itself. Oops! Though IC should really have a way to not die when this happens. Feature Request: When an account is logged in more than once, the second user trying to log in should get a message to the likes of: "This user is alredy logged in from {hostname}, idle since {last activity time). Close this old session? (Yes/No)" I'd try to code this myself, if I knew more about how the interchange internals work. From interchange-users@icdevgroup.org Sat Jan 4 12:50:01 2003 From: interchange-users@icdevgroup.org (Michael C. Ibarra) Date: Sat Jan 4 12:50:01 2003 Subject: [ic] Tax Help Needed Message-ID: <1041702079.3e171cbf2f995@webmail.hawk.com> Hello All: Here in sunny New York State, US, we collect tax depending on the destination town/city or zip. Taxes vary from town to town and are not the same throughout the state. I see an option for taxing states, but is there a way to tax all within a state, % varying? Also, does anyone already have NYS info within their table that they can share with me? Regards, -mike From interchange-users@icdevgroup.org Sat Jan 4 13:03:01 2003 From: interchange-users@icdevgroup.org (Michael C. Ibarra) Date: Sat Jan 4 13:03:01 2003 Subject: [ic] Need More Options (sub-options?) Message-ID: <1041702427.3e171e1b5dfb8@webmail.hawk.com> Hello: I've got some items that have options to them, easy. The problem that I am having is creating further options based on the options selected. For instance, you've chosen Luggage-A, Luggage-A comes with the option a handle option, if you've chosen handle option X, then you are further queried for options on the lining of this luggage, if you've chosen handle option Z, then you are queried for the lining of this luggage PLUS the outer finish. I hope this all make sense. Regards, -mike From interchange-users@icdevgroup.org Sat Jan 4 14:07:01 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Sat Jan 4 14:07:01 2003 Subject: [ic] Tax Help Needed In-Reply-To: <1041702079.3e171cbf2f995@webmail.hawk.com> Message-ID: <000001c2b424$4f5fdca0$020110ac@majestic.cursor-software.co.uk> Michael C. Ibarra [ibarra@hawk.com] wrote: > > Here in sunny New York State, US, we collect tax depending > on the destination town/city or zip. Taxes vary from town > to town and are not the same throughout the state. I see an > option for taxing states, but is there a way to tax all within > a state, % varying? > > Also, does anyone already have NYS info within their table > that they can share with me? > I believe that New York State applies a different tax rate depending upon the county. I suspect that your local, friendly tax official or accountant is likely to have more information. To help you get started with your Interchange setup, you'll find a list of North American counties here: http://www.interchange.RTFM.info/downloads/counties.txt The file is in a suitably Interchange-friendly format (tab-separated values). If you find any errors in there then please let me know. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Sat Jan 4 14:44:01 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Sat Jan 4 14:44:01 2003 Subject: [ic] Need More Options (sub-options?) In-Reply-To: <1041702427.3e171e1b5dfb8@webmail.hawk.com> Message-ID: <000101c2b429$996cd320$020110ac@majestic.cursor-software.co.uk> Michael C. Ibarra [ibarra@hawk.com] wrote: > > I've got some items that have options to them, easy. The problem > that I am having is creating further options based on the options > selected. For instance, you've chosen Luggage-A, Luggage-A comes > with the option a handle option, if you've chosen handle option > X, then you are further queried for options on the lining of this > luggage, if you've chosen handle option Z, then you are queried for > the lining of this luggage PLUS the outer finish. > > I hope this all make sense. > It sounds like an over-complication to me. I'd propose a bunch of [/elsif] [elsif value payment_method eq paypal] [/elsif] ****profiles.order **I added the following __NAME__ paypal fname=required lname=required address1=required city=required country=required [if value country =~ /^(US|CA)$/i] state=state_province zip=postcode [/if] &or phone_night=phone, phone_day=phone Must have day or evening phone number &set = prof_mode_accepted [var PAYPAL_ACCEPTED] prof_mode_accepted=required This site doesn't accept PayPal. You should not have been offered that option; please contact us. &fatal = yes email=required email=email &set = mv_payment PayPal - Payment made to sales@daboy.com &final = yes &setcheck=mv_email [value email] __END__ From interchange-users@icdevgroup.org Sat Jan 4 22:04:01 2003 From: interchange-users@icdevgroup.org (Ian Corner) Date: Sat Jan 4 22:04:01 2003 Subject: [ic] DirConfig and CSS In-Reply-To: <000501c2b446$05dee7c0$020110ac@majestic.cursor-software.co.uk> Message-ID: sadly, I do not have the capabilty to use patches as I host the service. Any other ideas? Regards, Ian -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Kevin Walsh Sent: 05 January 2003 00:07 To: interchange-users@icdevgroup.org Subject: RE: [ic] DirConfig and CSS Ian [ian@w3it.com] wrote: > > I am having a problem with templates. > > From documentation and search results of the mailing lists, I should be able > to reflect templates with the following line in theme.cfg file of the > relevant theme. However this does not seem to work. > > DirConfig Variable templates/__THEME__/regions > > I found a mention of using catalog.cfg with varible settings like the > following: > Variable LEFTONLY [include templates/LEFTONLY] > Variable LEFTRIGHT [include templates/LEFTRIGHT] > Variable LEFTRIGHT_TOP [include > templates/__THEME__/regions/LEFTRIGHT_TOP] > Variable LEFTRIGHT_BOTTOM [include > templates/__THEME__/regions/LEFTRIGHT_BOTTOM] > > This works however the THEME_CSS set in theme.cfg does not seem to get set > or translated. Using __THEME_CSS__ in LEFTRIGHT_TOP template and index.html > produces a blank. Here is the actual variable seting in catalog.cfg: > > Variable THEME_CSS < > EOV > Try the following patch. I'll have a play with it and book it into CVS later. ====================================================================== *** Config.pm 1 Jan 2003 14:13:05 -0000 2.88 --- Config.pm 4 Jan 2003 23:04:45 -0000 *************** *** 3231,3236 **** --- 3231,3237 ---- next unless -f "$dir/$_"; #::logDebug("reading key=$_ from $dir/$_"); $ref->{$_} = readfile("$dir/$_", $Global::NoAbsolute, 0) ; + $ref->{$_} = substitute_variable($ref->{$_}) if $C->{Par seVariables}; $sref->{$_} = "$dir/$_"; } } ====================================================================== -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Sat Jan 4 22:17:00 2003 From: interchange-users@icdevgroup.org (interchange-users@icdevgroup.org) Date: Sat Jan 4 22:17:00 2003 Subject: [ic] Returning products with various default options... References: <014101c29189$f9602510$0400a8c0@ibmlt> <1037912004.1275.184.camel@archimedes.localnetsolutions.com> <001601c291c2$0f27e170$0400a8c0@ibmlt> <00dd01c2b312$9ec8acd0$7ae331d2@co3041008a> <000b01c2b342$649cb440$0affff0a@msi5> Message-ID: <000f01c2b471$13908e20$7ae331d2@co3041008a> > > I am wondering if I can return a results page with various sizes returned > > based on a value in another field in the products database. > > Simply add one more display field in your current results page. Make the > added display field as a link to (or search for) other product(s) based on > the "value in another field" I just knew that my question was a bit unclear. What I am needing is a page of search results that will include 'buy now' buttons. (easy enough) but clicking 'buy now' will add the item to the cart with a size 'option' as pulled from the query, not the default option value. I guess my first question should have been: Can I create a 'buy now' button that adds an item to the cart with an option selected other than the default? Is there an IC tag that allows me to specify a value for an option before an item is added to a cart? Thanks in advance Simon > > > ----- Original Message ----- > From: > To: > Sent: Friday, January 03, 2003 5:26 AM > Subject: [ic] Returning products with various defaul options... > > > > I have a store that has many items that all have different 'size' options. > > > > I am wondering if I can return a results page with various sizes returned > > based on a value in another field in the products database. > > > > i.e. Click here to see related products with recommended sizes to fit your > > show size. > > > > (Manufacturer marked sizes (in the product options) is not always same as > > the real size so we have given a hidden value for these in the products > > table) > > > > Typical Results should yield links to: > > > > Manufacturer - Product - default option > > Manufacturer X - shoe Z - size 9 (hidden value 9) > > Manufacture Y - show A - size 10 (hidden value 9) > > Manufacturer Z - shoe C - size 9 1/2 (hidden value 9) > > > > > > Another shoe sized person might yield results like: > > Manufacturer - Product - default option > > Manufacturer X - shoe Z - size 8 - (hidden value 8) > > Manufacture Y - show A - size 9 - (hidden value 8) > > Manufacturer Z - shoe C - size 8 1/2 - (hidden value 8) > > > > > > I hope this is clear? > > > > Maybe the question could be better asked, can I create a search for > products > > which present a link to a product where the default size option changes > > based on a hidden value in the products database? > > > > I hope this is now too way obscure a question; please let me know. > > > > Using 4.8.6/mysql > > > > Many thanks in advance for any guidance or yes no answers!!!! > > > > Simon > > > > > > > > > > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@icdevgroup.org > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Sun Jan 5 04:11:01 2003 From: interchange-users@icdevgroup.org (D Zhang - msi) Date: Sun Jan 5 04:11:01 2003 Subject: [ic] Returning products with various default options... References: <014101c29189$f9602510$0400a8c0@ibmlt> <1037912004.1275.184.camel@archimedes.localnetsolutions.com> <001601c291c2$0f27e170$0400a8c0@ibmlt> <00dd01c2b312$9ec8acd0$7ae331d2@co3041008a> <000b01c2b342$649cb440$0affff0a@msi5> <000f01c2b471$13908e20$7ae331d2@co3041008a> Message-ID: <000b01c2b49a$29c2f100$0affff0a@msi5> let me try to see if I can understand You have (1) shoes in different sizes (so, need to select which size) (2) one size of the shoes from different manufacturers that are labeled differently, but equivalent among them. Currently: In your products table, you have one field specifies common, or default sizes, which is optional for customers to select at time of "buy now" Your difficulty is: The manufacturer or their equivalent size number is not specified, and thus, you don't know which product to ship, or not available for custumer to choose which manufacturer's product What you are trying to accomplish is: give one "buy now" bottom that tells both the size and the manufacuterer (or the equivalent size given by that manufacterer) If my understanding is correct, then, I think you'll have to have two options for customer to specify: size and manufacturer (or their equivalent size). It's a (x,y) two dimenssion issue that can't be determined by just giving (x) or (y). This is the same as selecting sizes and colors. No way can one tell the color from the size. So, adding one more optional field (manufacture) in the results page should be the easy way. . To do this, in the "another field", list manufacturer name, instead of the equivalent size number. Operationally, take the "default" size just as a reference rather than actual shoe size. Keep a table that maps the "default" to actual sizes giving by different manufaturers default size 1 2 3 4 5 6 size of M.A 3 5 6 8 9 12 size of M.B 2 4 6 8 10 12 size of M.C (what ever the equivalent size number) size of M.D ...... ...... If you want to make it easy yourself, simply give the table to your people, tell them to prepare orders according that table. To avoid confusing, give "size reference" as the field name of the "default size", rather than simply "size". So, when your people read the order sheet, they'll know it's a "reference number", and they have to pick up the right size according the table. To be perfect, you can implement that table in your database, bring up the actual size as a hidden field when customer select a specific manufacterer. Then, you get "products with various default options", e.g. manufacturer and actual size given by that manufacturer. Hope, this is helpful. David dzhang@msihosting.com Mount Spring International http://www.msihosting.com ----- Original Message ----- From: To: Sent: Saturday, January 04, 2003 11:15 PM Subject: Re: [ic] Returning products with various default options... > > > I am wondering if I can return a results page with various sizes > returned > > > based on a value in another field in the products database. > > > > Simply add one more display field in your current results page. Make the > > added display field as a link to (or search for) other product(s) based > on > > the "value in another field" > > > I just knew that my question was a bit unclear. > > What I am needing is a page of search results that will include 'buy now' > buttons. (easy enough) > but clicking 'buy now' will add the item to the cart with a size 'option' as > pulled from the query, not the default option value. > > I guess my first question should have been: > > Can I create a 'buy now' button that adds an item to the cart with an option > selected other than the default? > > Is there an IC tag that allows me to specify a value for an option before an > item is added to a cart? > > Thanks in advance > > Simon > > > > > > > > > > ----- Original Message ----- > > From: > > To: > > Sent: Friday, January 03, 2003 5:26 AM > > Subject: [ic] Returning products with various defaul options... > > > > > > > I have a store that has many items that all have different 'size' > options. > > > > > > I am wondering if I can return a results page with various sizes > returned > > > based on a value in another field in the products database. > > > > > > i.e. Click here to see related products with recommended sizes to fit > your > > > show size. > > > > > > (Manufacturer marked sizes (in the product options) is not always same > as > > > the real size so we have given a hidden value for these in the products > > > table) > > > > > > Typical Results should yield links to: > > > > > > Manufacturer - Product - default option > > > Manufacturer X - shoe Z - size 9 (hidden value 9) > > > Manufacture Y - show A - size 10 (hidden value 9) > > > Manufacturer Z - shoe C - size 9 1/2 (hidden value 9) > > > > > > > > > Another shoe sized person might yield results like: > > > Manufacturer - Product - default option > > > Manufacturer X - shoe Z - size 8 - (hidden value 8) > > > Manufacture Y - show A - size 9 - (hidden value 8) > > > Manufacturer Z - shoe C - size 8 1/2 - (hidden value 8) > > > > > > > > > I hope this is clear? > > > > > > Maybe the question could be better asked, can I create a search for > > products > > > which present a link to a product where the default size option changes > > > based on a hidden value in the products database? > > > > > > I hope this is now too way obscure a question; please let me know. > > > > > > Using 4.8.6/mysql > > > > > > Many thanks in advance for any guidance or yes no answers!!!! > > > > > > Simon > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@icdevgroup.org > > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@icdevgroup.org > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > From interchange-users@icdevgroup.org Sun Jan 5 11:45:01 2003 From: interchange-users@icdevgroup.org (Ed LaFrance) Date: Sun Jan 5 11:45:01 2003 Subject: [ic] 4.9.3 "ship status update failed" In-Reply-To: <000001c2b45c$ef46a310$1f02a8c0@DarrenPL> Message-ID: <5.1.1.6.0.20030105083955.020aad68@mail.newmediaems.com> At 08:51 PM 1/4/2003 -0500, you wrote: >Hi All, > >I just moved my store from my old server running IC 4.8.5 to a new >server running IC 4.9.3 and now when I try to update the status of an >order via "Ship all lines -> Update the order" I get the following >message in green on the Pending Orders page: > >Orderline 00000150-1 ship status update failed. > >Here is what is in my log file. > >24.103.254.107 nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:09 >-0800] daboy /~daboy/cgi-bin/cart.cgi/admin/order Attempt to set slice >of 00000150-1 in read-only table orderline >24.103.254.107 nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:36 >-0800] daboy /~daboy/cgi-bin/cart.cgi/admin/order Attempt to set slice >of 00000150-1 in read-only table orderline >24.103.254.107 nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:47 >-0800] daboy /~daboy/cgi-bin/cart.cgi/admin/order Attempt to set >orderline::status::00000150-1 in read-only table >24.103.254.107 nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:47 >-0800] daboy /~daboy/cgi-bin/cart.cgi/admin/order Unable to send mail >using /usr/lib/sendmail > > Message follows: > > >The status is changed to "shipped" just fine, but no ship_notice email >is sent. >My "transactions" table's order status updates to "shipped" just fine, >but the status for each line item in the "orderline" table remains at >"pending". > > >I have found this exact problem posted by Grant on Nov. 12th but there >was not solution. Can someone please help? Error messages can sometimes be misleading, but intially it appears there may be two problems: 1. write permissions on the orderline table are not set; 2. Interchange cannot find your sendmail program. For 1, check the relevant admin pages for the presence of the tag which sets write permission on the orderline table, this is usuall [flag type=write tables="table list"] or [tag flag write]table list[/tag]. For 2. verify the location of sendmail on the command line using 'which sendmail' or 'whereis sendmail'. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From interchange-users@icdevgroup.org Sun Jan 5 11:52:00 2003 From: interchange-users@icdevgroup.org (Ed LaFrance) Date: Sun Jan 5 11:52:00 2003 Subject: [ic] Payment Method incorect on Order Tracking Page. In-Reply-To: <000101c2b461$95733ce0$1f02a8c0@DarrenPL> Message-ID: <5.1.1.6.0.20030105084513.020bd378@mail.newmediaems.com> At 09:24 PM 1/4/2003 -0500, you wrote: >Hi All, > >I have upgraded form IC 4.8.5 to IC 4.9.3. I have setup paypal in my >store and it is working with one exception. When a user selects paypal >it will do the processing and work fine except that it says COD in the >payment method in the transaction table and in the orders screen. The >email that gets send to me and the user says 'PayPal - Payment made to >sales@daboy.com' but it stores it as COD. > >Can someone Please help me figure this out. It worked fine in 4.8.5. > >TIA > >Darren >------------------------------ Darren - etc/log_transaction has changed quite a bit since the 4.8.x branch. If you are using the new 4.9 log_transaction, you are going to need to modify the [if ..][elsif ..][else][/if] block at the top of the file to account for your new payment method. It should be as easy as inserting this: [elsif value payment_method eq paypal] [comment] do nothing [/comment] [/elsif] ...right after where it checks if mv_order_profile eq cod. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From interchange-users@icdevgroup.org Sun Jan 5 14:33:00 2003 From: interchange-users@icdevgroup.org (Ian Corner) Date: Sun Jan 5 14:33:00 2003 Subject: [ic] DirConfig and CSS In-Reply-To: Message-ID: I never managed to resolve this using the IC method of setting the variable in theme.cfg. In the end I made the THEME_CSS variable set to point to a seperate style sheet file and it works perfectly. I would still be interestee to know what the problem was though should anyone resolve the issue. Thanks for any help. Ian -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Ian Corner Sent: 05 January 2003 04:03 To: interchange-users@icdevgroup.org Subject: RE: [ic] DirConfig and CSS sadly, I do not have the capabilty to use patches as I host the service. Any other ideas? Regards, Ian -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Kevin Walsh Sent: 05 January 2003 00:07 To: interchange-users@icdevgroup.org Subject: RE: [ic] DirConfig and CSS Ian [ian@w3it.com] wrote: > > I am having a problem with templates. > > From documentation and search results of the mailing lists, I should be able > to reflect templates with the following line in theme.cfg file of the > relevant theme. However this does not seem to work. > > DirConfig Variable templates/__THEME__/regions > > I found a mention of using catalog.cfg with varible settings like the > following: > Variable LEFTONLY [include templates/LEFTONLY] > Variable LEFTRIGHT [include templates/LEFTRIGHT] > Variable LEFTRIGHT_TOP [include > templates/__THEME__/regions/LEFTRIGHT_TOP] > Variable LEFTRIGHT_BOTTOM [include > templates/__THEME__/regions/LEFTRIGHT_BOTTOM] > > This works however the THEME_CSS set in theme.cfg does not seem to get set > or translated. Using __THEME_CSS__ in LEFTRIGHT_TOP template and index.html > produces a blank. Here is the actual variable seting in catalog.cfg: > > Variable THEME_CSS < > EOV > Try the following patch. I'll have a play with it and book it into CVS later. ====================================================================== *** Config.pm 1 Jan 2003 14:13:05 -0000 2.88 --- Config.pm 4 Jan 2003 23:04:45 -0000 *************** *** 3231,3236 **** --- 3231,3237 ---- next unless -f "$dir/$_"; #::logDebug("reading key=$_ from $dir/$_"); $ref->{$_} = readfile("$dir/$_", $Global::NoAbsolute, 0) ; + $ref->{$_} = substitute_variable($ref->{$_}) if $C->{Par seVariables}; $sref->{$_} = "$dir/$_"; } } ====================================================================== -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Sun Jan 5 16:04:00 2003 From: interchange-users@icdevgroup.org (Matthew Smith) Date: Sun Jan 5 16:04:00 2003 Subject: [ic] Interchange 4.8.3 and 4.8.6 installation on debian woody fails. Message-ID: <000001c2b4fd$e566f290$1400a8c0@vacuum.local> Hi, Recently I have been trying to install the standard 4.8.3 version of interchange on a debian woody system and I don't seem to be getting anywhere fast. Problem is that it asks if I want it to create the user and group interchange; if I answer yes installation hangs at the point Adding system group: . and does nothing more. Only thing I can do is hit Ctrl-C and try again which results in exactly the same problem. If I answer no to the question "do I want to create the user interchange?", then it keeps coming back with the same question again, I can only hit Ctrl-C to abort. Does anyone have any ideas how to solve this problem? I have also tried the 4.8.6.20021206-1 version and this also seems to give me the same problem. Installation hangs at the point where it says adding system group. Hope somebody out there knows an answer as all the searches I've tried didn't find this problem. Kind regards Matthew Smith hazed@xs4all.nl From interchange-users@icdevgroup.org Sun Jan 5 16:40:01 2003 From: interchange-users@icdevgroup.org (Darren) Date: Sun Jan 5 16:40:01 2003 Subject: [ic] Payment Method incorect on Order Tracking Page. Message-ID: <004301c2b502$d2debd10$1f02a8c0@DarrenPL> Thanks Ed. I edited etc/log_transaction and added the following after the check for COD and it worked great. [elsif value mv_order_profile eq paypal] Payment: [value name=mv_payment set="PayPal"] [/elsif] Thanks, Darren > > >etc/log_transaction has changed quite a bit since the 4.8.x branch. If you >are using the new 4.9 log_transaction, you are going to need to modify the >[if ..][elsif ..][else][/if] block at the top of the file to account for >your new payment method. It should be as easy as inserting this: > >[elsif value payment_method eq paypal] > [comment] do nothing [/comment] >[/elsif] > >...right after where it checks if mv_order_profile eq cod. > >- Ed L. >> >>I have upgraded form IC 4.8.5 to IC 4.9.3. I have setup paypal in my >>store and it is working with one exception. When a user selects paypal >>it will do the processing and work fine except that it says COD in the >>payment method in the transaction table and in the orders screen. The >>email that gets send to me and the user says 'PayPal - Payment made to >>sales@daboy.com' but it stores it as COD. >> >>Can someone Please help me figure this out. It worked fine in 4.8.5. >> >>TIA >> >>Darren >------------------------------ From interchange-users@icdevgroup.org Sun Jan 5 17:21:01 2003 From: interchange-users@icdevgroup.org (Darren) Date: Sun Jan 5 17:21:01 2003 Subject: [ic] 4.9.3 "ship status update failed" Message-ID: <004401c2b508$98dab0f0$1f02a8c0@DarrenPL> >>At 08:51 PM 1/4/2003 -0500, you wrote: >>Hi All, >> >>I just moved my store from my old server running IC 4.8.5 to a new >>server running IC 4.9.3 and now when I try to update the status of an >>order via "Ship all lines -> Update the order" I get the following >>message in green on the Pending Orders page: >> >>Orderline 00000150-1 ship status update failed. >> >>Here is what is in my log file. >> >>24.103.254.107 nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:09 >>-0800] daboy /~daboy/cgi-bin/cart.cgi/admin/order Attempt to set slice >>of 00000150-1 in read-only table orderline >>24.103.254.107 nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:36 >>-0800] daboy /~daboy/cgi-bin/cart.cgi/admin/order Attempt to set slice >>of 00000150-1 in read-only table orderline >>24.103.254.107 nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:47 >>-0800] daboy /~daboy/cgi-bin/cart.cgi/admin/order Attempt to set >>orderline::status::00000150-1 in read-only table >>24.103.254.107 nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:47 >>-0800] daboy /~daboy/cgi-bin/cart.cgi/admin/order Unable to send mail >>using /usr/lib/sendmail >> > Message follows: >> >> >>The status is changed to "shipped" just fine, but no ship_notice email >>is sent. >>My "transactions" table's order status updates to "shipped" just fine, >>but the status for each line item in the "orderline" table remains at >>"pending". >> >> >>I have found this exact problem posted by Grant on Nov. 12th but there >>was not solution. Can someone please help? >Error messages can sometimes be misleading, but intially it appears there >may be two problems: > 1. write permissions on the orderline table are not set; > 2. Interchange cannot find your sendmail program. > >For 1, check the relevant admin pages for the presence of the tag which >sets write permission on the orderline table, this is usuall [flag >type=write tables="table list"] or [tag flag write]table list[/tag]. For 2. >verify the location of sendmail on the command line using 'which sendmail' >or 'whereis sendmail'. > >- Ed L. Hi, I think sendmail is in the right place as email is sent to me and the customer when the order is placed. I don't have shell access right now but I will check the exact location later. I am not sure where to look in the admin pages for the presence of the write permission tag. Can you give me a hint of where to look? Thanks Darren From interchange-users@icdevgroup.org Sun Jan 5 18:06:01 2003 From: interchange-users@icdevgroup.org (Martin Abell) Date: Sun Jan 5 18:06:01 2003 Subject: [ic] There was an error adding to the transaction log. Message-ID: My working catalogs work fine, buy my demo catalog keeps recording "There was an error adding to the transaction log." in the logs/log file. (Nothing is recorded in the error.log for the catalog or for interchange.) Running IC 4.8.1 under RedHat using mySQL (3.23.53a) for main data tables. Compared demo to working catalog for log_transaction (identical), profiles.order (identical) and permissions on the mysql tables (transactions, orderline, userdb, products, cat) which look OK. Can manually add records to these tables, which have all the same fields as the working catalog. Can't say the checkout pages are identical for the working and non-working catalogs (mostly page layout changes); the essential stuff looks the same. One thing I added to demo was quickbooks logging (which works). Removing it from ORDER_ROUTES stops quickbooks logging, but doesn't restore transaction logging. The Route section of catalog.cfg is identical for the working and non-working catalogs except for the addition of the quickbooks statements. (Tried the searchable archive, but concluded there was something wrong with it at the time. When I clicked links that looked very relevant, I usually got an unrelated item.) Anyone got a clue where to look next? Martin Abell SpeedSpan From interchange-users@icdevgroup.org Sun Jan 5 18:57:01 2003 From: interchange-users@icdevgroup.org (Jeff Obranovich) Date: Sun Jan 5 18:57:01 2003 Subject: [ic] DirConfig and CSS In-Reply-To: Message-ID: <000a01c2b515$fc950340$0300000a@home> Ian, This same problem has been driving me nuts! When you created your style sheet: did you create it in a text editor and set the TEME_CSS variable equal to the path to your CSS file? Or, were you required to use "Personal CSS / set styles" under the Preferences tab in the AdminUI? Thanks for any info. Jeff -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Ian Corner Sent: Sunday, January 05, 2003 2:32 PM To: interchange-users@icdevgroup.org Subject: RE: [ic] DirConfig and CSS I never managed to resolve this using the IC method of setting the variable in theme.cfg. In the end I made the THEME_CSS variable set to point to a seperate style sheet file and it works perfectly. I would still be interestee to know what the problem was though should anyone resolve the issue. Thanks for any help. Ian -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Ian Corner Sent: 05 January 2003 04:03 To: interchange-users@icdevgroup.org Subject: RE: [ic] DirConfig and CSS sadly, I do not have the capabilty to use patches as I host the service. Any other ideas? Regards, Ian -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Kevin Walsh Sent: 05 January 2003 00:07 To: interchange-users@icdevgroup.org Subject: RE: [ic] DirConfig and CSS Ian [ian@w3it.com] wrote: > > I am having a problem with templates. > > From documentation and search results of the mailing lists, I should be able > to reflect templates with the following line in theme.cfg file of the > relevant theme. However this does not seem to work. > > DirConfig Variable templates/__THEME__/regions > > I found a mention of using catalog.cfg with varible settings like the > following: > Variable LEFTONLY [include templates/LEFTONLY] > Variable LEFTRIGHT [include templates/LEFTRIGHT] > Variable LEFTRIGHT_TOP [include > templates/__THEME__/regions/LEFTRIGHT_TOP] > Variable LEFTRIGHT_BOTTOM [include > templates/__THEME__/regions/LEFTRIGHT_BOTTOM] > > This works however the THEME_CSS set in theme.cfg does not seem to get set > or translated. Using __THEME_CSS__ in LEFTRIGHT_TOP template and index.html > produces a blank. Here is the actual variable seting in catalog.cfg: > > Variable THEME_CSS < > EOV > Try the following patch. I'll have a play with it and book it into CVS later. ====================================================================== *** Config.pm 1 Jan 2003 14:13:05 -0000 2.88 --- Config.pm 4 Jan 2003 23:04:45 -0000 *************** *** 3231,3236 **** --- 3231,3237 ---- next unless -f "$dir/$_"; #::logDebug("reading key=$_ from $dir/$_"); $ref->{$_} = readfile("$dir/$_", $Global::NoAbsolute, 0) ; + $ref->{$_} = substitute_variable($ref->{$_}) if $C->{Par seVariables}; $sref->{$_} = "$dir/$_"; } } ====================================================================== -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Mon Jan 6 06:13:01 2003 From: interchange-users@icdevgroup.org (Ian Corner) Date: Mon Jan 6 06:13:01 2003 Subject: [ic] DirConfig and CSS In-Reply-To: <000a01c2b515$fc950340$0300000a@home> Message-ID: Jeff >did you create it in a text editor and set the TEME_CSS >variable equal to the path to your CSS file? I just cut and paste the style code from the theme.cfg file into a new style.css file and changed the settings. Then set the Variable THEME_CSS to i looked at that Personal CSS page but opted to leave it alone. When I read the help that came with the page (see below) I did not want to escalate any problems and opted for something that I did know about. --- snipit from help The Knar table stores store-wide configuration information. If you don't know about store-wide configuration, it probably won't help you much. On the other hand, if you just can't find the place to tweak the value you're looking for, it might be worth poking around (gently!) in here. --- Hope it helps. Ian -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Jeff Obranovich Sent: 06 January 2003 00:56 To: interchange-users@icdevgroup.org Subject: RE: [ic] DirConfig and CSS Ian, This same problem has been driving me nuts! When you created your style sheet: did you create it in a text editor and set the TEME_CSS variable equal to the path to your CSS file? Or, were you required to use "Personal CSS / set styles" under the Preferences tab in the AdminUI? Thanks for any info. Jeff -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Ian Corner Sent: Sunday, January 05, 2003 2:32 PM To: interchange-users@icdevgroup.org Subject: RE: [ic] DirConfig and CSS I never managed to resolve this using the IC method of setting the variable in theme.cfg. In the end I made the THEME_CSS variable set to point to a seperate style sheet file and it works perfectly. I would still be interestee to know what the problem was though should anyone resolve the issue. Thanks for any help. Ian -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Ian Corner Sent: 05 January 2003 04:03 To: interchange-users@icdevgroup.org Subject: RE: [ic] DirConfig and CSS sadly, I do not have the capabilty to use patches as I host the service. Any other ideas? Regards, Ian -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Kevin Walsh Sent: 05 January 2003 00:07 To: interchange-users@icdevgroup.org Subject: RE: [ic] DirConfig and CSS Ian [ian@w3it.com] wrote: > > I am having a problem with templates. > > From documentation and search results of the mailing lists, I should be able > to reflect templates with the following line in theme.cfg file of the > relevant theme. However this does not seem to work. > > DirConfig Variable templates/__THEME__/regions > > I found a mention of using catalog.cfg with varible settings like the > following: > Variable LEFTONLY [include templates/LEFTONLY] > Variable LEFTRIGHT [include templates/LEFTRIGHT] > Variable LEFTRIGHT_TOP [include > templates/__THEME__/regions/LEFTRIGHT_TOP] > Variable LEFTRIGHT_BOTTOM [include > templates/__THEME__/regions/LEFTRIGHT_BOTTOM] > > This works however the THEME_CSS set in theme.cfg does not seem to get set > or translated. Using __THEME_CSS__ in LEFTRIGHT_TOP template and index.html > produces a blank. Here is the actual variable seting in catalog.cfg: > > Variable THEME_CSS < > EOV > Try the following patch. I'll have a play with it and book it into CVS later. ====================================================================== *** Config.pm 1 Jan 2003 14:13:05 -0000 2.88 --- Config.pm 4 Jan 2003 23:04:45 -0000 *************** *** 3231,3236 **** --- 3231,3237 ---- next unless -f "$dir/$_"; #::logDebug("reading key=$_ from $dir/$_"); $ref->{$_} = readfile("$dir/$_", $Global::NoAbsolute, 0) ; + $ref->{$_} = substitute_variable($ref->{$_}) if $C->{Par seVariables}; $sref->{$_} = "$dir/$_"; } } ====================================================================== -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Mon Jan 6 06:37:00 2003 From: interchange-users@icdevgroup.org (Jonathan Clark) Date: Mon Jan 6 06:37:00 2003 Subject: [ic] DirConfig and CSS In-Reply-To: Message-ID: <000b01c2b577$f8dbdf50$0301a8c0@NT3078> > >did you create it in a text editor and set the TEME_CSS > >variable equal to the path to your CSS file? > I just cut and paste the style code from the theme.cfg file into a new > style.css file and changed the settings. Then set the Variable > THEME_CSS to > > > i looked at that Personal CSS page but opted to leave it alone. > When I read > the help that came with the page (see below) I did not want to > escalate any > problems and opted for something that I did know about. > --- snipit from help > The Knar table stores store-wide configuration information. If you don't > know about store-wide configuration, it probably won't help you > much. On the > other hand, if you just can't find the place to tweak the value you're > looking for, it might be worth poking around (gently!) in here. > --- 'Personal CSS' applies to administrators logged into the UI only. Themes is the right place for CSS to be applied to the customer-facing shopping cart. Jonathan www.webmaint.net From interchange-users@icdevgroup.org Mon Jan 6 07:04:00 2003 From: interchange-users@icdevgroup.org (Ian Corner) Date: Mon Jan 6 07:04:00 2003 Subject: [ic] DirConfig and CSS In-Reply-To: <000b01c2b577$f8dbdf50$0301a8c0@NT3078> Message-ID: >'Personal CSS' applies to administrators logged into the UI only. Is it difficult to place that line in the help screen or somewhere equally "obvious". My immidiate thought here was, that if you have a panel for CSS changes on the AdminUI, why not a panel for CSS changes to the customer pages? Surely that would be far more important. To employ two different methods for CSS alterations can only create confusion. Perhaps a future enhancement might be that the customer CSS solution be similar to the AdminUI CSS solution. If anything it saves having to learn two methods and remembering it. Nice to know though. Ian -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Jonathan Clark Sent: 06 January 2003 12:37 To: interchange-users@icdevgroup.org Subject: RE: [ic] DirConfig and CSS > >did you create it in a text editor and set the TEME_CSS > >variable equal to the path to your CSS file? > I just cut and paste the style code from the theme.cfg file into a new > style.css file and changed the settings. Then set the Variable > THEME_CSS to > > > i looked at that Personal CSS page but opted to leave it alone. > When I read > the help that came with the page (see below) I did not want to > escalate any > problems and opted for something that I did know about. > --- snipit from help > The Knar table stores store-wide configuration information. If you don't > know about store-wide configuration, it probably won't help you > much. On the > other hand, if you just can't find the place to tweak the value you're > looking for, it might be worth poking around (gently!) in here. > --- 'Personal CSS' applies to administrators logged into the UI only. Themes is the right place for CSS to be applied to the customer-facing shopping cart. Jonathan www.webmaint.net _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Mon Jan 6 07:13:02 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Mon Jan 6 07:13:02 2003 Subject: [ic] Interchange 4.8.3 and 4.8.6 installation on debian woody fails. In-Reply-To: <000001c2b4fd$e566f290$1400a8c0@vacuum.local> References: <000001c2b4fd$e566f290$1400a8c0@vacuum.local> Message-ID: <20030106131148.11ea62f9.racke@linuxia.de> On Sun, 5 Jan 2003 22:03:27 +0100 "Matthew Smith" wrote: > Hi, > > Recently I have been trying to install the standard 4.8.3 version of > interchange on a debian woody system and I don't seem to be getting anywhere > fast. Problem is that it asks if I want it to create the user and group > interchange; if I answer yes installation hangs at the point > Adding system group: . > > and does nothing more. Only thing I can do is hit Ctrl-C and try again which > results in exactly the same problem. If I answer no to the question "do I > want to create the user interchange?", then it keeps coming back with the > same question again, I can only hit Ctrl-C to abort. Does anyone have any > ideas how to solve this problem? I have also tried the 4.8.6.20021206-1 > version and this also seems to give me the same problem. Installation hangs > at the point where it says adding system group. > > Hope somebody out there knows an answer as all the searches I've tried > didn't find this problem. Hello, Matthew ! I have no idea why this should fail in the addgroup command. As a workaround, create the interchange user/group before installation: addgroup interchange adduser --system --ingroup interchange --home /usr/lib/interchange interchange Ciao Racke From interchange-users@icdevgroup.org Mon Jan 6 07:21:00 2003 From: interchange-users@icdevgroup.org (Jonathan Clark) Date: Mon Jan 6 07:21:00 2003 Subject: [ic] DirConfig and CSS In-Reply-To: Message-ID: <000c01c2b57e$24340190$0301a8c0@NT3078> > >'Personal CSS' applies to administrators logged into the UI only. > Is it difficult to place that line in the help screen or somewhere equally > "obvious". > > My immidiate thought here was, that if you have a panel for CSS changes on > the AdminUI, why not a panel for CSS changes to the customer pages? Surely > that would be far more important. To employ two different methods for CSS > alterations can only create confusion. Perhaps a future > enhancement might be > that the customer CSS solution be similar to the AdminUI CSS solution. If > anything it saves having to learn two methods and remembering it. The Personal CSS was nearly removed completely during 4.9 development. There was a good reason why it stayed in the end, but I can't remember what it was.. I think the reason CSS for the shopping cart is not in a database is due to the way the shopping cart templates and themes are constructed. Taking parts of this out of the file structure and putting them in the configuration database table would make it more difficult to drop in a new theme or template. That said, some pointers as to the purpose of the personal css would probably help a bit. I'll see what I can do.. Jonathan www.webmaint.net From interchange-users@icdevgroup.org Mon Jan 6 07:40:01 2003 From: interchange-users@icdevgroup.org (jeff obranovich) Date: Mon Jan 6 07:40:01 2003 Subject: [ic] DirConfig and CSS In-Reply-To: References: Message-ID: <1041838781.2999.0.camel@home.midwest_entertainment.com> Thanks for the info. On Mon, 2003-01-06 at 11:12, Ian Corner wrote: > Jeff > >did you create it in a text editor and set the TEME_CSS > >variable equal to the path to your CSS file? > I just cut and paste the style code from the theme.cfg file into a new > style.css file and changed the settings. Then set the Variable THEME_CSS to > > > i looked at that Personal CSS page but opted to leave it alone. When I read > the help that came with the page (see below) I did not want to escalate any > problems and opted for something that I did know about. > --- snipit from help > The Knar table stores store-wide configuration information. If you don't > know about store-wide configuration, it probably won't help you much. On the > other hand, if you just can't find the place to tweak the value you're > looking for, it might be worth poking around (gently!) in here. > --- > > Hope it helps. > Ian > > > -----Original Message----- > From: interchange-users-admin@icdevgroup.org > [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Jeff > Obranovich > Sent: 06 January 2003 00:56 > To: interchange-users@icdevgroup.org > Subject: RE: [ic] DirConfig and CSS > > > Ian, > This same problem has been driving me nuts! > When you created your style sheet: > did you create it in a text editor and set the TEME_CSS variable equal to > the path to your CSS file? > Or, were you required to use "Personal CSS / set styles" under the > Preferences tab in the AdminUI? > > Thanks for any info. > Jeff > > -----Original Message----- > From: interchange-users-admin@icdevgroup.org > [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Ian Corner > Sent: Sunday, January 05, 2003 2:32 PM > To: interchange-users@icdevgroup.org > Subject: RE: [ic] DirConfig and CSS > > > I never managed to resolve this using the IC method of setting the variable > in theme.cfg. In the end I made the THEME_CSS variable set to point to a > seperate style sheet file and it works perfectly. > > I would still be interestee to know what the problem was though should > anyone resolve the issue. > > Thanks for any help. > Ian > > -----Original Message----- > From: interchange-users-admin@icdevgroup.org > [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Ian Corner > Sent: 05 January 2003 04:03 > To: interchange-users@icdevgroup.org > Subject: RE: [ic] DirConfig and CSS > > > sadly, I do not have the capabilty to use patches as I host the service. Any > other ideas? > > Regards, > Ian > > -----Original Message----- > From: interchange-users-admin@icdevgroup.org > [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Kevin Walsh > Sent: 05 January 2003 00:07 > To: interchange-users@icdevgroup.org > Subject: RE: [ic] DirConfig and CSS > > > Ian [ian@w3it.com] wrote: > > > > I am having a problem with templates. > > > > From documentation and search results of the mailing lists, I should be > able > > to reflect templates with the following line in theme.cfg file of the > > relevant theme. However this does not seem to work. > > > > DirConfig Variable templates/__THEME__/regions > > > > I found a mention of using catalog.cfg with varible settings like the > > following: > > Variable LEFTONLY [include templates/LEFTONLY] > > Variable LEFTRIGHT [include templates/LEFTRIGHT] > > Variable LEFTRIGHT_TOP [include > > templates/__THEME__/regions/LEFTRIGHT_TOP] > > Variable LEFTRIGHT_BOTTOM [include > > templates/__THEME__/regions/LEFTRIGHT_BOTTOM] > > > > This works however the THEME_CSS set in theme.cfg does not seem to get set > > or translated. Using __THEME_CSS__ in LEFTRIGHT_TOP template and > index.html > > produces a blank. Here is the actual variable seting in catalog.cfg: > > > > Variable THEME_CSS < > > > EOV > > > Try the following patch. I'll have a play with it and book it into > CVS later. > > ====================================================================== > *** Config.pm 1 Jan 2003 14:13:05 -0000 2.88 > --- Config.pm 4 Jan 2003 23:04:45 -0000 > *************** > *** 3231,3236 **** > --- 3231,3237 ---- > next unless -f "$dir/$_"; > #::logDebug("reading key=$_ from $dir/$_"); > $ref->{$_} = readfile("$dir/$_", > $Global::NoAbsolute, 0) > ; > + $ref->{$_} = substitute_variable($ref->{$_}) if > $C->{Par > seVariables}; > $sref->{$_} = "$dir/$_"; > } > } > ====================================================================== > > -- > _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ > _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h > _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz > _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Mon Jan 6 07:44:00 2003 From: interchange-users@icdevgroup.org (jeff obranovich) Date: Mon Jan 6 07:44:00 2003 Subject: [ic] DirConfig and CSS In-Reply-To: References: Message-ID: <1041838781.2999.0.camel@home.midwest_entertainment.com> Thanks for the info. On Mon, 2003-01-06 at 11:12, Ian Corner wrote: > Jeff > >did you create it in a text editor and set the TEME_CSS > >variable equal to the path to your CSS file? > I just cut and paste the style code from the theme.cfg file into a new > style.css file and changed the settings. Then set the Variable THEME_CSS to > > > i looked at that Personal CSS page but opted to leave it alone. When I read > the help that came with the page (see below) I did not want to escalate any > problems and opted for something that I did know about. > --- snipit from help > The Knar table stores store-wide configuration information. If you don't > know about store-wide configuration, it probably won't help you much. On the > other hand, if you just can't find the place to tweak the value you're > looking for, it might be worth poking around (gently!) in here. > --- > > Hope it helps. > Ian > > > -----Original Message----- > From: interchange-users-admin@icdevgroup.org > [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Jeff > Obranovich > Sent: 06 January 2003 00:56 > To: interchange-users@icdevgroup.org > Subject: RE: [ic] DirConfig and CSS > > > Ian, > This same problem has been driving me nuts! > When you created your style sheet: > did you create it in a text editor and set the TEME_CSS variable equal to > the path to your CSS file? > Or, were you required to use "Personal CSS / set styles" under the > Preferences tab in the AdminUI? > > Thanks for any info. > Jeff > > -----Original Message----- > From: interchange-users-admin@icdevgroup.org > [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Ian Corner > Sent: Sunday, January 05, 2003 2:32 PM > To: interchange-users@icdevgroup.org > Subject: RE: [ic] DirConfig and CSS > > > I never managed to resolve this using the IC method of setting the variable > in theme.cfg. In the end I made the THEME_CSS variable set to point to a > seperate style sheet file and it works perfectly. > > I would still be interestee to know what the problem was though should > anyone resolve the issue. > > Thanks for any help. > Ian > > -----Original Message----- > From: interchange-users-admin@icdevgroup.org > [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Ian Corner > Sent: 05 January 2003 04:03 > To: interchange-users@icdevgroup.org > Subject: RE: [ic] DirConfig and CSS > > > sadly, I do not have the capabilty to use patches as I host the service. Any > other ideas? > > Regards, > Ian > > -----Original Message----- > From: interchange-users-admin@icdevgroup.org > [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Kevin Walsh > Sent: 05 January 2003 00:07 > To: interchange-users@icdevgroup.org > Subject: RE: [ic] DirConfig and CSS > > > Ian [ian@w3it.com] wrote: > > > > I am having a problem with templates. > > > > From documentation and search results of the mailing lists, I should be > able > > to reflect templates with the following line in theme.cfg file of the > > relevant theme. However this does not seem to work. > > > > DirConfig Variable templates/__THEME__/regions > > > > I found a mention of using catalog.cfg with varible settings like the > > following: > > Variable LEFTONLY [include templates/LEFTONLY] > > Variable LEFTRIGHT [include templates/LEFTRIGHT] > > Variable LEFTRIGHT_TOP [include > > templates/__THEME__/regions/LEFTRIGHT_TOP] > > Variable LEFTRIGHT_BOTTOM [include > > templates/__THEME__/regions/LEFTRIGHT_BOTTOM] > > > > This works however the THEME_CSS set in theme.cfg does not seem to get set > > or translated. Using __THEME_CSS__ in LEFTRIGHT_TOP template and > index.html > > produces a blank. Here is the actual variable seting in catalog.cfg: > > > > Variable THEME_CSS < > > > EOV > > > Try the following patch. I'll have a play with it and book it into > CVS later. > > ====================================================================== > *** Config.pm 1 Jan 2003 14:13:05 -0000 2.88 > --- Config.pm 4 Jan 2003 23:04:45 -0000 > *************** > *** 3231,3236 **** > --- 3231,3237 ---- > next unless -f "$dir/$_"; > #::logDebug("reading key=$_ from $dir/$_"); > $ref->{$_} = readfile("$dir/$_", > $Global::NoAbsolute, 0) > ; > + $ref->{$_} = substitute_variable($ref->{$_}) if > $C->{Par > seVariables}; > $sref->{$_} = "$dir/$_"; > } > } > ====================================================================== > > -- > _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ > _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h > _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz > _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Mon Jan 6 07:52:00 2003 From: interchange-users@icdevgroup.org (Matthew Smith) Date: Mon Jan 6 07:52:00 2003 Subject: [ic] Interchange 4.8.3 and 4.8.6 installation on debian woody fails. Message-ID: <000001c2b582$2fca2cb0$1400a8c0@vacuum.local> Quoting Racke (): >Hello, Matthew ! > >I have no idea why this should fail in the addgroup command. As a workaround, >create the interchange user/group before installation: > >addgroup interchange >adduser --system --ingroup interchange --home /usr/lib/interchange interchange > >Ciao > Racke Hi Racke, Thanks for your reply, but alas it helps not. Now when I try to install interchange it doesn't ask me whether I want to create the user and group, it just goes ahead and does it and still hangs at the point where it says adding system group: . I did purge the configs from dselect before attempting reinstallation. Don't know if that makes a difference... Greetings Matthew From interchange-users@icdevgroup.org Mon Jan 6 08:09:00 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Mon Jan 6 08:09:00 2003 Subject: [ic] Interchange 4.8.3 and 4.8.6 installation on debian woody fails. In-Reply-To: <000001c2b582$2fca2cb0$1400a8c0@vacuum.local> References: <000001c2b582$2fca2cb0$1400a8c0@vacuum.local> Message-ID: <20030106140703.37a1de29.racke@linuxia.de> On Mon, 6 Jan 2003 13:50:25 +0100 "Matthew Smith" wrote: > Quoting Racke (): > > >Hello, Matthew ! > > > >I have no idea why this should fail in the addgroup command. As a > workaround, > >create the interchange user/group before installation: > > > >addgroup interchange > >adduser --system --ingroup interchange --home /usr/lib/interchange > interchange > > > >Ciao > > Racke > > Hi Racke, > > Thanks for your reply, but alas it helps not. Now when I try to install > interchange it doesn't ask me whether I want to create the user and group, > it just goes ahead and does it and still hangs at the point where it says > adding system group: . > > I did purge the configs from dselect before attempting reinstallation. Don't > know if that makes a difference... Can you send the complete installation output to me ? Do you use authentication against /etc/passwd or something different ? Bye Racke From interchange-users@icdevgroup.org Mon Jan 6 08:50:01 2003 From: interchange-users@icdevgroup.org (Rene Hertell) Date: Mon Jan 6 08:50:01 2003 Subject: [ic] Setting a default value in Table Editor seems not to work Message-ID: Hi, I'm having a table that I let my users modify, and I wanted to set a timestamp, some browser info, username into a few fields each time the record is modified. The problem is when I'm using the force_defaults=1 I get empty values in all fileds exept the default.foo_field when editing a record. Is there any other way I could use to update some fields with data when a record is updated? Regards, Ren From interchange-users@icdevgroup.org Mon Jan 6 09:42:00 2003 From: interchange-users@icdevgroup.org (stjohn) Date: Mon Jan 6 09:42:00 2003 Subject: [ic] unable to add items to the catalogue Message-ID: <008c01c2b591$7fdbecc0$0400a8c0@mercury> Hi, I recently upgraded from 4.8 to 4.9.5 and now am unable to add items into the catalogue. My original site was based on the foundation catalogue however once I deleted all the nail and hammers etc. I am unable to add in any new items. The new item page is displayed and the item id/sku increments each attempt to add a new item but no data is saved into the database. I am using mysql and this problem seems to be specific to this catalogue and db as the other foundation we have as a test site works fine, any ideas what the problem may be ? thanks, Stjohn From interchange-users@icdevgroup.org Mon Jan 6 09:55:01 2003 From: interchange-users@icdevgroup.org (Ed LaFrance) Date: Mon Jan 6 09:55:01 2003 Subject: [ic] 4.9.3 "ship status update failed" In-Reply-To: <004401c2b508$98dab0f0$1f02a8c0@DarrenPL> Message-ID: <5.1.1.6.0.20030106064047.02102618@mail.newmediaems.com> At 05:20 PM 1/5/2003 -0500, you wrote: > >>At 08:51 PM 1/4/2003 -0500, you wrote: > >>Hi All, > >> > >>I just moved my store from my old server running IC 4.8.5 to a new > >>server running IC 4.9.3 and now when I try to update the status of an > >>order via "Ship all lines -> Update the order" I get the following > >>message in green on the Pending Orders page: > >> > >>Orderline 00000150-1 ship status update failed. > >> > >>Here is what is in my log file. > >> > >>24.103.254.107 nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:09 > >>-0800] daboy /~daboy/cgi-bin/cart.cgi/admin/order Attempt to set slice > >>of 00000150-1 in read-only table orderline > >>24.103.254.107 nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:36 > >>-0800] daboy /~daboy/cgi-bin/cart.cgi/admin/order Attempt to set slice > >>of 00000150-1 in read-only table orderline > >>24.103.254.107 nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:47 > >>-0800] daboy /~daboy/cgi-bin/cart.cgi/admin/order Attempt to set > >>orderline::status::00000150-1 in read-only table > >>24.103.254.107 nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:47 > >>-0800] daboy /~daboy/cgi-bin/cart.cgi/admin/order Unable to send mail > >>using /usr/lib/sendmail > >> > Message follows: > >> > >> > >>The status is changed to "shipped" just fine, but no ship_notice email > >>is sent. > >>My "transactions" table's order status updates to "shipped" just fine, > >>but the status for each line item in the "orderline" table remains at > >>"pending". > >> > >> > >>I have found this exact problem posted by Grant on Nov. 12th but there > >>was not solution. Can someone please help? > > > >Error messages can sometimes be misleading, but intially it appears >there > >may be two problems: > > 1. write permissions on the orderline table are not set; > > 2. Interchange cannot find your sendmail program. > > > >For 1, check the relevant admin pages for the presence of the tag which > > >sets write permission on the orderline table, this is usuall [flag > >type=write tables="table list"] or [tag flag write]table list[/tag]. >For 2. > >verify the location of sendmail on the command line using 'which >sendmail' > >or 'whereis sendmail'. > > > >- Ed L. > >Hi, > >I think sendmail is in the right place as email is sent to me and the >customer when the order is placed. I don't have shell access right now >but I will check the exact location later. >I am not sure where to look in the admin pages for the presence of the >write permission tag. Can you give me a hint of where to look? It depends upon where you are initiating the 'ship orders' action, but the pages I would check would be admin/order and admin/order_status. You won't find these pages in your pages/admin directory unless you have put them there; they are normally located in VENDROOT/lib/UI/pages/admin. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From interchange-users@icdevgroup.org Mon Jan 6 10:03:01 2003 From: interchange-users@icdevgroup.org (Jonathan Clark) Date: Mon Jan 6 10:03:01 2003 Subject: [ic] unable to add items to the catalogue In-Reply-To: <008c01c2b591$7fdbecc0$0400a8c0@mercury> Message-ID: <000d01c2b594$9e930e20$0301a8c0@NT3078> > I recently upgraded from 4.8 to 4.9.5 and now am unable to add items into > the catalogue. My original site was based on the foundation catalogue > however once I deleted all the nail and hammers etc. I am unable > to add in > any new items. The new item page is displayed and the item id/sku > increments > each attempt to add a new item but no data is saved into the > database. I am > using mysql and this problem seems to be specific to this catalogue and db > as the other foundation we have as a test site works fine, any ideas what > the problem may be ? The difference between the default db and MySQL is the 'NOT NULL' feature. There are many fields in the products table which require information to be entered, for example, price. I have a suspicion that the DEFAULT ''s within the table defs are not being applied, although I have not recently generated a new table to prove this is the case. The workaround is to make sure all the fields which are set to be NOT NULL have data entered. To find out which these are, see the /dbconf/mysql/products.mysql file. Jonathan www.webmaint.net From interchange-users@icdevgroup.org Mon Jan 6 11:40:01 2003 From: interchange-users@icdevgroup.org (DesertMoon9) Date: Mon Jan 6 11:40:01 2003 Subject: [ic] PVT PVT I had this in html before - goofed, Message-ID: <017701c2b5a1$b460cc80$8600a8c0@midtx.clearsource.net> Dear Phillip, Resending, this, I am not subbed but goofed and had this in html when I sent it. Could you protect my identity? And post this to the forum? It's NOT THE FORUM that I ask the protection from, as much as the postings are public on the net and I live in a HIGHLY conservative, smaller community. Some of our family work in higher profile positions and deal with potentials of a lot of judgement as it pertains to religous and spiritual differences in philosophy. We need some help badly with the site. It's been up for a couple of years and I wondered if a domain might moves things along. It's gotten good traffic at times and all but one search engine has something on it listing or a link to it. Thanks ever so much for any help you might consider. Lar Shackelford DesertMoon9@msn.com =============== ----- Original Message ----- From: DesertMoon9 To: interchange-users@icdevgroup.org Sent: Sunday, January 05, 2003 1:20 AM Subject: checking in with a forum question Dear Phillip, I found some of your wisdom on a Google search in which I was trying to search for information about a 301 permanent change. You wrote, (quoting Google Guy) "301 is the only way if your going to redirect and expect rankings." I continue to read this same opinion on the net in forums amongst web masters but I am still having trouble. Could I presume upon your understanding and experience to ask a question or two? We have nice placements in all the search engines, with our site on Angelfire. We want the crawlers or spiders to eventually show us at our new domain. I had read that some spiders didn't keep a listing of a site, when moving a web site from one spot to another, if the HTML (change) was done in the meta tags. I wish I'd bought a domain name from the beginning. Live and learn. Would using a 301 change vary in a free site as I'm not getting it to function? For one thing the editor won't even let me save a .htaccess but it will a htaccess (note the lack of the ".") Below are the directions I used: 1) Create a file in Notepad called htaccess.txt and store it in same directory on your hard drive as your index.html file. 2) put lines like these in it: Send a permanent redirect from our old files to our new files and to handle 404 Errors errorDocument 404 /page-not-found.html Redirect permanent /old-missing-page-1.html http://www.your-url.com/new-replacement-page-1.html Redirect permanent /old-missing-page-2.html http://www.your-url.com/new-replacement-page-2.html 3) save the file to your hard drive 4) upload to your root directory on your host server. 5) rename the file to ".htaccess" (without the quotes) 6) test it to make sure it works! I had no luck, though I did find myself trying a lot of things in this formula, as I felt my take on it was different than the author meant it to be. I was either having early senior moments or an attack of dyslexia, heaven knows but the result or answer won't come through my tiny brain. ;) I'm self taught and perhaps too much a point and click, visual learner. I tried such variations as /biz/6/desertmoonprofiles etc and nothing would help shake this into gear. I couldn't tell where I should be typing this code for sure either, in the body of the page or the meta tags? The current site is: http://www.angelfire.com/biz6/desertmoonprofiles/ The new site is: a domain set up ready to go, desertmoonprofiles.com Thanks so much for your help and your time! Web Site Creator DesertMoon9@msn.com From interchange-users@icdevgroup.org Mon Jan 6 12:26:01 2003 From: interchange-users@icdevgroup.org (stjohn) Date: Mon Jan 6 12:26:01 2003 Subject: [ic] RE. Not able to add new items Message-ID: <001601c2b5a8$6d7543d0$0400a8c0@mercury> RE. Jonathans post regarding NOT NULL db fields. Thanks for the post, had a quick shot at sorting it out but still no joy. First off I had a look at the database structure, like you suggested (/dbconf/mysql/products.mysql). Now there are a few things here that I don't quite understand, although I might be wrong with this. Certain fields state that they should not have null values, however the default value that is specified is clearly NULL i.e. category=VARCHAR(64) NOT NULL DEFAULT ''. Now I really don't understand this - but I went on as you suggested. I went to the New Item section and started to add in a new item, ensuring that I filled in all the fields which required values. My first problem was this, the db structure for products starts withRE. Jonathans post regarding NOT NULL db fields. Thanks for the post, had a quick shot at sorting it out but still no joy. First off I had a look at the database structure, like you suggested (/dbconf/mysql/products.mysql). Now there are a few things here that I don't quite understand, although I might be wrong with this. Certain fields state that they should not have null values, however the default value that is specified is clearly NULL i.e. category=VARCHAR(64) NOT NULL DEFAULT ''. Now I really don't understand this - but I went on as you suggested. I went to the New Item section and started to add in a new item, ensuring that I filled in all the fields which required values. My first problem was this, the db structure for products starts with: Database products KEY sku Database products COLUMN_DEF "sku=char(64) NOT NULL PRIMARY KEY" Database products COLUMN_DEF "description=VARCHAR(128) NOT NULL" Database products COLUMN_DEF "title=VARCHAR(128) DEFAULT '' NOT NULL" Database products INDEX title Database products COLUMN_DEF "template_page=VARCHAR(64)" - now when I go to New Item, I don't have any 'title' field displayed - thus no way of entering a value for this (Problem no.1). So not wanting to be put of I went to the table section of admin and displayed the products table as a spreadsheet - now I see the 'title' field as well as all the others that weren't displayed - however now I have a whole host of other fields that don't seem to be defined in the products table i.e. tax_category,dl_type, dl_location. Now I don't know what these fields are or what they relate to, or for that matter, what value, if any they need. Are these values defined in another table? Why is the 'title' field not displayed on the New Item page, if it has to hold a value? And how, please, please can I get some products back into my system. Could the structure of my sql database be corrupted some how as a result of the upgrade. Sorry about the length of post, thanks in advance, Mike C From interchange-users@icdevgroup.org Mon Jan 6 13:05:01 2003 From: interchange-users@icdevgroup.org (Ian) Date: Mon Jan 6 13:05:01 2003 Subject: [ic] tax: simple, multi or country References: <5.1.1.6.0.20030106064047.02102618@mail.newmediaems.com> Message-ID: <000901c2b5ad$cbef6a30$d701a8c0@w3itdev> Hi having tried to get the sales tax to display on the checkout form, I feel I must be missing something. Have looked at salestax.asc and changed it (originally set at fly-tax). Even default .25 produced nothing. I have the following variables settings when the checkout form is viewed: Area: SE Rate: SE=25 Field: multi Ship: __TAXSHIPPING __ Short of hard coding to get the 25% value I need. How do I set this? It would be nice to have country selection but just to one value of 25% would be sufficient for now. Regards, Ian From interchange-users@icdevgroup.org Mon Jan 6 13:14:00 2003 From: interchange-users@icdevgroup.org (Stephen Kent) Date: Mon Jan 6 13:14:00 2003 Subject: [ic] How feasible and.or difficult is this? In-Reply-To: <017701c2b5a1$b460cc80$8600a8c0@midtx.clearsource.net> Message-ID: <008501c2b5af$13c53230$3c80d841@steve> I have already developed a basic store using interchange 4.8.3. I have been commissioned now with the job of developing an online order taking system. I do not yet have the specifics but basically, this system would allow a user to create an account, log in, and place service orders online. The system would store the customer #, name, address, etc.....as well as the unit model and serial numbers in a database to be exported in csv format nightly. That is really all I a going on right now (just got this assignment before lunch). I was hoping someone out there may have done this in the past. Thanks for your help. Stephen Kent Director of Information Systems Coastal Business Machines, Inc. skent@cbmi.com -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org] On Behalf Of DesertMoon9 Sent: Monday, January 06, 2003 11:36 AM To: interchange-users@icdevgroup.org Subject: [ic] PVT PVT I had this in html before - goofed, Dear Phillip, Resending, this, I am not subbed but goofed and had this in html when I sent it. Could you protect my identity? And post this to the forum? It's NOT THE FORUM that I ask the protection from, as much as the postings are public on the net and I live in a HIGHLY conservative, smaller community. Some of our family work in higher profile positions and deal with potentials of a lot of judgement as it pertains to religous and spiritual differences in philosophy. We need some help badly with the site. It's been up for a couple of years and I wondered if a domain might moves things along. It's gotten good traffic at times and all but one search engine has something on it listing or a link to it. Thanks ever so much for any help you might consider. Lar Shackelford DesertMoon9@msn.com =============== ----- Original Message ----- From: DesertMoon9 To: interchange-users@icdevgroup.org Sent: Sunday, January 05, 2003 1:20 AM Subject: checking in with a forum question Dear Phillip, I found some of your wisdom on a Google search in which I was trying to search for information about a 301 permanent change. You wrote, (quoting Google Guy) "301 is the only way if your going to redirect and expect rankings." I continue to read this same opinion on the net in forums amongst web masters but I am still having trouble. Could I presume upon your understanding and experience to ask a question or two? We have nice placements in all the search engines, with our site on Angelfire. We want the crawlers or spiders to eventually show us at our new domain. I had read that some spiders didn't keep a listing of a site, when moving a web site from one spot to another, if the HTML (change) was done in the meta tags. I wish I'd bought a domain name from the beginning. Live and learn. Would using a 301 change vary in a free site as I'm not getting it to function? For one thing the editor won't even let me save a .htaccess but it will a htaccess (note the lack of the ".") Below are the directions I used: 1) Create a file in Notepad called htaccess.txt and store it in same directory on your hard drive as your index.html file. 2) put lines like these in it: Send a permanent redirect from our old files to our new files and to handle 404 Errors errorDocument 404 /page-not-found.html Redirect permanent /old-missing-page-1.html http://www.your-url.com/new-replacement-page-1.html Redirect permanent /old-missing-page-2.html http://www.your-url.com/new-replacement-page-2.html 3) save the file to your hard drive 4) upload to your root directory on your host server. 5) rename the file to ".htaccess" (without the quotes) 6) test it to make sure it works! I had no luck, though I did find myself trying a lot of things in this formula, as I felt my take on it was different than the author meant it to be. I was either having early senior moments or an attack of dyslexia, heaven knows but the result or answer won't come through my tiny brain. ;) I'm self taught and perhaps too much a point and click, visual learner. I tried such variations as /biz/6/desertmoonprofiles etc and nothing would help shake this into gear. I couldn't tell where I should be typing this code for sure either, in the body of the page or the meta tags? The current site is: http://www.angelfire.com/biz6/desertmoonprofiles/ The new site is: a domain set up ready to go, desertmoonprofiles.com Thanks so much for your help and your time! Web Site Creator DesertMoon9@msn.com _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.435 / Virus Database: 244 - Release Date: 12/30/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.435 / Virus Database: 244 - Release Date: 12/30/2002 From interchange-users@icdevgroup.org Mon Jan 6 13:43:01 2003 From: interchange-users@icdevgroup.org (Paul Jordan) Date: Mon Jan 6 13:43:01 2003 Subject: [ic] RE. Not able to add new items In-Reply-To: <001601c2b5a8$6d7543d0$0400a8c0@mercury> Message-ID: > RE. Jonathans post regarding NOT NULL db fields. > [snip] > > Thanks for the post, had a quick shot at sorting it out but still no joy. > First off I had a look at the database structure, like you suggested > (/dbconf/mysql/products.mysql). Now there are a few things here > that I don't quite understand, although I might be wrong with this. > > Certain fields state that they should not have null values, however the > default value that is specified is clearly NULL i.e. category=VARCHAR(64) > NOT NULL DEFAULT ''. Now I really don't understand this - but I > went on as > you suggested. I went to the New Item section and started to add in a new > item, ensuring that I filled in all the fields which required values. My > first problem was this, the db structure for products starts with: > > Database products KEY sku > Database products COLUMN_DEF "sku=char(64) NOT NULL PRIMARY KEY" > Database products COLUMN_DEF "description=VARCHAR(128) NOT NULL" > Database products COLUMN_DEF "title=VARCHAR(128) DEFAULT '' NOT NULL" > Database products INDEX title > Database products COLUMN_DEF "template_page=VARCHAR(64)" > > - now when I go to New Item, I don't have any 'title' field > displayed - thus > no way of entering a value for this (Problem no.1). > > So not wanting to be put of I went to the table section of admin and > displayed the products table as a spreadsheet - now I see the > 'title' field > as well as all the others that weren't displayed - however now I have a > whole host of other fields that don't seem to be defined in the products > table i.e. tax_category,dl_type, dl_location. Now I don't know what these > fields are or what they relate to, or for that matter, what value, if any > they need. Are these values defined in another table? Why is the 'title' > field not displayed on the New Item page, if it has to hold a value? And > how, please, please can I get some products back into my system. > Could the > structure of my sql database be corrupted some how as a result of the > upgrade. > > Sorry about the length of post, thanks in advance, > > Mike C Hi Mike, If you are a super-user then just click on "Item editor"... the red link at top above the limit with search input on your item list page. This will allow you to edit the meta display for your items and dislay of them in ADMIN. NOTE the "Edit page" tab. Somehow your 'title' got hidden from you, no biggie, just go into meta and put it back into "Fields to edit". Also, I have not been following this too much, but have you checked your error log? I went from 4.8.3 to 4.9.x and I seem to remember not being able to add items. It came down to me needing to add a new column to table mv_metadata, the column was named 'extended'. I don't know why, but it cleard up alot of problems... so check if you have that column in mv_metadata, if you don't, then add it. HTH Paul From interchange-users@icdevgroup.org Mon Jan 6 14:13:01 2003 From: interchange-users@icdevgroup.org (Duncan McGreggor) Date: Mon Jan 6 14:13:01 2003 Subject: [ic] 4.9.6 problem with content editing References: <20030103171844.86362.qmail@web10004.mail.yahoo.com> Message-ID: <3E19D4E3.9060404@myrealbox.com> I did a search on the list archives, but was unable to find anything; I can only guess that I've overlooked something... Interchange is running on RedHat 7.3, perl 5.6.1. Access to interchange is via another server running mod_proxy (server1/duncan/cgi-bin --> server2/cgi-bin). When trying to edit content in several browsers on Linux, MacOS X, and Windows (Netscape 7, IE 5.5, IE 6), every time I hit "publish" or "preview" I am logged out and have to log back in. The changes never take. Other form operations, such as setting parameters in the admin prefs section took just fine. The entry in the error.log file immediately after this occurs is: /cgi-bin/pbsinteractive/process.html Runtime error: Must have type and name for save_store, args were: at /usr/local/interchange/lib/UI/ContentEditor.pm line 108. After logging in again, I get a 500 error, and cannot get in unless I discard the session info in the URL. The apache error log shows this, but only infrequently (twice out of the many times I have attempted to publish): File does not exist: /usr/local/apache/htdocs/interchange/en_US/[page_param ui_page_image] Line 108 of ContentEditor.pm reads: die("Must have type and name for save_store, args were: " . join(" ", @_)) unless $type and $name; and is within the save_page sub. save_page seems to be called from 3 other places, but I only checked one, in the sub page_editor. vi +2715 /usr/local/interchange/lib/UI/ContentEditor.pm I uncommented the '::logDebug' for the page edit in that sub, enabled debugging to the icdebug file, restarted ic, and duplicated the error-prone process. Here's the output: UI::ContentEditor:debug: in page_editor, name=index.html It seems to me that the vars that are claimed to be missing, aren't...? I then returned to the save_store sub and added the following line right before the 'die': ::logDebug("This is from the save_store sub: type=$type, name=$name, value=$value"); which output the following: UI::ContentEditor:debug: This is from the save_store sub: type=page, name=index.html, value=HASH(0x95cf170) In straw-grasping, I set the perms on pages to 777, and all the dirs above it are either 755 or 777 (depseration), to no avail. A note: these logDebugs fire off only when the page is selected (via clicking a link) to be edited. Once in the editor, they don't get hit. The form points back to this same page, content_editor.html and I don't know where to turn next. What follows is the xmp dump in case this is of use: ###### SESSION (content_edit) ##### (skipping html)... 'ui_name' => 'index.html', 'ui_scratchtype' => { 'page_title' => 'tmp' }, 'ui_template' => 'Yes', 'ui_source' => 'pages/index.html', 'page_title' => { 'label' => 'Page title', 'width' => '50' }, 'ui_display_order' => [ 'page_title', 'members_only' ], 'ui_template_name' => 'leftright' }, 'deliver.html' => { 'ui_page_template' => 'none', 'ui_page_picture' => undef, 'ui_values' => { 'authorized' => ' [userdb function=check_file_acl location="[scratch deliverable]" mode=expire ]' }, 'ui_slots' => [ {} ], 'ui_name' => 'deliver.html', 'CONTENT' => '[seti authorized] [userdb function=check_file_acl location="[scratch deliverable]" mode=expire ][/seti][perl products] my $auth = $Scratch->{authorized}; if($auth !~ /1/) { Log("Not authorized for $Scratch->{deliverable}, 403"); $Document->header(\'Status: 403 Not authorized\'); $Document->hot(1); $Document->write(<{deliverable}. Buy it first, please. EOF return; } my $type = tag_data(\'products\', \'dl_type\', $Scratch->{deliverable}); my $location = tag_data(\'products\', \'dl_location\', $Scratch->{deliverable}); my $content = $Tag->file("$location"); my $len = length($content); if(! $len) { Log("Not found: $Scratch->{deliverable} type=$type at $location, 404"); $Document->header(\'Status: 404 not found\'); $Document->hot(1); $Document->write(<{deliverable} not found. EOF return; } $Document->header("Content-Type: $type\\nContent-Length: $len"); $Document->hot(1); $Document->write($content); return; [/perl] ', 'ui_display_order' => [], 'ui_template_layout' => [ 'UI_CONTENT' ], 'ui_type' => 'page', 'ui_scratchtype' => { 'authorized' => 'seti' }, 'ui_source' => 'pages/deliver.html' } }, 'template' => {}, 'component' => {} } ###### END SESSION ##### From interchange-users@icdevgroup.org Mon Jan 6 14:59:01 2003 From: interchange-users@icdevgroup.org (Farshad Farzan) Date: Mon Jan 6 14:59:01 2003 Subject: [ic] Text Entry Option does not show up in Email / Receipt Message-ID: <000001c2b5bd$ee4e4af0$ef0329d0@vl2k> I am using IC 4.9.5 I have set up an item with simple options , 3 select widgets, and 1 Text Entry Widget. The options show fine during checkout process, However, the receipt and the Email does not show the value of the Text Entry, It just shows the label !! Whereas, the other options show both label and value.!!! Looking further in the admin / orders , and the options are shown with their labels and values intact..! I have seen through the archive that this has been issue for others in previous versions, is this a bug, or is there a work-around ??? Thanks. Farshad Farzan Intelligent Measurement, Inc. 16115 Wyandotte Street Van Nuys, CA 91406 Tel 818 901 6787 Fax 818 901 1787 From interchange-users@icdevgroup.org Mon Jan 6 15:06:01 2003 From: interchange-users@icdevgroup.org (Brendan Crosser-McGay) Date: Mon Jan 6 15:06:01 2003 Subject: [ic] UPS Ground Commercial Message-ID: I haven't seen any recent news of anything regarding UPS Ground Commercial (specifically), but I just noticed this morning that UPS Ground Commercial shipping calculates to $0 in interchange. I was wondering if anyone has any news regarding this. Is this a permanent change to UPS's shipping calculator to not include support for UPS Ground Commercial? Yes I know about the static UPS lookup tables as well, so I'm just interested in knowing about the real-time shipping server, and what is going on with this specific shipping method. Thanks! -Brendan From interchange-users@icdevgroup.org Mon Jan 6 15:24:01 2003 From: interchange-users@icdevgroup.org (ICDEV) Date: Mon Jan 6 15:24:01 2003 Subject: [ic] UPS Ground Commercial In-Reply-To: Message-ID: >> I haven't seen any recent news of anything regarding UPS Ground Commercial (specifically), but I just noticed this morning that UPS Ground Commercial shipping calculates to $0 in interchange. I was wondering if anyone has any news regarding this. Is this a permanent change to UPS's shipping calculator to not include support for UPS Ground Commercial? Yes I know about the static UPS lookup tables as well, so I'm just interested in knowing about the real-time shipping server, and what is going on with this specific shipping method. Thanks! -Brendan << I've seen this before when IC has trouble getting data from the UPS Server. I switched over to internal tables because of this - not reliable enough. I wrote a couple of tags that use internal tables, and fallback to web lookup in special cases if you need it. -Steve From interchange-users@icdevgroup.org Mon Jan 6 15:33:01 2003 From: interchange-users@icdevgroup.org (Shawn Mathews) Date: Mon Jan 6 15:33:01 2003 Subject: [ic] mv_click and input type=image Message-ID: <000501c2b5c2$1a477a10$6401a8c0@midnighty91ad5> Does anyone know how to get input type=image tags to assign mv_click info? I have a client who wants his store to be totally workable with non_javascript browsers, but he wants all the images to be buttons. I've tried naming the buttons mv_click name i.e. and but neither seem to work. Thanks, Shawn Mathews From interchange-users@icdevgroup.org Mon Jan 6 15:48:00 2003 From: interchange-users@icdevgroup.org (Ian) Date: Mon Jan 6 15:48:00 2003 Subject: [ic] tax: simple, multi or country References: <5.1.1.6.0.20030106064047.02102618@mail.newmediaems.com> <000901c2b5ad$cbef6a30$d701a8c0@w3itdev> Message-ID: <001701c2b5c4$9ec47d90$d701a8c0@w3itdev> An update. I found the following post that suggests 4 ways to setup tax. http://www.icdevgroup.org/pipermail/interchange-users/2002-October/028173.ht ml Seeing as this particular site is Swedish based (for now) and only requires the one tax code I went for the same method described for a UK setup. The link fails in the above post fails due to to many full stops... try this one: http://www.webmaint.net/interchange/uksetup.html In following the instructions and substituting where required for Sweden, all goes well until step 5. Setting the TAXFIELD is no problem. When I come to the next part I am confronted with a different panel and cannot set the tax type. I figure this is due to the TAXFIELDS setting, but no matter if set to multi or state, I cannot set the tax type. All I can do is set "location", "tax rate", and "apply to shipping charge". Any pointers appreciated. Ian ----- Original Message ----- From: "Ian" To: Sent: Monday, January 06, 2003 7:02 PM Subject: [ic] tax: simple, multi or country > Hi > having tried to get the sales tax to display on the checkout form, I feel I > must be missing something. Have looked at salestax.asc and changed it > (originally set at fly-tax). Even default .25 produced nothing. > > I have the following variables settings when the checkout form is viewed: > Area: SE > Rate: SE=25 > Field: multi > Ship: __TAXSHIPPING __ > > Short of hard coding to get the 25% value I need. How do I set this? It > would be nice to have country selection but just to one value of 25% would > be sufficient for now. > > Regards, > Ian > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Mon Jan 6 16:11:01 2003 From: interchange-users@icdevgroup.org (Jonathan Clark) Date: Mon Jan 6 16:11:01 2003 Subject: [ic] RE. Not able to add new items In-Reply-To: <001601c2b5a8$6d7543d0$0400a8c0@mercury> Message-ID: <001301c2b5c8$05bec430$0301a8c0@NT3078> > Thanks for the post, had a quick shot at sorting it out but still no joy. > First off I had a look at the database structure, like you suggested > (/dbconf/mysql/products.mysql). Now there are a few things here > that I don't quite understand, although I might be wrong with this. > > Certain fields state that they should not have null values, however the > default value that is specified is clearly NULL i.e. category=VARCHAR(64) > NOT NULL DEFAULT ''. Now I really don't understand this - but I > went on as > you suggested. I went to the New Item section and started to add in a new > item, ensuring that I filled in all the fields which required values. My > first problem was this, the db structure for products starts withRE. > Jonathans post regarding NOT NULL db fields. > > Thanks for the post, had a quick shot at sorting it out but still no joy. > First off I had a look at the database structure, like you suggested > (/dbconf/mysql/products.mysql). Now there are a few things here > that I don't quite understand, although I might be wrong with this. > > Certain fields state that they should not have null values, however the > default value that is specified is clearly NULL i.e. category=VARCHAR(64) > NOT NULL DEFAULT ''. Now I really don't understand this - but I > went on as > you suggested. I went to the New Item section and started to add in a new > item, ensuring that I filled in all the fields which required values. My > first problem was this, the db structure for products starts with: > > Database products KEY sku > Database products COLUMN_DEF "sku=char(64) NOT NULL PRIMARY KEY" > Database products COLUMN_DEF "description=VARCHAR(128) NOT NULL" > Database products COLUMN_DEF "title=VARCHAR(128) DEFAULT '' NOT NULL" > Database products INDEX title > Database products COLUMN_DEF "template_page=VARCHAR(64)" > > - now when I go to New Item, I don't have any 'title' field > displayed - thus > no way of entering a value for this (Problem no.1). > > So not wanting to be put of I went to the table section of admin and > displayed the products table as a spreadsheet - now I see the > 'title' field > as well as all the others that weren't displayed - however now I have a > whole host of other fields that don't seem to be defined in the products > table i.e. tax_category,dl_type, dl_location. Now I don't know what these > fields are or what they relate to, or for that matter, what value, if any > they need. Are these values defined in another table? Why is the 'title' > field not displayed on the New Item page, if it has to hold a value? And > how, please, please can I get some products back into my system. > Could the > structure of my sql database be corrupted some how as a result of the > upgrade. I don't think there's a problem with your data. Not all the fields in the products.txt file are defined in the products.mysql. This just means that they get the default data type when the table is created. Jonathan www.webmaint.net From interchange-users@icdevgroup.org Mon Jan 6 17:47:00 2003 From: interchange-users@icdevgroup.org (Aaron Hazelton) Date: Mon Jan 6 17:47:00 2003 Subject: [ic] 'batch' add to admin cart from another IC cart Message-ID: <000001c2b5d5$4211f5d0$ab7ba8c0@abhlaptop> Hi all, I know the subject probably sounds confusing, but I need some input on this project. Here's what I am trying to accomplish: On a Local Intranet running IC 4.8.6 (can be changed) CSR's can really quickly find all the items and set them aside for later reference (in the shopping cart). if the call turns into an order, I would like to add the whole cart to the Live UI entry page's cart. (another server in another location running 4.8.3 currently) I figured out how to set up a link with the following components, but it seems like it would be quite insecure: cart.cgi?mv_action=return &mv_click=MMLogin &mv_username=(username) &mv_password=(password) &mv_nextpage=admin/entry &mv_order_item=(some sku) &mv_order_item=(another sku).. etc. would that be a bad idea? I also thought of already being logged in in another window, and have some sort of textarea or some- thing that would process this 'batch' that would be pasted from the other cart or something .... I would like some input on what would be the best way to approach this Thanks -- Aaron From interchange-users@icdevgroup.org Mon Jan 6 18:08:01 2003 From: interchange-users@icdevgroup.org (Ryan Grace) Date: Mon Jan 6 18:08:01 2003 Subject: [ic] yet another shipping problem In-Reply-To: <20030103180454.88150.qmail@web10005.mail.yahoo.com> Message-ID: <20030106230609.98210.qmail@web10009.mail.yahoo.com> I have one shipping method in my shipping.asc, shown below. The shipping is free if the user is a dealer, $5 if not. The shipping cost is being calculated correctly at checkout, but the shipping pulldown menu is empty. Anyone know why this might be? I've tried everything I can think of. My country.txt is set up correctly with the name of the single shipping method in it. Thanks, Ryan Grace --- Ryan Grace wrote: > > Here's what my shipping.asc looks like: > > > > usstandard US Standard quantity 0 > > > > 0 0 > > > > usstandard US Standard quantity 1 > > 999999 f [perl]if($Scratch->{price_level} eq > > "dealer"){$shipprice=0;}else{$shipprice=5;}return > > $shipprice;[/perl] {} > > Ok, I figured something out. I removed the trailing > {} from the second line of my shipping.asc and the > shipping cost is now calculated correctly. However, > the pulldown menu is still empty. > > Anyone know why the shipping pulldown would be empty > if the shipping.asc is being parsed ok and shipping > is > calculated correctly? > > Thanks, > > Ryan > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up > now. > http://mailplus.yahoo.com > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From interchange-users@icdevgroup.org Mon Jan 6 18:17:01 2003 From: interchange-users@icdevgroup.org (Grant) Date: Mon Jan 6 18:17:01 2003 Subject: [ic] PVT PVT I had this in html before - goofed, In-Reply-To: <017701c2b5a1$b460cc80$8600a8c0@midtx.clearsource.net> Message-ID: >Below are the directions I used: > > >1) Create a file in Notepad called htaccess.txt and store it in >same directory on your hard drive as your index.html file. >2) put lines like these in it: > >Send a permanent redirect from our old files to our new files and >to handle 404 Errors >errorDocument 404 /page-not-found.html >Redirect permanent /old-missing-page-1.html >http://www.your-url.com/new-replacement-page->1.html >Redirect >permanent /old-missing-page-2.html >http://www.your-url.com/new-replacement-page-2.html > >3) save the file to your hard drive >4) upload to your root directory on your host server. >5) rename the file to ".htaccess" (without the quotes) >6) test it to make sure it works! > > >I had no luck, though I did find myself trying a lot of things in >this formula, as I felt my take on it was >different than the author meant it to be. I was either having >early senior moments or an attack of >dyslexia, heaven knows but the result or answer won't come through >my tiny brain. ;) I'm self taught >and perhaps too much a point and click, visual learner. I tried >such variations as >/biz/6/desertmoonprofiles etc and nothing would help shake this >into gear. I couldn't tell where >I should be typing this code for sure either, in the body of the >page or the meta tags? > >The current site is: > >http://www.angelfire.com/biz6/desertmoonprofiles/ > >The new site is: > >a domain set up ready to go, desertmoonprofiles.com > >Thanks so much for your help and your time! > >Web Site Creator >DesertMoon9@msn.com I might be able to help you with this as I use .htaccess for redirecting myself. What do you have where right now as far as the .htaccess file and its contents? - Grant From interchange-users@icdevgroup.org Mon Jan 6 20:08:00 2003 From: interchange-users@icdevgroup.org (Grant) Date: Mon Jan 6 20:08:00 2003 Subject: [ic] 4.9.3 "ship status update failed" In-Reply-To: <004401c2b508$98dab0f0$1f02a8c0@DarrenPL> Message-ID: >>>I just moved my store from my old server running IC 4.8.5 to a new >>>server running IC 4.9.3 and now when I try to update the status of an >>>order via "Ship all lines -> Update the order" I get the following >>>message in green on the Pending Orders page: >>> >>>Orderline 00000150-1 ship status update failed. >>> >>>Here is what is in my log file. >>> >>>24.103.254.107 nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:09 >>>-0800] daboy /~daboy/cgi-bin/cart.cgi/admin/order Attempt to set slice >>>of 00000150-1 in read-only table orderline >>>24.103.254.107 nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:36 >>>-0800] daboy /~daboy/cgi-bin/cart.cgi/admin/order Attempt to set slice >>>of 00000150-1 in read-only table orderline >>>24.103.254.107 nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:47 >>>-0800] daboy /~daboy/cgi-bin/cart.cgi/admin/order Attempt to set >>>orderline::status::00000150-1 in read-only table >>>24.103.254.107 nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:47 >>>-0800] daboy /~daboy/cgi-bin/cart.cgi/admin/order Unable to send mail >>>using /usr/lib/sendmail >>> > Message follows: >>> >>> >>>The status is changed to "shipped" just fine, but no ship_notice email >>>is sent. >>>My "transactions" table's order status updates to "shipped" just fine, >>>but the status for each line item in the "orderline" table remains at >>>"pending". >>> >>> >>>I have found this exact problem posted by Grant on Nov. 12th but there >>>was not solution. Can someone please help? I did have that exact same problem. The problem is with the orderline table write permission, which doesn't make any sense to me since there is: [flag type=write tables="orderline transactions"] right in the order_status.html page. Does anyone know if this been corrected since 4.9.3? It seems like a bug that most people would run into. What ended up happening with my catalog was WRITE_CONTROL statements were added to catalogs/ic493/dbconf/default_db/orderline.dbm to make the table "writable" all the time. I hope this isn't a security problem. I would love to know about a better solution if anyone has one. - Grant From interchange-users@icdevgroup.org Mon Jan 6 20:33:00 2003 From: interchange-users@icdevgroup.org (interchange-users@icdevgroup.org) Date: Mon Jan 6 20:33:00 2003 Subject: [ic] Returning products with various default options... References: <014101c29189$f9602510$0400a8c0@ibmlt> <1037912004.1275.184.camel@archimedes.localnetsolutions.com> <001601c291c2$0f27e170$0400a8c0@ibmlt> <00dd01c2b312$9ec8acd0$7ae331d2@co3041008a> <000b01c2b342$649cb440$0affff0a@msi5> <000f01c2b471$13908e20$7ae331d2@co3041008a> <000b01c2b49a$29c2f100$0affff0a@msi5> Message-ID: <002001c2b5f4$c9b400e0$7ae331d2@co3041008a> My question is bad and not clear; sorry about this. Will try and ask a simpler question. Hypothetical: Product name 'Leather Shoe' has 3 size options: 7 (default), 8 and 9. In foundation, a search for Shoe yields a results list that includes a link and 'buy now' for 'Leather Shoe' with size option 7. (default) Can this be done: Create a search using IC tags that will yield a results list that will present a link and 'buy now' button to 'Leather Shoe' with an option other than the default? or even something like: Click here to buy 'Leather Shoe' size 9. (I would like to present all shoes with sizes as 'options' rather than list each individual shoe and shoe size as seperate products) Hope this question is simpler and straightforward enough. Even a yes/no answer will help here. Apologies again for previous complex and 'bad' question. Simon > let me try to see if I can understand > > You have > (1) shoes in different sizes (so, need to select which size) > (2) one size of the shoes from different manufacturers that are labeled > differently, but equivalent among them. > > Currently: > In your products table, you have one field specifies common, or default > sizes, which is optional for customers to select at time of "buy now" > > Your difficulty is: > The manufacturer or their equivalent size number is not specified, and thus, > you don't know which product to ship, or not available for custumer to > choose which manufacturer's product > > What you are trying to accomplish is: > give one "buy now" bottom that tells both the size and the manufacuterer (or > the equivalent size given by that manufacterer) > > If my understanding is correct, then, I think you'll have to have two > options for customer to specify: size and manufacturer (or their equivalent > size). It's a (x,y) two dimenssion issue that can't be determined by just > giving (x) or (y). This is the same as selecting sizes and colors. No way > can one tell the color from the size. So, adding one more optional field > (manufacture) in the results page should be the easy way. . > > To do this, in the "another field", list manufacturer name, instead of the > equivalent size number. Operationally, take the "default" size just as a > reference rather than actual shoe size. Keep a table that maps the "default" > to actual sizes giving by different manufaturers > > default size 1 2 3 4 5 6 > size of M.A 3 5 6 8 9 12 > size of M.B 2 4 6 8 10 12 > size of M.C (what ever the equivalent size number) > size of M.D ...... > ...... > > If you want to make it easy yourself, simply give the table to your people, > tell them to prepare orders according that table. To avoid confusing, give > "size reference" as the field name of the "default size", rather than simply > "size". So, when your people read the order sheet, they'll know it's a > "reference number", and they have to pick up the right size according the > table. > > To be perfect, you can implement that table in your database, bring up the > actual size as a hidden field when customer select a specific manufacterer. > Then, you get "products with various default options", e.g. manufacturer and > actual size given by that manufacturer. > > Hope, this is helpful. > > > David > dzhang@msihosting.com > Mount Spring International > http://www.msihosting.com > > > ----- Original Message ----- > From: > To: > Sent: Saturday, January 04, 2003 11:15 PM > Subject: Re: [ic] Returning products with various default options... > > > > > > I am wondering if I can return a results page with various sizes > > returned > > > > based on a value in another field in the products database. > > > > > > Simply add one more display field in your current results page. Make the > > > added display field as a link to (or search for) other product(s) based > > on > > > the "value in another field" > > > > > > I just knew that my question was a bit unclear. > > > > What I am needing is a page of search results that will include 'buy now' > > buttons. (easy enough) > > but clicking 'buy now' will add the item to the cart with a size 'option' > as > > pulled from the query, not the default option value. > > > > I guess my first question should have been: > > > > Can I create a 'buy now' button that adds an item to the cart with an > option > > selected other than the default? > > > > Is there an IC tag that allows me to specify a value for an option before > an > > item is added to a cart? > > > > Thanks in advance > > > > Simon > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > From: > > > To: > > > Sent: Friday, January 03, 2003 5:26 AM > > > Subject: [ic] Returning products with various defaul options... > > > > > > > > > > I have a store that has many items that all have different 'size' > > options. > > > > > > > > I am wondering if I can return a results page with various sizes > > returned > > > > based on a value in another field in the products database. > > > > > > > > i.e. Click here to see related products with recommended sizes to fit > > your > > > > show size. > > > > > > > > (Manufacturer marked sizes (in the product options) is not always same > > as > > > > the real size so we have given a hidden value for these in the > products > > > > table) > > > > > > > > Typical Results should yield links to: > > > > > > > > Manufacturer - Product - default option > > > > Manufacturer X - shoe Z - size 9 (hidden value 9) > > > > Manufacture Y - show A - size 10 (hidden value 9) > > > > Manufacturer Z - shoe C - size 9 1/2 (hidden value 9) > > > > > > > > > > > > Another shoe sized person might yield results like: > > > > Manufacturer - Product - default option > > > > Manufacturer X - shoe Z - size 8 - (hidden value 8) > > > > Manufacture Y - show A - size 9 - (hidden value 8) > > > > Manufacturer Z - shoe C - size 8 1/2 - (hidden value 8) > > > > > > > > > > > > I hope this is clear? > > > > > > > > Maybe the question could be better asked, can I create a search for > > > products > > > > which present a link to a product where the default size option > changes > > > > based on a hidden value in the products database? > > > > > > > > I hope this is now too way obscure a question; please let me know. > > > > > > > > Using 4.8.6/mysql > > > > > > > > Many thanks in advance for any guidance or yes no answers!!!! > > > > > > > > Simon > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > interchange-users mailing list > > > > interchange-users@icdevgroup.org > > > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > > > > > > > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@icdevgroup.org > > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@icdevgroup.org > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Mon Jan 6 21:23:01 2003 From: interchange-users@icdevgroup.org (Jon) Date: Mon Jan 6 21:23:01 2003 Subject: [ic] Value From Prior Page Message-ID: <3E1A3991.ADB7C8A0@attglobal.net> I'm sure this will be an easy answer for most here but I can't find a way to accomplish it. With in the results page I'm trying to determine all the mv_values that are set from the user's selection. In other words. User clicks on a product link which sets up all the search specifications such as DB, Field, and value to search for. How can I grab that information from with the results page ?? This is working from a modified foundation catalog from IC 4.9.3 Appreciate any pointers. Jon From interchange-users@icdevgroup.org Mon Jan 6 22:18:01 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Mon Jan 6 22:18:01 2003 Subject: [ic] Returning products with various default options... References: <014101c29189$f9602510$0400a8c0@ibmlt> <1037912004.1275.184.camel@archimedes.localnetsolutions.com> <001601c291c2$0f27e170$0400a8c0@ibmlt> <00dd01c2b312$9ec8acd0$7ae331d2@co3041008a> <000b01c2b342$649cb440$0affff0a@msi5> <000f01c2b471$13908e20$7ae331d2@co3041008a> <000b01c2b49a$29c2f100$0affff0a@msi5> <002001c2b5f4$c9b400e0$7ae331d2@co3041008a> Message-ID: <006201c2b5fa$0d8b9c60$0a01000a@badtzmaru.com> > Create a search using IC tags that will yield a results list that will > present a link and 'buy now' button to 'Leather Shoe' with an option other > than the default? Sure. Save the size in a scratch variable and use it on the results page to preselect a choice in the option selectbox. You will need to replace the call to item-options with a handrolled option display. Look at the source for http://shop.sophee.com/sophee/00191.html?show_source=1 and the browser-rendered version (without the show_source parameter) to get an idea of how manual option building might be done (the scrunchy colors are item options), although places that you see the item number seemingly hard-coded are actually [item-code] calls. This page overall is an example of poor coding, I load the option list two or three times when it only needs to be done once. "I'll go back and fix it". Jeff From interchange-users@icdevgroup.org Mon Jan 6 22:30:01 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Mon Jan 6 22:30:01 2003 Subject: [ic] access.gdbm corruption? In-Reply-To: ; from bkeyes@Consilium-III.Com on Fri, Jan 03, 2003 at 02:08:45PM -0500 References: <006201c2b355$4854bc20$0a01000a@badtzmaru.com> Message-ID: <20030106222854.A8566@bill.heins.net> Quoting Bob Keyes (bkeyes@Consilium-III.Com): > > On Fri, 3 Jan 2003, Jeff Dafoe wrote: > > > > > I should clarify my statement by saying that "multiple users" means > > "multiple sessions". A single physical person could generate multiple > > sessions, I do this by opening both IE and netscape. > > > > > Thanks. I had thought of that and checked, but just realized I had missed > one terminal window open on the server itself. Oops! > > Though IC should really have a way to not die when this happens. Feature > Request: When an account is logged in more than once, the second user > trying to log in should get a message to the likes of: > > "This user is alredy logged in from {hostname}, idle since {last activity > time). Close this old session? (Yes/No)" > > I'd try to code this myself, if I knew more about how the interchange > internals work. > It really has nothing to do with more than one user on the same account. It is just GDBM timing out for write after a long access holds off a user for more than a certain period of time. I suppose I could put in a Limit parameter that makes that configurable. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Experience is what allows you to recognize a mistake the second time you make it. -- unknown From interchange-users@icdevgroup.org Mon Jan 6 23:03:01 2003 From: interchange-users@icdevgroup.org (Michael C. Ibarra) Date: Mon Jan 6 23:03:01 2003 Subject: [ic] Shipping Options in CVS/Demo1 Message-ID: <1041911526.3e1a4ee6bfa38@webmail.hawk.com> Greetings: Could someone please explain to me what the following message above the "Shipping method" on the "Checkout" page refers to? "Note: 1DA: Missing ConsigneePostalCode" Should the "Shipping method" drop button show all methods which have been allowed? I am testing a cvs version of IC and am getting the same results. Thanks, -mike From interchange-users@icdevgroup.org Tue Jan 7 01:25:01 2003 From: interchange-users@icdevgroup.org (Sippo Laisaari) Date: Tue Jan 7 01:25:01 2003 Subject: [ic] Logout question Message-ID: <50918.194.215.38.194.1041920558.squirrel@www.laisaari.com> I am building a Finnish web shop, and when done, I contribute the admin translation to you. (there is a lot of stuff, and might take some time) Some questions have popped up though - and did not find it from any documentation. How to invalidate user session when user presses logout button? Now it nicely tels that user has logged out, but still all user information is still there and can be modified pressing Services button. Also a session must be invalidated after non registered user checkout. Now the Service button allows to modify the dummy profile. The point is: Client has no idea whate the dummy userid / password is, but still the information is there after checkout. This is also a security matter, you can shop using a public terminal and after you the next user can see all you stuff if he/she is clever enough and also could order some extra stuff to you :-( regards, Sippo Laisaari From interchange-users@icdevgroup.org Tue Jan 7 02:47:00 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Tue Jan 7 02:47:00 2003 Subject: [ic] Logout question In-Reply-To: <50918.194.215.38.194.1041920558.squirrel@www.laisaari.com> Message-ID: <000401c2b620$a233aee0$020110ac@majestic.cursor-software.co.uk> Sippo Laisaari [sippo@laisaari.com] wrote: > > I am building a Finnish web shop, and when done, I contribute the > admin translation to you. (there is a lot of stuff, and might take some time) > It always time to Finnish. :-) > > How to invalidate user session when user presses logout button? > Now it nicely tels that user has logged out, but still all user > information is still there and can be modified pressing Services button. > > Also a session must be invalidated after non registered user checkout. > Now the Service button allows to modify the dummy profile. The point is: > Client has no idea whate the dummy userid / password is, but still > the information is there after checkout. > There's no need to 'invalidate' the session. You can clear the user's session variables by adding a clear=1 parameter to the [userdb logout] tag. The session can be safely reused once the user has logged out. > > This is also a security matter, you can shop using a public terminal and > after you the next user can see all you stuff if he/she is clever enough > and also could order some extra stuff to you :-( > Well, they could but they'd have to use their own credit card as that information is not stored in the session at all. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Tue Jan 7 06:08:00 2003 From: interchange-users@icdevgroup.org (Eric Johanson) Date: Tue Jan 7 06:08:00 2003 Subject: [ic] design in admin, 500 internal server error, [again] Message-ID: Hi there, First time post, so be kind. :) Referenced [links] at the bottom of the post. * When clicking on 'design' from the admin page, I get a 500 internal server error. Nothing in any logs which I can find. Interchange 4.8.6 (via tarball) Mandrake 9.0 [1] Apache-AdvancedExtranetServer/1.3.26 Perl 5.8.0 Digest::MD5 found (v2.22). LWP::Simple found (v1.36). MIME::Base64 found (v2.16). SQL::Statement found (v0.1021). Safe::Hole found (v0.08). Storable found (v2.06). Tie::Watch not found. Minor: cannot set watch points in catalog.cfg. URI::URL found (v5.03). GDBM available (v1.06) No Berkeley DB_File. DBI enabled (v1.32), available drivers: ExampleP, Proxy, mysql After searching the archives, I found quite a bit of talk [2] about this problem [3], which seems to hint at it being related to apache 2.0. I'm not running apache 2.0, but I'm having the same problem. The default Mandrake "Extranet" apache is loaded with stuff - - mod_perl via separate apache process, etc. I have no problems running other stuff (perl, php, mysql, etc, etc) under this setup. A related patch [4] was released, and put into the RPMs [5]. At this point, I'm not sure what's going on, as I've personally validated that the version of IC I'm running (4.8.6), has this 'patch'. How can I crank up the verbosity of IC? I've never seen such... umm... lackluster errors from perl/apache before... normally much more shows up in the logs... Please let me know if I can provide more info on this problem; I'm really quite lost at this point... :) Thanks in advance, Eric Johanson * [1] http://www.icdevgroup.org/pipermail/interchange-users/2002-November/029338.html [2] http://www.icdevgroup.org/i/dev/swish.html?query=Internal%20Server%20Error%20design&sort_by=date [3] http://www.icdevgroup.org/pipermail/interchange-users/2002-November/029164.html [4] http://www.icdevgroup.org/cgi-bin/cvsweb/interchange/lib/Vend/Server.pm.diff?r1=2.16&r2=2.17 [5] http://www.icdevgroup.org/pipermail/interchange-users/2002-November/028516.html From interchange-users@icdevgroup.org Tue Jan 7 08:06:01 2003 From: interchange-users@icdevgroup.org (David Schnardthorst) Date: Tue Jan 7 08:06:01 2003 Subject: [ic] Coupons at Checkout Message-ID: <11698.65.197.19.240.1041944648.squirrel@webmail.wavesco.com> How do I setup the use of either discount codes or coupons at checkout? I would like the ability to have some customers be able to get additional discounts at checkout when they have promotional items and I haven't figured out how to set this up. Thank you, -- David J. Schnardthorst Waves Corporation Phone: 314.974.0932 Fax: 636.922.9373 Email: daves@wavesco.com From interchange-users@icdevgroup.org Tue Jan 7 11:28:00 2003 From: interchange-users@icdevgroup.org (Ian) Date: Tue Jan 7 11:28:00 2003 Subject: [ic] tax: simple, multi or country References: <5.1.1.6.0.20030106064047.02102618@mail.newmediaems.com> <000901c2b5ad$cbef6a30$d701a8c0@w3itdev> <001701c2b5c4$9ec47d90$d701a8c0@w3itdev> Message-ID: <000701c2b667$55943c20$d701a8c0@w3itdev> The demo version online works fine and I am able to change tax settngs for Sweden and reflect the correct sales tax total in checkout.html. The Administration/Tax link on my system seems to be incorrect. The online demo has a drop down list entitled select country. All I have is a place to insert a location. Obviously somewhere along the line something has confused the tax settings, as no matter what fixes I try from the material I find at this site, nothing changes the salestax result. How do I get the Administration/Tax page set so I can choose a country and therefore set up the tax codes for Sweden, etc. Regards Ian ----- Original Message ----- From: "Ian" To: Sent: Monday, January 06, 2003 9:45 PM Subject: Re: [ic] tax: simple, multi or country > An update. > > I found the following post that suggests 4 ways to setup tax. > http://www.icdevgroup.org/pipermail/interchange-users/2002-October/028173.ht > ml > > Seeing as this particular site is Swedish based (for now) and only requires > the one tax code I went for the same method described for a UK setup. The > link fails in the above post fails due to to many full stops... try this > one: > http://www.webmaint.net/interchange/uksetup.html > > In following the instructions and substituting where required for Sweden, > all goes well until step 5. Setting the TAXFIELD is no problem. When I come > to the next part I am confronted with a different panel and cannot set the > tax type. > > I figure this is due to the TAXFIELDS setting, but no matter if set to multi > or state, I cannot set the tax type. All I can do is set "location", "tax > rate", and "apply to shipping charge". > > Any pointers appreciated. > Ian > > > ----- Original Message ----- > From: "Ian" > To: > Sent: Monday, January 06, 2003 7:02 PM > Subject: [ic] tax: simple, multi or country > > > > Hi > > having tried to get the sales tax to display on the checkout form, I feel > I > > must be missing something. Have looked at salestax.asc and changed it > > (originally set at fly-tax). Even default .25 produced nothing. > > > > I have the following variables settings when the checkout form is viewed: > > Area: SE > > Rate: SE=25 > > Field: multi > > Ship: __TAXSHIPPING __ > > > > Short of hard coding to get the 25% value I need. How do I set this? It > > would be nice to have country selection but just to one value of 25% would > > be sufficient for now. > > > > Regards, > > Ian > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@icdevgroup.org > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Tue Jan 7 11:47:00 2003 From: interchange-users@icdevgroup.org (Alex Lofaso (Planetanime.com)) Date: Tue Jan 7 11:47:00 2003 Subject: [ic] banners In-Reply-To: <000701c2b667$55943c20$d701a8c0@w3itdev> References: <5.1.1.6.0.20030106064047.02102618@mail.newmediaems.com> <000901c2b5ad$cbef6a30$d701a8c0@w3itdev> <001701c2b5c4$9ec47d90$d701a8c0@w3itdev> <000701c2b667$55943c20$d701a8c0@w3itdev> Message-ID: <43923.12.109.5.100.1041957932.squirrel@mail.planetanime.com> Hello List! I am trying to enable banners using the [banner] tag on my site. I have constructed the banners table in mysql, established the config file, and the table shows up in the UI, plus I restarted IC. I created a banners directory under both my images directory and the tmp directory. I placed my banners here. I loaded my table with data and have tried several variations but cannot seem to get my banners to display. This is the code I have in my page: [banner weighted=1 category="horizontal" interpolate=1] I added the interpolate based on what I found searching the ml archive Here is the data I am using as far as data: code category weight rotate banner i1 horizontal 5 0 FLCL2 i2 horizontal 5 0 I also checked the error log and I am not reporting any errors... So I guess my question is what am I doing wrong? Thanks Alex From interchange-users@icdevgroup.org Tue Jan 7 12:20:01 2003 From: interchange-users@icdevgroup.org (Ian) Date: Tue Jan 7 12:20:01 2003 Subject: [ic] tax: simple, multi or country References: <5.1.1.6.0.20030106064047.02102618@mail.newmediaems.com> <000901c2b5ad$cbef6a30$d701a8c0@w3itdev> <001701c2b5c4$9ec47d90$d701a8c0@w3itdev> <000701c2b667$55943c20$d701a8c0@w3itdev> Message-ID: <000701c2b670$aaadbb60$d701a8c0@w3itdev> A fix... Well I am not sure if this is the correct approach but at least I get the result I am looking for. I noticed there is a peice of Javascript code that causes a pop-up warning with the sales tax detailed. The tax was correct in this pop-up! To keep this email brief, I changed the sales tax from: Sales Tax: [salestax] to read: Sales Tax: [loop list="__TAXAREA__"] [currency][fly-tax [loop-code]][/currency] [/loop] I hope this helps if you find yourself with the same problem Note that instead of salestax, flytax is used. I suspect my Admin is corrupt, as from what I can tell, I have setup for multi but the Administration/tax form is showing the simpletax.html form and not the tax.html form. Perhaps this will clear on the next upgrade... and then make my checkout page useless! We shall see. Regards Ian ----- Original Message ----- From: "Ian" To: Sent: Tuesday, January 07, 2003 5:10 PM Subject: Re: [ic] tax: simple, multi or country > The demo version online works fine and I am able to change tax settngs for > Sweden and reflect the correct sales tax total in checkout.html. > > The Administration/Tax link on my system seems to be incorrect. The online > demo has a drop down list entitled select country. All I have is a place to > insert a location. Obviously somewhere along the line something has confused > the tax settings, as no matter what fixes I try from the material I find at > this site, nothing changes the salestax result. > > How do I get the Administration/Tax page set so I can choose a country and > therefore set up the tax codes for Sweden, etc. > > Regards > Ian > > > > ----- Original Message ----- > From: "Ian" > To: > Sent: Monday, January 06, 2003 9:45 PM > Subject: Re: [ic] tax: simple, multi or country > > > > An update. > > > > I found the following post that suggests 4 ways to setup tax. > > > http://www.icdevgroup.org/pipermail/interchange-users/2002-October/028173.ht > > ml > > > > Seeing as this particular site is Swedish based (for now) and only > requires > > the one tax code I went for the same method described for a UK setup. The > > link fails in the above post fails due to to many full stops... try this > > one: > > http://www.webmaint.net/interchange/uksetup.html > > > > In following the instructions and substituting where required for Sweden, > > all goes well until step 5. Setting the TAXFIELD is no problem. When I > come > > to the next part I am confronted with a different panel and cannot set the > > tax type. > > > > I figure this is due to the TAXFIELDS setting, but no matter if set to > multi > > or state, I cannot set the tax type. All I can do is set "location", "tax > > rate", and "apply to shipping charge". > > > > Any pointers appreciated. > > Ian > > > > > > ----- Original Message ----- > > From: "Ian" > > To: > > Sent: Monday, January 06, 2003 7:02 PM > > Subject: [ic] tax: simple, multi or country > > > > > > > Hi > > > having tried to get the sales tax to display on the checkout form, I > feel > > I > > > must be missing something. Have looked at salestax.asc and changed it > > > (originally set at fly-tax). Even default .25 produced nothing. > > > > > > I have the following variables settings when the checkout form is > viewed: > > > Area: SE > > > Rate: SE=25 > > > Field: multi > > > Ship: __TAXSHIPPING __ > > > > > > Short of hard coding to get the 25% value I need. How do I set this? It > > > would be nice to have country selection but just to one value of 25% > would > > > be sufficient for now. > > > > > > Regards, > > > Ian > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@icdevgroup.org > > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@icdevgroup.org > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Tue Jan 7 12:41:01 2003 From: interchange-users@icdevgroup.org (Michael Goldfarb) Date: Tue Jan 7 12:41:01 2003 Subject: [ic] UPS Message-ID: <000601c2b673$b5cb9eb0$1e01a8c0@mrblondelaptop> Has anyone figured out the UPS problem that Brendan pointed out above? Is the problem with not getting data for Ground on UPS' end? Looks like I will be switching to Internal Table Lookups as well :) From interchange-users@icdevgroup.org Tue Jan 7 13:54:00 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Tue Jan 7 13:54:00 2003 Subject: [ic] mv_click and input type=image In-Reply-To: <000501c2b5c2$1a477a10$6401a8c0@midnighty91ad5>; from shawn@oceanebi.com on Mon, Jan 06, 2003 at 03:27:57PM -0500 References: <000501c2b5c2$1a477a10$6401a8c0@midnighty91ad5> Message-ID: <20030107135321.A15593@bill.heins.net> Quoting Shawn Mathews (shawn@oceanebi.com): > Does anyone know how to get input type=image tags to assign mv_click info? > > I have a client who wants his store to be totally workable with > non_javascript browsers, but he wants all the images to be buttons. Good luck. I wouldn't want to attempt it, but it is possible. > > I've tried naming the buttons mv_click name > i.e. > and > > but neither seem to work. None of that will work. Because of the way type=image works, it doesn't actually send such a variable. Interchange does support an mv_click_map facility, though. This should be detailed in the docs. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Fast, reliable, cheap. Pick two and we'll talk. -- unknown From interchange-users@icdevgroup.org Tue Jan 7 15:06:00 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Tue Jan 7 15:06:00 2003 Subject: [ic] UPS References: <000601c2b673$b5cb9eb0$1e01a8c0@mrblondelaptop> Message-ID: <003101c2b686$f92639a0$0a01000a@badtzmaru.com> > Has anyone figured out the UPS problem that Brendan pointed out above? > Is the problem with not getting data for Ground on UPS' end? Put some debug code in UPS.pm and see what the UPS server is returning. Jeff From interchange-users@icdevgroup.org Tue Jan 7 15:12:00 2003 From: interchange-users@icdevgroup.org (Info at daBoy's International) Date: Tue Jan 7 15:12:00 2003 Subject: [ic] 4.9.3 "ship status update failed" Message-ID: <000001c2b688$77edb5f0$1f02a8c0@DarrenPL> >From: "Grant" >To: >Subject: RE: [ic] 4.9.3 "ship status update failed" >Date: Mon, 6 Jan 2003 16:57:56 -0800 >Reply-To: interchange-users@icdevgroup.org >>>I just moved my store from my old server running IC 4.8.5 to a new >>>server running IC 4.9.3 and now when I try to update the status of an >>>order via "Ship all lines -> Update the order" I get the following >>>message in green on the Pending Orders page: >>> >>>Orderline 00000150-1 ship status update failed. >>> >>>Here is what is in my log file. >>> >>>24.103.254.107 nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:09 >>>-0800] daboy /~daboy/cgi-bin/cart.cgi/admin/order Attempt to set >>>slice of 00000150-1 in read-only table orderline 24.103.254.107 >>>nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:36 -0800] daboy >>>/~daboy/cgi-bin/cart.cgi/admin/order Attempt to set slice of >>>00000150-1 in read-only table orderline 24.103.254.107 >>>nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:47 -0800] daboy >>>/~daboy/cgi-bin/cart.cgi/admin/order Attempt to set >>>orderline::status::00000150-1 in read-only table 24.103.254.107 >>>nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:47 -0800] daboy >>>/~daboy/cgi-bin/cart.cgi/admin/order Unable to send mail using >>>/usr/lib/sendmail >>> > Message follows: >>> >>> >>>The status is changed to "shipped" just fine, but no ship_notice >>>email is sent. My "transactions" table's order status updates to >>>"shipped" just fine, but the status for each line item in the >>>"orderline" table remains at "pending". >>> >>> >>>I have found this exact problem posted by Grant on Nov. 12th but >>>there was not solution. Can someone please help? > > I did have that exact same problem. The problem is with the orderline table write >permission, which doesn't make any sense to me since there is: > >[flag type=write tables="orderline transactions"] > >right in the order_status.html page. Does anyone know if this been corrected since 4.9.3? It >seems like a bug that most people would run into. What ended up happening with my catalog was >WRITE_CONTROL statements were added to catalogs/ic493/dbconf/default_db/orderline.dbm to make >the table "writable" all the time. I hope this isn't a security problem. I would love to know >about a better solution if anyone has one. > >- Grant Thanks Grant, It is not possible for me to upgrade IC. Can you tell me which statements/line to add to dbconf/default_db/orderline.dbm to make the table "writable" all the time? Darren From interchange-users@icdevgroup.org Tue Jan 7 15:24:00 2003 From: interchange-users@icdevgroup.org (Aaron Hazelton) Date: Tue Jan 7 15:24:00 2003 Subject: [ic] some praise where praise is due Message-ID: <000601c2b68a$7454ece0$ab7ba8c0@abhlaptop> All too often we only hear complaints when things don't go so well, and very little praise is given where it is due. I thought I would put in my 2 cents worth to this list. Over the past few months I have been working on a some deeper development with some IC sites and a complete Intranet for CSRs. Sure, IC is said to have a 'steep learning curve', and only working with the software for a little over a year I will attest to that. However, most of the things I attempted actually turned out to be pretty easy once you figured out the right way to do it. Even with little knowledge of perl, it is very powerful. However, with the extensive usage of perl in some of the admin pages and lots of great little snips on this list, even someone with little knowledge of perl like me can come up with some pretty cool little features if you do a little searching and have some guts. Interchange is extremely modifiable to suit your individual needs, very powerful and up-to-date, and second-to-none in my opinion. A big round of applause to the writers of this program as well as everyone who takes a part in this list. Thanks again to all the people that have helped me with various things through this list. -- Aaron From interchange-users@icdevgroup.org Tue Jan 7 15:47:00 2003 From: interchange-users@icdevgroup.org (Grant) Date: Tue Jan 7 15:47:00 2003 Subject: [ic] 4.9.3 "ship status update failed" In-Reply-To: <000001c2b688$77edb5f0$1f02a8c0@DarrenPL> Message-ID: >>>>I just moved my store from my old server running IC 4.8.5 to a new >>>>server running IC 4.9.3 and now when I try to update the status of an > >>>>order via "Ship all lines -> Update the order" I get the following >>>>message in green on the Pending Orders page: >>>> >>>>Orderline 00000150-1 ship status update failed. >>>> >>>>Here is what is in my log file. >>>> >>>>24.103.254.107 nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:09 >>>>-0800] daboy /~daboy/cgi-bin/cart.cgi/admin/order Attempt to set >>>>slice of 00000150-1 in read-only table orderline 24.103.254.107 >>>>nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:36 -0800] daboy >>>>/~daboy/cgi-bin/cart.cgi/admin/order Attempt to set slice of >>>>00000150-1 in read-only table orderline 24.103.254.107 >>>>nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:47 -0800] daboy >>>>/~daboy/cgi-bin/cart.cgi/admin/order Attempt to set >>>>orderline::status::00000150-1 in read-only table 24.103.254.107 >>>>nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:47 -0800] daboy >>>>/~daboy/cgi-bin/cart.cgi/admin/order Unable to send mail using >>>>/usr/lib/sendmail >>>> > Message follows: >>>> >>>> >>>>The status is changed to "shipped" just fine, but no ship_notice >>>>email is sent. My "transactions" table's order status updates to >>>>"shipped" just fine, but the status for each line item in the >>>>"orderline" table remains at "pending". >>>> >>>> >>>>I have found this exact problem posted by Grant on Nov. 12th but >>>>there was not solution. Can someone please help? >> >> I did have that exact same problem. The problem is with the >orderline table write >permission, which doesn't make any sense to me >since there is: >> >>[flag type=write tables="orderline transactions"] >> >>right in the order_status.html page. Does anyone know if this been >corrected since 4.9.3? It >seems like a bug that most people would run >into. What ended up happening with my catalog was >WRITE_CONTROL >statements were added to catalogs/ic493/dbconf/default_db/orderline.dbm >to make >the table "writable" all the time. I hope this isn't a >security problem. I would love to know >about a better solution if >anyone has one. >> >>- Grant > >Thanks Grant, > >It is not possible for me to upgrade IC. Can you tell me which >statements/line to add to dbconf/default_db/orderline.dbm to make the >table "writable" all the time? > >Darren Darren, You would probably want that files contents to look like this: Database orderline orderline.txt TAB Database orderline WRITE_CONTROL 1 Database orderline WRITE_ALWAYS 1 Please do keep in mind that this makes the orderline table always writable. Also, if youre using the SQL database instead of the default one, these instructions will need some adjustment. Actually, isnt the SQL database writable all the time? - Grant From interchange-users@icdevgroup.org Tue Jan 7 16:11:01 2003 From: interchange-users@icdevgroup.org (Michael C. Ibarra) Date: Tue Jan 7 16:11:01 2003 Subject: [ic] some praise where praise is due In-Reply-To: <000601c2b68a$7454ece0$ab7ba8c0@abhlaptop> References: <000601c2b68a$7454ece0$ab7ba8c0@abhlaptop> Message-ID: <1041973220.3e1b3fe473f47@webmail.hawk.com> I second that. A huge difference fromn when I first looked at Minivend. Look forward to being able to hopefully help in the near future as well. -mike Quoting Aaron Hazelton : > All too often we only hear complaints when things don't > go so well, and very little praise is given where it is due. > I thought I would put in my 2 cents worth to this list. > > Over the past few months I have been working on a > some deeper development with some IC sites and a > complete Intranet for CSRs. > > Sure, IC is said to have a 'steep learning curve', and > only working with the software for a little over a year > I will attest to that. However, most of the things I > attempted actually turned out to be pretty easy once > you figured out the right way to do it. > > Even with little knowledge of perl, it is very powerful. > However, with the extensive usage of perl in some > of the admin pages and lots of great little snips on > this list, even someone with little knowledge of perl > like me can come up with some pretty cool little > features if you do a little searching and have some guts. > > Interchange is extremely modifiable to suit your > individual needs, very powerful and up-to-date, > and second-to-none in my opinion. > > A big round of applause to the writers of this program > as well as everyone who takes a part in this list. > > Thanks again to all the people that have helped me > with various things through this list. > -- > Aaron > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Tue Jan 7 16:16:01 2003 From: interchange-users@icdevgroup.org (Jon) Date: Tue Jan 7 16:16:01 2003 Subject: [ic] some praise where praise is due References: <000601c2b68a$7454ece0$ab7ba8c0@abhlaptop> Message-ID: <3E1B433C.873A7EAB@attglobal.net> > All too often we only hear complaints when things don't > go so well, and very little praise is given where it is due. > I thought I would put in my 2 cents worth to this list. > > Over the past few months I have been working on a > some deeper development with some IC sites and a > complete Intranet for CSRs. > > Sure, IC is said to have a 'steep learning curve', and > only working with the software for a little over a year > I will attest to that. However, most of the things I > attempted actually turned out to be pretty easy once > you figured out the right way to do it. > > Even with little knowledge of perl, it is very powerful. > However, with the extensive usage of perl in some > of the admin pages and lots of great little snips on > this list, even someone with little knowledge of perl > like me can come up with some pretty cool little > features if you do a little searching and have some guts. > > Interchange is extremely modifiable to suit your > individual needs, very powerful and up-to-date, > and second-to-none in my opinion. > > A big round of applause to the writers of this program > as well as everyone who takes a part in this list. > > Thanks again to all the people that have helped me > with various things through this list. > -- > Aaron My thoughts exactly... even down to the level of perl knowledge. Although only one web site so far :( Getting there though :))) Jon From interchange-users@icdevgroup.org Tue Jan 7 16:19:01 2003 From: interchange-users@icdevgroup.org (Matthew Villa) Date: Tue Jan 7 16:19:01 2003 Subject: [ic] Adding Additional Info To orderline table Message-ID: <000301c2b692$046a21e0$bb7ba8c0@webmaster> Hey everyone, I have a custom field within the products table called "brand." I need to concatenate both fields "brand" and "description" from the products table when entering a record into the orderline table. That way brand name and description are included within the "description" field in the orderline table. Can anyone help me with this issue? Thanks Thanks. Matthew Villa From interchange-users@icdevgroup.org Tue Jan 7 16:21:02 2003 From: interchange-users@icdevgroup.org (Paul Jordan) Date: Tue Jan 7 16:21:02 2003 Subject: [ic] some praise where praise is due In-Reply-To: <000601c2b68a$7454ece0$ab7ba8c0@abhlaptop> Message-ID: > > > All too often we only hear complaints when things don't > go so well, and very little praise is given where it is due. > I thought I would put in my 2 cents worth to this list. > [snip] I wholeheartedly agree with Aaron, dittos to all that I snipped off his post :) Excellent environment to build in! Paul From interchange-users@icdevgroup.org Tue Jan 7 17:10:01 2003 From: interchange-users@icdevgroup.org (Thomas J.M. Burton) Date: Tue Jan 7 17:10:01 2003 Subject: [ic] some praise where praise is due References: <000601c2b68a$7454ece0$ab7ba8c0@abhlaptop> Message-ID: <00f401c2b699$2ee29d10$0b00a8c0@TJMB> > All too often we only hear complaints when things don't > go so well, and very little praise is given where it is due. ...snip... > Thanks again to all the people that have helped me > with various things through this list. > -- > Aaron I'm in complete agreement here too. To date I've developed a total of 17 Web sites driven by Minivend or Interchange. When we were first contracted to develop an e-commerce site, I spent a lot of time searching for a package that would allow the flexibility to completely customize and integrate the e-comm components with the rest of the site. Nothing came close to meeting my needs until I was introduced to Minivend. Not only is MV/IC flexible enough to be totally customized on the front end, but it's also robust enough to address any and every need that's come up in the variety of projects that I've used it for (from e-commerce catalog to a "virtual tour" of an artist's studio). As I've mentioned in other posts to this list, I'm not a programmer by trade. I'm trained in the graphic arts but have enough computer knowledge and experience to hack my way through customizing simple PERL scripts and the like (and I continue to learn). For several of the solutions I've developed to address the needs of various projects, I've taken my own approach and broken off of the paved MV/IC road. As I've worked more and more with IC, I've been learning every step of the way about the "right" and "wrong" ways to do things (with much appreciated help from Mike Heins, Kevin Walsh, and others on this list). My most recent projects involving IC forced me into using the existing features of the foundation catalog and admin component and now, based on what I've learned from those experiences, I've got a list of some improvements to make to the solutions I've developed in the past. True, IC's documentation could be improved -- and I'm sure it will be over time (it's difficult to document something of this caliber in the first place). True, there are some topics that people are frequently asking about but the answers lie buried or cannot be found. But all in all, Interchange is a great system and it more than meets my needs. All who have contributed to the development of Interchange and keeping it alive through all that's happened over the last few years deserve many thanks from all of us who make use of this system. And for those of you who have read this far, I thank you for hearing me out. I was going to write a quick response, but just couldn't express what I wanted to in so few words. Mike Heins, and all the rest, THANK YOU and keep up the great work! Sincerely, Tom Burton ___________________________________ Thomas J.M. Burton, Design/Production Global Focus Digital Media, LLC www.globalfocusdm.com [541] 342.5717 From interchange-users@icdevgroup.org Tue Jan 7 17:13:00 2003 From: interchange-users@icdevgroup.org (Alex) Date: Tue Jan 7 17:13:00 2003 Subject: [ic] Affiliate program? Message-ID: Has anyone developed an affiliate program for the newer version of Interchange? I have searched archives and recent newsletters and the only mentions are of people wanting to do one without a single mention of a complete one. To be clear I am not looking to integrate with a third party. We are looking into developing our own where we can offer quarterly payments through PayPal or monthly store credits. I have briefly played with the affiliate features in 4.9.2 but could not seem to get them to work as expected and could not find much in the way of help. Looking for something where customers can easily sign up with minimal interaction on our part. Any ideas or pointers for how others have gone about development of such a feature are greatly appreciated. Alex p.s. Anyone work out a wishlist/wedding registry feature either? From interchange-users@icdevgroup.org Tue Jan 7 18:22:00 2003 From: interchange-users@icdevgroup.org (Farshad Farzan) Date: Tue Jan 7 18:22:00 2003 Subject: [ic] Quantity/Retail/Wholesale Pricing Message-ID: <000001c2b6a3$767b6d00$ef0329d0@vl2k> I have set up IC 4.9.4, and the quantity pricing does not work ?? This was working fine for me in 4.9.3 !! I used the Demo site, and it seems that that does not work either..!! May be I am missing something ??? I am using the foundation store, with etc/after.cfg as supplied in the templates directory . The user was also set up as dealer.. !! In 4.9.3 we have price level !! and that does not show in 4.9.4 !! Thanks. Richard Farzan Intelligent Measurement, Inc. 16115 Wyandotte Street Van Nuys, CA 91406 Tel 818 901 6787 Fax 818 901 1787 From interchange-users@icdevgroup.org Tue Jan 7 18:32:01 2003 From: interchange-users@icdevgroup.org (Matthew Villa) Date: Tue Jan 7 18:32:01 2003 Subject: [ic] Cross-sell Message-ID: <001801c2b6a4$d4af1150$bb7ba8c0@webmaster> Hey everyone, I want to exclude featured and specials from the cross-sell box. I want to only display cross-sell products and no other type of promotions. Also, the customer should be able to add the product they viewing along with the cross-sell product to their cart. Any help would be appreciated. Thanks Matthew Villa From interchange-users@icdevgroup.org Tue Jan 7 22:16:01 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Tue Jan 7 22:16:01 2003 Subject: [ic] Adding Additional Info To orderline table References: <000301c2b692$046a21e0$bb7ba8c0@webmaster> Message-ID: <009301c2b6c3$01f1d8a0$0a01000a@badtzmaru.com> > I have a custom field within the products table called "brand." I need > to concatenate both fields "brand" and "description" from the products > table when entering a record into the orderline table. That way brand > name and description are included within the "description" field in the > orderline table. Can anyone help me with this issue? Thanks Sure, take a look at etc/log_transaction . That is where the entry into orderline is made, inside of an import block there. Jeff From interchange-users@icdevgroup.org Tue Jan 7 22:21:02 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Tue Jan 7 22:21:02 2003 Subject: [ic] Affiliate program? References: Message-ID: <00a101c2b6c3$5ee2e040$0a01000a@badtzmaru.com> > version of Interchange? I have searched archives and > recent newsletters and the only mentions are of people > wanting to do one without a single mention of a complete > one. I have a simple affiliate system running under IC but it only tracks traffic and sales. It doesn't handle signup (I manually enter the affiliates) and it doesn't track payouts. I think the issue is if you look at the level of functionality supported by a full-fledged affiliate system it's an application unto itself. Jeff From interchange-users@icdevgroup.org Tue Jan 7 22:38:00 2003 From: interchange-users@icdevgroup.org (Paul Jordan) Date: Tue Jan 7 22:38:00 2003 Subject: [ic] Adding Additional Info To orderline table In-Reply-To: <000301c2b692$046a21e0$bb7ba8c0@webmaster> Message-ID: > Hey everyone, > > I have a custom field within the products table called "brand." I need > to concatenate both fields "brand" and "description" from the products > table when entering a record into the orderline table. That way brand > name and description are included within the "description" field in the > orderline table. Can anyone help me with this issue? Thanks > > Thanks. > > Matthew Villa Assuming everything is done correctly, you could try in etc/log_transaction - description: [filter mac][item-description][/filter] + description: [filter mac][item-field brand]-[item-description][/filter] untested and HTH Paul From interchange-users@icdevgroup.org Tue Jan 7 23:14:01 2003 From: interchange-users@icdevgroup.org (Paul Jordan) Date: Tue Jan 7 23:14:01 2003 Subject: [ic] Affiliate program? In-Reply-To: Message-ID: > Has anyone developed an affiliate program for the newer > version of Interchange? I have searched archives and > recent newsletters and the only mentions are of people > wanting to do one without a single mention of a complete > one. > > To be clear I am not looking to integrate with a third > party. We are looking into developing our own where we can > offer quarterly payments through PayPal or monthly store > credits. > > I have briefly played with the affiliate features in 4.9.2 > but could not seem to get them to work as expected and > could not find much in the way of help. Looking for > something where customers can easily sign up with minimal > interaction on our part. Any ideas or pointers for how > others have gone about development of such a feature are > greatly appreciated. > > > Alex > > > p.s. Anyone work out a wishlist/wedding registry feature > either? Hi Alex, "Affiliates" is a pretty general term IMO. When I looked into setting up affiliates I looked at the demos stuff and was surprised to find that it wasn't more than area where other stores, or websites, can get credit for sending customers your way... that is unless I was not doing something right. I recently started on (my definition of) an affiliates interface called AFI (affiliate fulfillment Interface). It will be where a person can sell items on our website, but he will ship them out himself (and other scenarios). We take care of marketing, payment, website, etc etc, and they log into the AFI, and ship their products. They only see their relevant portion of the order. It is in it's very early stages, mostly just the initial shipment view page that weeds out their products and shows relevant order information. That is what I thought affiliates were :) anyways, I am on another project for right now, but still do a little work it in my spare time. The plans are growing into a place where they can input products into the database, but on (in a way) inactive, awaiting for admin approval. Mine will take a while because we also sell downloads so it must facilitate swapping files around safely and logically for admin review. Anyways, I am trying to get my taxes done right now, but after next week, I would be happy to share any code with anybody else who is implementing a similar affiliates facility. I believe I remember Jeff Dafoe commenting on the affiliates portion of IC, he made it seem like they logged into ADMIN, and were able to see/do all sorts of cool things... but I don't get that impression, because pages/affiliate is basically what I described in my first paragraph. But he seemed to think it was better than the type of bread that is sliced. He could be right, he is very knowledgeable (has a nice shop), either that or Mike Heins is secretly selling "Interchange XP" behind our backs ;) Also, I have a type of wishlist/registry I suppose. It is called a 'mediabox'. Customers can create an account, and places any item into their mediabox. They can Add, Delete, Name, Rename, Describe... their mediabox(s). Then, the item can be Copied, Moved, Deleted between the mediaboxes, and you can add multiple items to any mediabox all at once. The cool feature is you can 'invite' people into you mediabox, IOW we provide a facility called Client View, where the invited folks can input (1.original persons username, 2. box name, 3. arbitrary password) and then see all the persons choices. It is going to evolve to a collaboration area. Inviting people is automated in the accounts section. It is pretty cool. You need Mysql database, as one of the tables has a unique key spread over two columns, although it could probably be rewritten. I also heavily use SQL instead of IC imports. However I so so inside of the [query] tag, which I get the impression you don't need a mysql db to use in conjunction with. Anyways, I would be happy to share that as well, however it would take a while to get all portions together (about pages and two tables) and notes, and post as-is after next week. I say as-is because I don't have the time right now to pretty it up and make a tutorial. Sorry for the long post, let me know if there is any interest and I will get some stuff together next week. Also, if people want to see the media box, give me some lead time to make sure my development sites version is still functional, as I don't want bogus accounts on my live system. But hey, maybe between us all we could get a wishlist and other affiliate stuff going. e.g., The wishlist would need to be restructered for general non Mysql use... etc HTH Paul From interchange-users@icdevgroup.org Tue Jan 7 23:57:00 2003 From: interchange-users@icdevgroup.org (Matthew Villa) Date: Tue Jan 7 23:57:00 2003 Subject: [ic] Adding Additional Info To orderline table In-Reply-To: Message-ID: <000001c2b6d2$2b5bf770$bb7ba8c0@webmaster> > Assuming everything is done correctly, you could try in > etc/log_transaction > > > - description: [filter mac][item-description][/filter] > > + description: [filter mac][item-field brand]-[item-description][/filter] > I went ahead and made the change to the etc/log_transaction file. However, it didn't work. The field is called "brand" and is in the products table. I'm using mySQL as my RDBMS. When adding additional fields to the products, is there anything I should do after I altered my table in mySQL? I do issue a restart so IC can notice the column exists. Matthew From interchange-users@icdevgroup.org Wed Jan 8 01:33:00 2003 From: interchange-users@icdevgroup.org (Jon) Date: Wed Jan 8 01:33:00 2003 Subject: [ic] How to clear Value from Value Message-ID: <3E1BC5B5.ABBB9631@attglobal.net> IC 4.9.3 With the above line executed what is an easy way to clear "my_value" from "my_name" ?? Thank you. Jon From interchange-users@icdevgroup.org Wed Jan 8 01:49:01 2003 From: interchange-users@icdevgroup.org (Paul Jordan) Date: Wed Jan 8 01:49:01 2003 Subject: [ic] Adding Additional Info To orderline table In-Reply-To: <000001c2b6d2$2b5bf770$bb7ba8c0@webmaster> Message-ID: > > Assuming everything is done correctly, you could try in > > etc/log_transaction > > > > > > - description: [filter mac][item-description][/filter] > > > > + description: [filter mac][item-field > brand]-[item-description][/filter] > > > > I went ahead and made the change to the etc/log_transaction file. > However, it didn't work. The field is called "brand" and is in the > products table. I'm using mySQL as my RDBMS. > > When adding additional fields to the products, is there anything I > should do after I altered my table in mySQL? I do issue a restart so IC > can notice the column exists. > > Matthew hmm, I dunno. I AM able to pull an arbitrary field inside of the item_list on the demo cart on the devgroup site, but it seems I cannot do this either on my site, which is also using Mysql... I am using an OnFly routine, but I think it should still work, and I am 99% sure it works that way. You should be able to use: [item-field fieldname] [item-data table fieldname] inside of an item_list. hmmm. this catalog is on 4.9.3 (an old nightly_build), I will upgrade tomorrow and test it more. TIA Paul From interchange-users@icdevgroup.org Wed Jan 8 03:26:00 2003 From: interchange-users@icdevgroup.org (Jonathan Clark) Date: Wed Jan 8 03:26:00 2003 Subject: [ic] How to clear Value from Value In-Reply-To: <3E1BC5B5.ABBB9631@attglobal.net> Message-ID: <000601c2b6ef$7e0e4aa0$0b01a8c0@NT3078> > IC 4.9.3 > > > > With the above line executed what is an easy way to > clear "my_value" from "my_name" ?? ITL: [value name=my_name set=''] Embedded Perl: [perl] $Values->{my_name} = undef; [/perl] Jonathan www.webmaint.net From interchange-users@icdevgroup.org Wed Jan 8 03:35:01 2003 From: interchange-users@icdevgroup.org (Matthew Villa) Date: Wed Jan 8 03:35:01 2003 Subject: [ic] Adding Additional Info To orderline table In-Reply-To: Message-ID: <000a01c2b6f0$9ce67370$bb7ba8c0@webmaster> > hmm, I dunno. I AM able to pull an arbitrary field inside of the item_list > on the demo cart on the devgroup site, but it seems I cannot do this > either > on my site, which is also using Mysql... > > I am using an OnFly routine, but I think it should still work, and I am > 99% > sure it works that way. You should be able to use: > > [item-field fieldname] > [item-data table fieldname] > Thanks! That worked great. From interchange-users@icdevgroup.org Wed Jan 8 03:38:00 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Wed Jan 8 03:38:00 2003 Subject: [ic] How to clear Value from Value In-Reply-To: <3E1BC5B5.ABBB9631@attglobal.net> Message-ID: <000001c2b6f0$c50153c0$020110ac@majestic.cursor-software.co.uk> Jon [prtyof5@attglobal.net] wrote: > > > > With the above line executed what is an easy way to > clear "my_value" from "my_name" ?? > You could use the [value] tag's "set" parameter or, if you have a block of Perl nearby, you could delete the value from there. You may find the "Interchange Tags Reference" document useful here. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Wed Jan 8 08:58:00 2003 From: interchange-users@icdevgroup.org (Rich Kelly) Date: Wed Jan 8 08:58:00 2003 Subject: [ic] nmfc and shipping HELP! In-Reply-To: <000001c2b6f0$c50153c0$020110ac@majestic.cursor-software.co.uk> Message-ID: Hello group, I have created a product table column called nmfc and store the N.M.F.C freight classes for my inventory in it. However unlike other Shipping companies the Common Carriers that deal with this type of freight want up to 6 separate NMFC class numbers. So when I do my lookup up and build the Url for the lookup I need to pass the variable not as a total but as a concatenated string of some kind. I am having trouble figuring out where in IC to assign a "nmfcstringtotal" variable in or near the checkout.html file or even if it is there. Where can I create this new summary type variable and how to I concatenate it? Example: product qty $ weight nmfc(the field I added) A 10 3.50 50 77.5 B 5 2.50 100 65 C 25 3.00 300 100 D 10 4.00 100 60 =================================================== 50 13.00 $1 $2 The rules for weight in this case will be the same but I need to focus on the nmfc right now how in IC do I add the new items nmfc field in a way that it will come out as a string such as.. $2= ("77.5", "65", "100", "60") Once I figure out the nmfc I can figure out the separated weights. Do I need to create new tags with perl scripts? Where Do I assign+initialize the new temporary String Variable that will contain the $2 I will later need to break down $2 into separate variables in a perl script I know. But I cant figure out how to create the total string. I know that Once I can create $2 I just pass it via the shipping variables in shipping.asc.. not a problem System FreeBSD 4.7 Interchange 4.8.6 Current Perl Rich From interchange-users@icdevgroup.org Wed Jan 8 09:05:01 2003 From: interchange-users@icdevgroup.org (Jon) Date: Wed Jan 8 09:05:01 2003 Subject: [ic] How to clear Value from Value References: <000001c2b6f0$c50153c0$020110ac@majestic.cursor-software.co.uk> Message-ID: <3E1C2F0E.99FCB8C8@attglobal.net> > > > > > > > > With the above line executed what is an easy way to > > clear "my_value" from "my_name" ?? > > > You could use the [value] tag's "set" parameter or, if you have a > block of Perl nearby, you could delete the value from there. > > You may find the "Interchange Tags Reference" document useful here. > Thanks Kevin and Jonathan !! I will try those tonight. I did search through the tags reference a number of times but obviously wasn't searching on the right key words. "set" and "undef" who would have guessed :)) Jon From interchange-users@icdevgroup.org Wed Jan 8 12:15:01 2003 From: interchange-users@icdevgroup.org (Ian) Date: Wed Jan 8 12:15:01 2003 Subject: [ic] order profile not found References: Message-ID: <000c01c2b739$6a6ccf90$d701a8c0@w3itdev> On submitting an order via checkout.html, the following error is logged in the error log: /~catalogname/cgi-bin/cart.cgi/process.html Order profile order_profile not found Having gone through the mailing list and documentation, I am unable to see why. Here are some minimum settings I have applied to try to get it to work: In catalog.cfg:: OrderProfile etc/profiles.order Minimum etc/profiles.order __NAME__ order_profile fname=required lname=required address1=required city=required &fatal=yes &final=yes __END__ Relevant line in checkout.html: The result is that the checkout.html page is refreshed. No error messages are reflected on the refreshed page or missing text highlighted. All text fields on the form have an entry. Any help appreciated. Regards Ian From interchange-users@icdevgroup.org Wed Jan 8 12:44:01 2003 From: interchange-users@icdevgroup.org (Gerry Kirk) Date: Wed Jan 8 12:44:01 2003 Subject: [ic] How to add a subscriber-based reminder service? Message-ID: <1042047698.1281.36.camel@giesbrecht.redhat.org> I would like to add a piece of functionality that would invite users to sign up for a service that would remind them when it is time to replace worn-out parts on their vacuum. After signing up, they would receive a message after a specified duration reminding them to replace such-and-such, with a one-click link to buy the product on-line. The subscription portion would record which vacuum they own, the last time each particular part was replaced, possibly factors such as amount of use, then calculate a replacement interval and date of first replacement. A cron job would run daily to check the date of the next replacement against the current date, and send out reminders when the two are equal. The next replacement date would then be updated. Another idea would be to provide multiple links in the reminder email, to assess the consumer's course of action, something like: buy online remind me in 7 days no plans to buy anytime soon which would update replacement date records. I have no idea how that could be done yet, except that there would have to be a web page that would process the last two options. For the first item, a purchase of a replacement part should trigger when the next reminder should go out. So, my questions are: 1. how to provide a means for users to sign up? this could be part of an online account signup, but I'd also like to make it easy to sign up with minimal info 2. how to process the sign-up? 3. how to access the db via a cron job to email out the reminders? 4. how to process the links in the reminder email? Thanks, Gerry ________________________________________________________________________ Gerry Kirk IT consulting for positive change ph 705.759.8026 fax 780.401.3517 From interchange-users@icdevgroup.org Wed Jan 8 13:01:02 2003 From: interchange-users@icdevgroup.org (interchange-users@icdevgroup.org) Date: Wed Jan 8 13:01:02 2003 Subject: [ic] Shipping Multiple Boxes of various weights Message-ID: <1335.67.118.132.53.1042048813.squirrel@www.gs2designs.com> I know this subject has been beat to death, but I searched the archives and found some information on this subject, but most deal with multiple boxes of equal weight. I am shipping items in individual boxes, of various weights. The total weight can go over the 150 pound limit for UPS. I am only shipping via UPS, so I need to only query UPS for the shipping costs. Another problem is that a line item in my cart can have two boxes of equal weight, that will ship separately. I have modified the foundation demo, graphically, but used the underlying engine. In the products db, I have added "shipbox" that is the number of boxes for that item; 1 for one box, 2 for two boxes, etc. I want to calculate the shipping costs for each box for each line item in the shopping cart and show the total shipping cost in check_out.html. I want use the online query, not a table. I also need to make sure that the correct shipping costs are sent to my credit card service, authorize.net. I have everything working, except the shipping. When I get the shipping working, I can go online. I know I need to added an UserTag to the catalog.cfg file. I also need to call that tag in the appropriate locations. Can someone help me write this UserTag to calculate this correctly. Regards, Gregg Scott From interchange-users@icdevgroup.org Wed Jan 8 13:19:00 2003 From: interchange-users@icdevgroup.org (Darren) Date: Wed Jan 8 13:19:00 2003 Subject: [ic] 4.9.3 "ship status update failed" Solved! Message-ID: <000001c2b742$4863f4b0$1f02a8c0@DarrenPL> >>>>I just moved my store from my old server running IC 4.8.5 to a new >>>>server running IC 4.9.3 and now when I try to update the status of >>>>an > >>>>order via "Ship all lines -> Update the order" I get the following >>>>message in green on the Pending Orders page: >>>> >>>>Orderline 00000150-1 ship status update failed. >>>> >>>>Here is what is in my log file. >>>> >>>>24.103.254.107 nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:09 >>>>-0800] daboy /~daboy/cgi-bin/cart.cgi/admin/order Attempt to set >>>>slice of 00000150-1 in read-only table orderline 24.103.254.107 >>>>nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:36 -0800] daboy >>>>/~daboy/cgi-bin/cart.cgi/admin/order Attempt to set slice of >>>>00000150-1 in read-only table orderline 24.103.254.107 >>>>nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:47 -0800] daboy >>>>/~daboy/cgi-bin/cart.cgi/admin/order Attempt to set >>>>orderline::status::00000150-1 in read-only table 24.103.254.107 >>>>nsNTBLSU:24.103.254.107 - [04/January/2003:17:16:47 -0800] daboy >>>>/~daboy/cgi-bin/cart.cgi/admin/order Unable to send mail using >>>>/usr/lib/sendmail >>>> > Message follows: >>>> >>>> >>>>The status is changed to "shipped" just fine, but no ship_notice >>>>email is sent. My "transactions" table's order status updates to >>>>"shipped" just fine, but the status for each line item in the >>>>"orderline" table remains at "pending". >>>> >>>> >>>>I have found this exact problem posted by Grant on Nov. 12th but >>>>there was not solution. Can someone please help? >> >> I did have that exact same problem. The problem is with the >orderline table write >permission, which doesn't make any sense to me >since there is: >> >>[flag type=write tables="orderline transactions"] >> >>right in the order_status.html page. Does anyone know if this been >corrected since 4.9.3? It >seems like a bug that most people would run >into. What ended up happening with my catalog was >WRITE_CONTROL >statements were added to catalogs/ic493/dbconf/default_db/orderline.dbm >to make >the table "writable" all the time. I hope this isn't a >security problem. I would love to know >about a better solution if >anyone has one. >> >>- Grant > >It is not possible for me to upgrade IC. Can you tell me which >statements/line to add to dbconf/default_db/orderline.dbm to make the >table "writable" all the time? > > >Darren, > >You would probably want that file's contents to look like this: > >Database orderline orderline.txt TAB >Database orderline WRITE_CONTROL 1 >Database orderline WRITE_ALWAYS 1 > >Please do keep in mind that this makes the orderline table always writable. Also, if you're >using the SQL database instead of the default one, these instructions will need some adjustment. >Actually, isn't the SQL database writable all the time? > >- Grant Thanks Grant, It fixed my problem, no more "Orderline 00000150-1 ship status update failed." And now the email is being sent as well. Darren From interchange-users@icdevgroup.org Wed Jan 8 13:32:01 2003 From: interchange-users@icdevgroup.org (Kevin Old) Date: Wed Jan 8 13:32:01 2003 Subject: [ic] Shipping Options in CVS/Demo1 In-Reply-To: <1041911526.3e1a4ee6bfa38@webmail.hawk.com> References: <1041911526.3e1a4ee6bfa38@webmail.hawk.com> Message-ID: <1042050441.3223.59.camel@oc> Michael, What that means is that you haven't supplied a zip code yet for it to calculate. Put a zip code in the proper field, then hit the recalculate button. Kevin On Mon, 2003-01-06 at 22:52, Michael C. Ibarra wrote: > Greetings: > > Could someone please explain to me what the > following message above the "Shipping method" > on the "Checkout" page refers to? > > "Note: 1DA: Missing ConsigneePostalCode" > > Should the "Shipping method" drop button show > all methods which have been allowed? > > I am testing a cvs version of IC and am getting > the same results. > > Thanks, > > -mike > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users -- Kevin Old From interchange-users@icdevgroup.org Wed Jan 8 13:52:00 2003 From: interchange-users@icdevgroup.org (Michael C. Ibarra) Date: Wed Jan 8 13:52:00 2003 Subject: [ic] Shipping Options in CVS/Demo1 In-Reply-To: <1042050441.3223.59.camel@oc> References: <1041911526.3e1a4ee6bfa38@webmail.hawk.com> <1042050441.3223.59.camel@oc> Message-ID: <1042051368.3e1c7128f0778@webmail.hawk.com> Yes, I've figured this out after playing with it, thank you. Just out of curiousity, why aren't the shipping options placed on a separate page, after the ship-to info is entered? I realize that that I can do this on my own page, but by default, I believe that it should be a separate page as well. Also, I see that I can only select UPS Next day and 2nd Day, however I see under admin that other choices are enabled, is this broken, or am I doing something wrong? Thanks again, -mike Quoting Kevin Old : > Michael, > > What that means is that you haven't supplied a zip code yet for it to > calculate. Put a zip code in the proper field, then hit the recalculate > button. > > Kevin > On Mon, 2003-01-06 at 22:52, Michael C. Ibarra wrote: > > Greetings: > > > > Could someone please explain to me what the > > following message above the "Shipping method" > > on the "Checkout" page refers to? > > > > "Note: 1DA: Missing ConsigneePostalCode" > > > > Should the "Shipping method" drop button show > > all methods which have been allowed? > > > > I am testing a cvs version of IC and am getting > > the same results. > > > > Thanks, > > > > -mike > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@icdevgroup.org > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > -- > Kevin Old > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Wed Jan 8 14:12:00 2003 From: interchange-users@icdevgroup.org (John Wells) Date: Wed Jan 8 14:12:00 2003 Subject: [ic] php alternatives to interchange Message-ID: <43763.65.213.159.130.1042053055.squirrel@tidal> Guys, Just got a new client today for a web store and naturally wanted to use interchange. But for some unGodly reason the owner wants whatever solution I provide to be done in PHP. Is there anything out there written in PHP that even comes close to the functionality, security and maturity of IC? Thanks, John From interchange-users@icdevgroup.org Wed Jan 8 14:22:00 2003 From: interchange-users@icdevgroup.org (Andres) Date: Wed Jan 8 14:22:00 2003 Subject: [ic] php alternatives to interchange References: <43763.65.213.159.130.1042053055.squirrel@tidal> Message-ID: <3E1C7A4A.1050301@paglayan.com> you can try www.oscommerce.com but nothing is close to functionality, security, and etc, of IC, John Wells wrote: > Guys, > > Just got a new client today for a web store and naturally wanted to use > interchange. But for some unGodly reason the owner wants whatever > solution I provide to be done in PHP. From interchange-users@icdevgroup.org Wed Jan 8 14:26:02 2003 From: interchange-users@icdevgroup.org (D Zhang - msi) Date: Wed Jan 8 14:26:02 2003 Subject: [ic] How to add a subscriber-based reminder service? References: <1042047698.1281.36.camel@giesbrecht.redhat.org> Message-ID: <000b01c2b74b$44e53f20$0affff0a@msi5> > 1. how to provide a means for users to sign up? this could be part of an > online account signup, but I'd also like to make it easy to sign up with > minimal info add an option in mailing list in account record. > 2. how to process the sign-up? setup your userdb in mysql which can be queried later by a script run with cron job. > 3. how to access the db via a cron job to email out the reminders? setup your products and order db in mysql, write a script which can be called by cron job. > 4. how to process the links in the reminder email? write a script that will update your db records and bring up an order page when needed. Your customer will then make final decision on what and how many to order. It's a complete automation solution, interacting with interchange. David ----------------------- dzhang@msihosting.com http://www.msihosting.com -- Export in ecommerce solution and interchange hosting ----- Original Message ----- From: "Gerry Kirk" To: "interchange" Sent: Wednesday, January 08, 2003 12:41 PM Subject: [ic] How to add a subscriber-based reminder service? > I would like to add a piece of functionality that would invite users to > sign up for a service that would remind them when it is time to replace > worn-out parts on their vacuum. After signing up, they would receive a > message after a specified duration reminding them to replace > such-and-such, with a one-click link to buy the product on-line. > > The subscription portion would record which vacuum they own, the last > time each particular part was replaced, possibly factors such as amount > of use, then calculate a replacement interval and date of first > replacement. > > A cron job would run daily to check the date of the next replacement > against the current date, and send out reminders when the two are equal. > The next replacement date would then be updated. > > Another idea would be to provide multiple links in the reminder email, > to assess the consumer's course of action, something like: > > buy online > remind me in 7 days > no plans to buy anytime soon > > which would update replacement date records. I have no idea how that > could be done yet, except that there would have to be a web page that > would process the last two options. For the first item, a purchase of a > replacement part should trigger when the next reminder should go out. > > So, my questions are: > 1. how to provide a means for users to sign up? this could be part of an > online account signup, but I'd also like to make it easy to sign up with > minimal info > 2. how to process the sign-up? > 3. how to access the db via a cron job to email out the reminders? > 4. how to process the links in the reminder email? > > Thanks, > Gerry > > ________________________________________________________________________ > Gerry Kirk > IT consulting for positive change > > ph 705.759.8026 > fax 780.401.3517 > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > From interchange-users@icdevgroup.org Wed Jan 8 15:02:00 2003 From: interchange-users@icdevgroup.org (Farshad Farzan) Date: Wed Jan 8 15:02:00 2003 Subject: [ic] PC Text Editor and IC Message-ID: <000001c2b750$d6533840$ef0329d0@vl2k> I am running IC 4.9 on SME server. Since, I do the admin through my windows 2000 PC. , I often end up downloading and uploading files between the two. The problem lies when you end up editing files on the PC and uploading it to the IC.. I had a case of catalog.cfg being modified in the PC, and uploaded to IC., and I got all kinds of strange results.. I ran dos2unix on the file and uploaded it again and all the problems went away..!!! What is the best editor to use in the PC when you are working in IC? Richard Farzan Intelligent Measurement, Inc. 16115 Wyandotte Street Van Nuys, CA 91406 Tel 818 901 6787 Fax 818 901 1787 From interchange-users@icdevgroup.org Wed Jan 8 15:07:01 2003 From: interchange-users@icdevgroup.org (Bob Keyes) Date: Wed Jan 8 15:07:01 2003 Subject: [ic] php alternatives to interchange In-Reply-To: <43763.65.213.159.130.1042053055.squirrel@tidal> Message-ID: There's phpshop, but I had great difficulty with it and could not get it to run under Debian. On Wed, 8 Jan 2003, John Wells wrote: > Guys, > > Just got a new client today for a web store and naturally wanted to use > interchange. But for some unGodly reason the owner wants whatever > solution I provide to be done in PHP. > > Is there anything out there written in PHP that even comes close to the > functionality, security and maturity of IC? > > Thanks, > John > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Wed Jan 8 15:10:35 2003 From: interchange-users@icdevgroup.org (Gerry Kirk) Date: Wed Jan 8 15:10:35 2003 Subject: [ic] How to create mailing lists? Message-ID: <1042056316.1281.51.camel@giesbrecht.redhat.org> Hi, I see the functionality in the latest demo to craft content for an existing mailing list, but how does one create/delete/update the mailing lists themselves? I tried to find info on this by searching help and the mailing lists but failed. Thanks, Gerry -- Gerry Kirk IT consulting for positive change ph 705.759.8026 fax 780.401.3517 From interchange-users@icdevgroup.org Wed Jan 8 15:14:00 2003 From: interchange-users@icdevgroup.org (Gerry Kirk) Date: Wed Jan 8 15:14:00 2003 Subject: [ic] How to add a subscriber-based reminder service? In-Reply-To: <000b01c2b74b$44e53f20$0affff0a@msi5> References: <1042047698.1281.36.camel@giesbrecht.redhat.org> <000b01c2b74b$44e53f20$0affff0a@msi5> Message-ID: <1042056688.1281.58.camel@giesbrecht.redhat.org> On Wed, 2003-01-08 at 14:22, D Zhang - msi wrote: > > 1. how to provide a means for users to sign up? this could be part of an > > online account signup, but I'd also like to make it easy to sign up with > > minimal info > > add an option in mailing list in account record. > Can you elaborate? Do you mean create a field called mailing_list or something? What if users can sign up for multiple mailing lists? Would I have to create a column each time? I'm wondering how to actually record the sign-up, i.e. what code is needed. Then, once stored, to send a confirmation email message and also display something on the screen. I need a little more depth! > > > 3. how to access the db via a cron job to email out the reminders? > > setup your products and order db in mysql, write a script which can be > called by cron job. > Fair enough. I see in the latest version, one can download a script to do this. > > > 4. how to process the links in the reminder email? > > write a script that will update your db records and bring up an order page > when needed. Your customer will then make final decision on what and how > many to order. > Some suggestions for developing such a script? > It's a complete automation solution, interacting with interchange. > Sure. It'll be nice when it's done. As a newbie, I'm still feeling my way in the dark, though. - Gerry > > David > ----------------------- ________________________________________________________________________ Gerry Kirk IT consulting for positive change ph 705.759.8026 fax 780.401.3517 From interchange-users@icdevgroup.org Wed Jan 8 15:19:00 2003 From: interchange-users@icdevgroup.org (Gerry Kirk) Date: Wed Jan 8 15:19:00 2003 Subject: [ic] PC Text Editor and IC In-Reply-To: <000001c2b750$d6533840$ef0329d0@vl2k> References: <000001c2b750$d6533840$ef0329d0@vl2k> Message-ID: <1042056837.1281.61.camel@giesbrecht.redhat.org> On Wed, 2003-01-08 at 15:02, Farshad Farzan wrote: > What is the best editor to use in the PC when you are working in IC? > Jedit is a great cross-platform Java editor. www.jedit.org You can use it for spell-checking, converting DOS/UNIX formats, etc. Lots of plugins and syntax highlighting for several languages. - Gerry > Richard Farzan ________________________________________________________________________ Gerry Kirk IT consulting for positive change ph 705.759.8026 fax 780.401.3517 From interchange-users@icdevgroup.org Wed Jan 8 15:24:01 2003 From: interchange-users@icdevgroup.org (Rene Hertell) Date: Wed Jan 8 15:24:01 2003 Subject: [ic] PC Text Editor and IC In-Reply-To: <000001c2b750$d6533840$ef0329d0@vl2k> Message-ID: > What is the best editor to use in the PC when you are working in IC? Macromedia HomeSite is the best editor. I could not imagine myself using anything else on the windows front except Notepad :) Regards Rene From interchange-users@icdevgroup.org Wed Jan 8 15:29:00 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Wed Jan 8 15:29:00 2003 Subject: [ic] php alternatives to interchange References: <43763.65.213.159.130.1042053055.squirrel@tidal> Message-ID: <001501c2b753$0b2d9360$0a01000a@badtzmaru.com> > Is there anything out there written in PHP that even comes close to the > functionality, security and maturity of IC? If you are talking about the default Foundation implementation of Intechange there are PHP packages which come close to that functionality and security. They do not come close in flexibility or scalability, however. Remember that Interchange is a platform for dynamically-driven web sites and Foundation is its reference ecommerce implementation. At the bare minimum, IC is a preforked perl interpreter with some handy session stuff, at the most its a serious platform on which you can build solutions similar to what you could build with six-and-seven-digit solutions like ATG commerce or Broadvision One-To-One. You can't really compare IC to a php cart, only the Foundation implementation can be used for that comparison. Jeff From interchange-users@icdevgroup.org Wed Jan 8 15:32:41 2003 From: interchange-users@icdevgroup.org (Thomas J.M. Burton) Date: Wed Jan 8 15:32:41 2003 Subject: [ic] PC Text Editor and IC References: <000001c2b750$d6533840$ef0329d0@vl2k> Message-ID: <00dc01c2b754$4e756ed0$0b00a8c0@TJMB> > I am running IC 4.9 on SME server. > Since, I do the admin through my windows 2000 PC. , I often end up > downloading and uploading files between the two. > > The problem lies when you end up editing files on the PC and uploading > it to the IC.. > > I had a case of catalog.cfg being modified in the PC, and uploaded to > IC., and I got all kinds of strange results.. I ran dos2unix on the file > and uploaded it again and all the problems went away..!!! > > What is the best editor to use in the PC when you are working in IC? I don't know about the *best* editor to use, but I've been pretty happy with GWD Text editor (www.gwdsoft.com). -Tom ___________________________________ Thomas J.M. Burton, Design/Production Global Focus Digital Media, LLC www.globalfocusdm.com [541] 342.5717 From interchange-users@icdevgroup.org Wed Jan 8 15:37:00 2003 From: interchange-users@icdevgroup.org (Grant) Date: Wed Jan 8 15:37:00 2003 Subject: [ic] PC Text Editor and IC In-Reply-To: <000001c2b750$d6533840$ef0329d0@vl2k> Message-ID: >I am running IC 4.9 on SME server. >Since, I do the admin through my windows 2000 PC. , I often end up >downloading and uploading files between the two. > >The problem lies when you end up editing files on the PC and uploading >it to the IC.. > >I had a case of catalog.cfg being modified in the PC, and uploaded to >IC., and I got all kinds of strange results.. I ran dos2unix on the file >and uploaded it again and all the problems went away..!!! > >What is the best editor to use in the PC when you are working in IC? > >Richard Farzan I use GWD Text Editor and it has an option to save in Unix format every time you save a file. I know a few other Windows editor programs also have this option. Also, I started a thread about code editors in general a while back. There's a lot of good info in there. It was called "How do you write your code?" - Grant From interchange-users@icdevgroup.org Wed Jan 8 15:41:00 2003 From: interchange-users@icdevgroup.org (Rene Hertell) Date: Wed Jan 8 15:41:00 2003 Subject: [ic] PC Text Editor and IC In-Reply-To: <1042056837.1281.61.camel@giesbrecht.redhat.org> Message-ID: > > What is the best editor to use in the PC when you are working in IC? > > > Jedit is a great cross-platform Java editor. www.jedit.org You can use > it for spell-checking, converting DOS/UNIX formats, etc. Lots of plugins > and syntax highlighting for several languages. If you need Interchange syntax-highlighting for jEdit, then check out this message: http://www.icdevgroup.org/pipermail/interchange-users/2002-October/028057.ht ml Ren From interchange-users@icdevgroup.org Wed Jan 8 15:45:01 2003 From: interchange-users@icdevgroup.org (Brendan Crosser-McGay) Date: Wed Jan 8 15:45:01 2003 Subject: [ic] PC Text Editor and IC In-Reply-To: <000001c2b750$d6533840$ef0329d0@vl2k> Message-ID: The BEST editor, least resources, most features I've seen is Crimson Editor.. http://www.crimsoneditor.com/ Hands Down.. :) -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Farshad Farzan Sent: Wednesday, January 08, 2003 12:02 PM To: interchange-users@icdevgroup.org Subject: [ic] PC Text Editor and IC I am running IC 4.9 on SME server. Since, I do the admin through my windows 2000 PC. , I often end up downloading and uploading files between the two. The problem lies when you end up editing files on the PC and uploading it to the IC.. I had a case of catalog.cfg being modified in the PC, and uploaded to IC., and I got all kinds of strange results.. I ran dos2unix on the file and uploaded it again and all the problems went away..!!! What is the best editor to use in the PC when you are working in IC? Richard Farzan Intelligent Measurement, Inc. 16115 Wyandotte Street Van Nuys, CA 91406 Tel 818 901 6787 Fax 818 901 1787 _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Wed Jan 8 15:54:00 2003 From: interchange-users@icdevgroup.org (John Wells) Date: Wed Jan 8 15:54:00 2003 Subject: [ic] php alternatives to interchange In-Reply-To: <001501c2b753$0b2d9360$0a01000a@badtzmaru.com> References: <43763.65.213.159.130.1042053055.squirrel@tidal> <001501c2b753$0b2d9360$0a01000a@badtzmaru.com> Message-ID: <54583.65.213.159.130.1042059208.squirrel@tidal> Jeff, Agreed. I should have been more clear. Yes, Foundation is what they are after. Thanks for your input. John From interchange-users@icdevgroup.org Wed Jan 8 16:14:00 2003 From: interchange-users@icdevgroup.org (interch) Date: Wed Jan 8 16:14:00 2003 Subject: [ic] UPS References: <000601c2b673$b5cb9eb0$1e01a8c0@mrblondelaptop> <003101c2b686$f92639a0$0a01000a@badtzmaru.com> Message-ID: <005f01c2b75a$d4b88f80$0600a8c0@chris2> Actually the entire ups online calculation stuff should be redone. THe current implementation violates the ups license for one thing, and secondly it has been replaced long ago by a new set of ups online tools that can provide the same functionality as the Business::UPS module. The new ups online tools also provide a lot of other features as well such as address verification, tracking, and being able to actually send ship orders to ups. I will be writing a usertag for the new ups tools sometime in the next couple of weeks. I don't feel comfortable using the outdated code anymore when we have several hundred clients using it. Unless the ups license forbids using an open source license for the code, I will post it once it's done. Chris ----- Original Message ----- From: "Jeff Dafoe" To: Sent: Tuesday, January 07, 2003 11:57 AM Subject: Re: [ic] UPS > > Has anyone figured out the UPS problem that Brendan pointed out above? > > Is the problem with not getting data for Ground on UPS' end? > > Put some debug code in UPS.pm and see what the UPS server is returning. > > > Jeff > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Wed Jan 8 16:27:59 2003 From: interchange-users@icdevgroup.org (Aaron Hazelton) Date: Wed Jan 8 16:27:59 2003 Subject: [ic] PC Text Editor and IC In-Reply-To: Message-ID: <000101c2b75c$b6dd0ed0$ab7ba8c0@abhlaptop> Brendan Crosser-McGay wrote: > > The BEST editor, least resources, most features I've seen is Crimson > Editor.. http://www.crimsoneditor.com/ > Hands Down.. :) > I am starting to use that one too and like it quite well. I was just about to look into the setup of the config files so that the highlighting might show IC tags a little better. Have you or do you know anyone that has done such for Crimson? Thanks -- Aaron From interchange-users@icdevgroup.org Wed Jan 8 16:34:01 2003 From: interchange-users@icdevgroup.org (Josh Lavin) Date: Wed Jan 8 16:34:01 2003 Subject: [ic] PC Text Editor and IC In-Reply-To: <000001c2b750$d6533840$ef0329d0@vl2k> Message-ID: <20E95072-2350-11D7-9212-0030654BBC4C@kdw.us> > What is the best editor to use in the PC when you are working in IC? Emacs is also available for PC and Mac OS X. Josh From interchange-users@icdevgroup.org Wed Jan 8 16:38:00 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Wed Jan 8 16:38:00 2003 Subject: [ic] How to create mailing lists? In-Reply-To: <1042056316.1281.51.camel@giesbrecht.redhat.org>; from gerry_kirk@alumni.uwaterloo.ca on Wed, Jan 08, 2003 at 03:05:16PM -0500 References: <1042056316.1281.51.camel@giesbrecht.redhat.org> Message-ID: <20030108163631.A31082@bill.heins.net> Quoting Gerry Kirk (gerry_kirk@alumni.uwaterloo.ca): > Hi, > > I see the functionality in the latest demo to craft content for an > existing mailing list, but how does one create/delete/update the mailing > lists themselves? > > I tried to find info on this by searching help and the mailing lists but > failed. You weren't thinking of using Interchange to arbitrarily send email to people who didn't specifically request it, I presume. 8-) I wouldn't like it to be used in that way. WRT what is there, people automatically add themselves to them as they check out, providing you have the mail list functionality enabled on the checkout page. You can do that by setting the variable CHECKOUT_MAIL_LIST in catalog.cfg or variable.txt. The actual checkout page code is now in include/checkout/mailing_status in the foundation demo. I can't remember if the mail list adder is enabled by default. Since you ask the question, I presume it is not... nope. I just added it to the "Mailings" preference area. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Just because something is obviously happening doesn't mean something obvious is happening. --Larry Wall From interchange-users@icdevgroup.org Wed Jan 8 16:48:01 2003 From: interchange-users@icdevgroup.org (Kevin Old) Date: Wed Jan 8 16:48:01 2003 Subject: [ic] Shipping Options in CVS/Demo1 In-Reply-To: <1042051368.3e1c7128f0778@webmail.hawk.com> References: <1041911526.3e1a4ee6bfa38@webmail.hawk.com> <1042050441.3223.59.camel@oc> <1042051368.3e1c7128f0778@webmail.hawk.com> Message-ID: <1042062198.3226.92.camel@oc> Mike, On Wed, 2003-01-08 at 13:42, Michael C. Ibarra wrote: > Yes, I've figured this out after playing with it, thank you. > Just out of curiousity, why aren't the shipping options placed > on a separate page, after the ship-to info is entered? I > realize that that I can do this on my own page, but by default, > I believe that it should be a separate page as well. My thoughts exactly, but I didn't write the demo....maybe when I get something worthy of 'demo' status I'll add it to the additional demo's page. > > > Also, I see that I can only select UPS Next day and 2nd Day, > however I see under admin that other choices are enabled, is this > broken, or am I doing something wrong? Using the UI, you need to actually edit the shipping item you want displayed and select a country or countries for it to be associated with. In the UI select Items->Item Editor->Shipping then select the type of shipping that you'd like added to the drop down and click the "Edit method" button. Once in edit mode, select a country or countries from the list, then click the finish button and Apply Changes. Then refresh your checkout page and you should see the additional entry. HTH, Kevin > > Thanks again, > > -mike > > Quoting Kevin Old : > > > Michael, > > > > What that means is that you haven't supplied a zip code yet for it to > > calculate. Put a zip code in the proper field, then hit the recalculate > > button. > > > > Kevin > > On Mon, 2003-01-06 at 22:52, Michael C. Ibarra wrote: > > > Greetings: > > > > > > Could someone please explain to me what the > > > following message above the "Shipping method" > > > on the "Checkout" page refers to? > > > > > > "Note: 1DA: Missing ConsigneePostalCode" > > > > > > Should the "Shipping method" drop button show > > > all methods which have been allowed? > > > > > > I am testing a cvs version of IC and am getting > > > the same results. > > > > > > Thanks, > > > > > > -mike > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@icdevgroup.org > > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > -- > > Kevin Old > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@icdevgroup.org > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users -- Kevin Old From interchange-users@icdevgroup.org Wed Jan 8 16:52:00 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Wed Jan 8 16:52:00 2003 Subject: [ic] UPS References: <000601c2b673$b5cb9eb0$1e01a8c0@mrblondelaptop> <003101c2b686$f92639a0$0a01000a@badtzmaru.com> <005f01c2b75a$d4b88f80$0600a8c0@chris2> Message-ID: <009e01c2b75e$c102f300$0a01000a@badtzmaru.com> > Unless the ups license forbids using an open source license for the code I believe that the UPS license is indeed why we see no further development for any of the online UPS tools. Jeff From interchange-users@icdevgroup.org Wed Jan 8 16:59:00 2003 From: interchange-users@icdevgroup.org (Kevin Old) Date: Wed Jan 8 16:59:00 2003 Subject: [ic] Shipping Multiple Boxes of [same] weights In-Reply-To: <1335.67.118.132.53.1042048813.squirrel@www.gs2designs.com> References: <1335.67.118.132.53.1042048813.squirrel@www.gs2designs.com> Message-ID: <1042062856.3222.102.camel@oc> Gregg, Any idea exactly what you searched for in the archives to get those results. I'm trying to do exactly what you found in the archives. All my products are .5lb and UPS requires a minimum of 2lbs for any shippment. I need to specify that if the total weight of an order is under 2lbs to charge a minimum of $6.16, other than that, take the total weight of the order and query the UPS database. Here's my shipping.asc snip GNDRES UPS Ground Residential weight 0 0 e Nothing to ship! {'origin' => "29708",'ui_ship_type' => "UPSE:GNDRES",'ups' => "1",'at_le ast' => "6.16",'round' => "1",'PriceDivide' => "1",} GNDRES UPS Ground Residential weight 0 150 f [ups-query mode=GNDRES weight="@@TOTAL@@" origin="29708"] Any help you can offer is appreciated... Thanks, Kevin On Wed, 2003-01-08 at 13:00, gscott@gs2designs.com wrote: > I know this subject has been beat to death, but I searched the archives > and found some information on this subject, but most deal with multiple > boxes of equal weight. > > I am shipping items in individual boxes, of various weights. The total > weight can go over the 150 pound limit for UPS. I am only shipping via > UPS, so I need to only query UPS for the shipping costs. Another problem > is that a line item in my cart can have two boxes of equal weight, that > will ship separately. > > I have modified the foundation demo, graphically, but used the underlying > engine. In the products db, I have added "shipbox" that is the number of > boxes for that item; 1 for one box, 2 for two boxes, etc. > > I want to calculate the shipping costs for each box for each line item in > the shopping cart and show the total shipping cost in check_out.html. I > want use the online query, not a table. I also need to make sure that the > correct shipping costs are sent to my credit card service, authorize.net. > I have everything working, except the shipping. When I get the shipping > working, I can go online. > > I know I need to added an UserTag to the catalog.cfg file. I also need to > call that tag in the appropriate locations. > > Can someone help me write this UserTag to calculate this correctly. > > Regards, > Gregg Scott > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users -- Kevin Old From interchange-users@icdevgroup.org Wed Jan 8 17:11:01 2003 From: interchange-users@icdevgroup.org (ICDEV) Date: Wed Jan 8 17:11:01 2003 Subject: [ic] Shipping Multiple Boxes of [same] weights In-Reply-To: <1042062856.3222.102.camel@oc> Message-ID: >> Gregg, Any idea exactly what you searched for in the archives to get those results. I'm trying to do exactly what you found in the archives. All my products are .5lb and UPS requires a minimum of 2lbs for any shippment. I need to specify that if the total weight of an order is under 2lbs to charge a minimum of $6.16, other than that, take the total weight of the order and query the UPS database. Here's my shipping.asc snip GNDRES UPS Ground Residential weight 0 0 e Nothing to ship! {'origin' => "29708",'ui_ship_type' => "UPSE:GNDRES",'ups' => "1",'at_le ast' => "6.16",'round' => "1",'PriceDivide' => "1",} GNDRES UPS Ground Residential weight 0 150 f [ups-query mode=GNDRES weight="@@TOTAL@@" origin="29708"] Any help you can offer is appreciated... Thanks, Kevin << Some good information here on shipping: http://interchangeville.com/forum/viewforum.php?f=33 -Steve From interchange-users@icdevgroup.org Wed Jan 8 17:48:00 2003 From: interchange-users@icdevgroup.org (Gerry Kirk) Date: Wed Jan 8 17:48:00 2003 Subject: [ic] How to create mailing lists? In-Reply-To: <20030108163631.A31082@bill.heins.net> References: <1042056316.1281.51.camel@giesbrecht.redhat.org> <20030108163631.A31082@bill.heins.net> Message-ID: <1042066012.1460.82.camel@giesbrecht.redhat.org> On Wed, 2003-01-08 at 16:36, Mike Heins wrote: > Quoting Gerry Kirk (gerry_kirk@alumni.uwaterloo.ca): > > Hi, > > > > I see the functionality in the latest demo to craft content for an > > existing mailing list, but how does one create/delete/update the mailing > > lists themselves? > > > > I tried to find info on this by searching help and the mailing lists but > > failed. > > You weren't thinking of using Interchange to arbitrarily send email > to people who didn't specifically request it, I presume. 8-) I wouldn't > like it to be used in that way. > Of course not.Just those who are dying to buy my client's products. :) > WRT what is there, people automatically add themselves to them as they > check out, providing you have the mail list functionality enabled on the > checkout page. You can do that by setting the variable > CHECKOUT_MAIL_LIST in catalog.cfg or variable.txt. > Only at checkout is possible? What if I want users to be able to sign up from the home page, without buying anything? Or when submitting an email via a form? > The actual checkout page code is now in include/checkout/mailing_status > in the foundation demo. I can't remember if the mail list adder is > enabled by default. Since you ask the question, I presume it is not... > nope. I just added it to the "Mailings" preference area. I'm still not clear on how to create the mailing lists via the admin pages. Does it have to be done by editing files directly? Thanks, Gerry ________________________________________________________________________ Gerry Kirk IT consulting for positive change ph 705.759.8026 fax 780.401.3517 From interchange-users@icdevgroup.org Wed Jan 8 17:53:00 2003 From: interchange-users@icdevgroup.org (Gerry Kirk) Date: Wed Jan 8 17:53:00 2003 Subject: [ic] Survey: Expectations for ongoing support Message-ID: <1042066368.1281.88.camel@giesbrecht.redhat.org> This being my first e-commerce project, I'm wondering what to expect in the amount of on-going support and what to charge for it. I'm working on a relatively simple site for the moment. There will be a product catalog of about 300 items that won't change much. In addition, there are about 500 accessories. Features include mailing lists, a parts replacement reminder service, FAQs. Please post through the group, or e-mail me directly. I promise not to divulge anything if requested. Thanks, Gerry ________________________________________________________________________ Gerry Kirk IT consulting for positive change ph 705.759.8026 fax 780.401.3517 From interchange-users@icdevgroup.org Wed Jan 8 19:04:00 2003 From: interchange-users@icdevgroup.org (Chris Tooley) Date: Wed Jan 8 19:04:00 2003 Subject: [ic] Accepting payment type on per-user basis Message-ID: <1042070614.15557.1.camel@chris> I want to be able to set up a method for accepting Purchase Orders from authorized users. I'm assuming that means that I'm going to have to add something to the standard foundation store, correct? If anyone has done this I would greatly appreciate some guidance. Chris Tooley From interchange-users@icdevgroup.org Wed Jan 8 19:11:01 2003 From: interchange-users@icdevgroup.org (Roland Berg) Date: Wed Jan 8 19:11:01 2003 Subject: [ic] Content editor not working! Message-ID: <002201c2b772$b7e30b20$0200a8c0@bergs> Hi, Can anybody tell me what's wrong? Since I got the new Interchange admin, it is impossible to Edit the pages in Content. I select an element to the left, but absolutely nothing happens in the Edit area. Other section, as Products and Design works well. Roland Berg From interchange-users@icdevgroup.org Wed Jan 8 19:29:00 2003 From: interchange-users@icdevgroup.org (Gary E. Miller) Date: Wed Jan 8 19:29:00 2003 Subject: [ic] Content editor not working! In-Reply-To: <002201c2b772$b7e30b20$0200a8c0@bergs> References: <002201c2b772$b7e30b20$0200a8c0@bergs> Message-ID: Yo Roland! I had the same problem. The "OK" button is getting lost at the botton. Stretch your browser VERY high until you are seeing the absolute bottom of the edit box and the buttons below. RGDS GARY --------------------------------------------------------------------------- Gary E. Miller Rellim 20340 Empire Blvd, Suite E-3, Bend, OR 97701 gem@rellim.com Tel:+1(541)382-8588 Fax: +1(541)382-8676 On Thu, 9 Jan 2003, Roland Berg wrote: > Can anybody tell me what's wrong? > Since I got the new Interchange admin, it is > impossible to Edit the pages in Content. > I select an element to the left, but absolutely > nothing happens in the Edit area. > Other section, as Products and Design works well. From interchange-users@icdevgroup.org Wed Jan 8 20:02:00 2003 From: interchange-users@icdevgroup.org (Ashtanga Yogi) Date: Wed Jan 8 20:02:00 2003 Subject: [ic] who is supposed to run bin/makecat? Message-ID: I installed Interchange from interchange-4.8.6.tar.gz via configure with no args as the root user. However, then I wanted to run "bin/makecat". But some aspects of this program seem more oriented towards a normal user and others oriented towards root. For example, BaseDir defaults to ~/catalogs, which of course would mean that some data entry/marketing expert might type bin/makecat and be own his way. However, doing this, leads to problems that can only be solved by running as root: ImageUrl? /terrences_catalog/images Unable to write temp config file /usr/local/interchange/etc/makecat.cfg.new: Permission denied at bin/makecat line 1176 Interchange can use either UNIX- or internet-domain sockets. Most ISPs would prefer UNIX mode, and it is more secure. If you already have a program there, or use a common program and the FullURL directive, select NONE. You will then need to copy the program by hand or otherwise ensure its presence. (You can use the up/down arrows to toggle). INET or UNIX mode? UNIX Do you use CGIWRAP or SUEXEC? n ./configure: line 413: ./config.log: No such file or directory Couldn't run configure; probably no C compiler. Couldn't find the executable file 'vlink'. Please give the complete path to the link program. warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory warning: You need to run the 'updatedb' command (as root) to create the database. _____________________________________________________________ Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year. http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus From interchange-users@icdevgroup.org Wed Jan 8 22:59:01 2003 From: interchange-users@icdevgroup.org (ACforSale Inc Sales Team) Date: Wed Jan 8 22:59:01 2003 Subject: [ic] Help required for stupid error In-Reply-To: Message-ID: <002501c2b793$50db9ac0$0b00a8c0@CCS> I hope this is possible to fix: I accidentally changed the SERVER_NAME variable in the variable table to include http:// at the start and now I can get into my IC at all, running IC 4.9.6 on shared hosting with cPanel When ever I try to login or use the store it comes up http://http://..... this is driving me crazy as it now means the store cannot be accessed either through admin or customers. I can't edit the file variable.gdbm (which I think is where the problem is) Can anyone help me out on this Gerry From interchange-users@icdevgroup.org Thu Jan 9 00:10:01 2003 From: interchange-users@icdevgroup.org (Kevin Old) Date: Thu Jan 9 00:10:01 2003 Subject: [ic] Help printing a interchange variable (or whatever it's called) Message-ID: <1042088699.3304.21.camel@oc> Hello all, I am trying to get some basics down with the ITL and am having little luck. I'm a very experience Perl programmer and am getting frustrated cause I'm not fully understanding the basics of the ITL. Here's an example - printing a variable.... This code is in checkout.html [if-item-field weight] [seti weight][summary amount=`[item-quantity] * [item-field weight]`][/seti] [/if-item-field] Now, how do I get the *total* weight printed? I know how to print each item's weight, I just write: [item-field weight] I've tried all sorts of things to get the weight variable in the "seti" tag to be printed. And yes, I do have the weight field with a valid value for all of the products in my database and I can get each of them to be printed with the product info, but I need a total of all products weight. I seriously have looked at all the documentation and am at a loss on several basic things like this.... Can anyone provide syntax for a few basic features like printing variables (or whatever the interchange term is for something that holds a value), and other useful pieces that would make the ITL a little easier to get into? Any help would be appreciated! Thanks, Kevin -- Kevin Old From interchange-users@icdevgroup.org Thu Jan 9 01:05:01 2003 From: interchange-users@icdevgroup.org (D Zhang - msi) Date: Thu Jan 9 01:05:01 2003 Subject: [ic] Help required for stupid error References: <002501c2b793$50db9ac0$0b00a8c0@CCS> Message-ID: <005b01c2b7a4$cfb8a7a0$0affff0a@msi5> edit at variable.txt. If it doesn't reloading automatically, do a reconfiguration at command line. David ---------------------------- dzhang@msihosting.com http://www.msihosting.com -- Export in ecommerce solution, interchange hosting. ----- Original Message ----- From: "ACforSale Inc Sales Team" To: Sent: Wednesday, January 08, 2003 10:58 PM Subject: [ic] Help required for stupid error > I hope this is possible to fix: > I accidentally changed the SERVER_NAME variable in the variable table to > include http:// at the start and now I can get into my IC at all, > running IC 4.9.6 on shared hosting with cPanel > > When ever I try to login or use the store it comes up > http://http://..... this is driving me crazy as it now means the store > cannot be accessed either through admin or customers. > > I can't edit the file variable.gdbm (which I think is where the problem > is) > > Can anyone help me out on this > > Gerry > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > From interchange-users@icdevgroup.org Thu Jan 9 01:22:00 2003 From: interchange-users@icdevgroup.org (ACforSale Inc Sales Team) Date: Thu Jan 9 01:22:00 2003 Subject: [ic] Help required for stupid error In-Reply-To: <005b01c2b7a4$cfb8a7a0$0affff0a@msi5> Message-ID: <003601c2b7a7$5bdfa4c0$0b00a8c0@CCS> On Behalf Of D Zhang - msi edit at variable.txt. If it doesn't reloading automatically, do a reconfiguration at command line. David ---------------------------- Original post below::: Thanks David, I have already edited variable.txt and put in the correct variable for SERVER_NAME but I'm not sure what I need to do at the command line Gerry ----- Original Message ----- From: "ACforSale Inc Sales Team" To: Sent: Wednesday, January 08, 2003 10:58 PM Subject: [ic] Help required for stupid error > I hope this is possible to fix: > I accidentally changed the SERVER_NAME variable in the variable table > to include http:// at the start and now I can get into my IC at all, > running IC 4.9.6 on shared hosting with cPanel > > When ever I try to login or use the store it comes up > http://http://..... this is driving me crazy as it now means the store > cannot be accessed either through admin or customers. > > I can't edit the file variable.gdbm (which I think is where the > problem > is) > > Can anyone help me out on this > > Gerry From interchange-users@icdevgroup.org Thu Jan 9 01:29:01 2003 From: interchange-users@icdevgroup.org (Tim Stoakes) Date: Thu Jan 9 01:29:01 2003 Subject: [ic] makecat error Message-ID: <20030109165753.105a2688.tim@ehost.com.au> Hi All, I am trying to run makecat and am getting Can't read config file /usr/local/ic/etc/makecat.cfg: No such file or directory even though that file is clearly there and readable. Is this a known error? I am using an old version of IC in early 4.x series. This used to work, and I'm sure I haven't done anything to break it. It seems tht the IniConf object is coming back as null when it is created. Any suggestions are greatly appreciated, thanks. Tim From interchange-users@icdevgroup.org Thu Jan 9 01:54:00 2003 From: interchange-users@icdevgroup.org (D Zhang - msi) Date: Thu Jan 9 01:54:00 2003 Subject: [ic] Help required for stupid error References: <003601c2b7a7$5bdfa4c0$0b00a8c0@CCS> Message-ID: <000901c2b7ab$96409260$0affff0a@msi5> The following is copied from the ic doc: User Reconfiguration Documentation index | Contents | Previous Topic | Next Topic User Reconfiguration The individual catalogs can be reconfigured by the user by running the [reconfig] support tag. This should be protected by one of the several forms of Interchange authentication, preferably by HTTP basic authorization. See RemoteUser. The command line can be reconfigured (as the Interchange user) with: VENDROOT/bin/interchange -reconfig It is easy for the administrator to manually reconfigure a catalog. Interchange simply looks for a file etc/reconfig (based in the Interchange software directory) at HouseKeeping time. If it finds a script name that matches one of the catalogs, it will reconfigure that catalog. *** icadvanced, User Reconfiguration at url http://www.icdevgroup.org/i/dev/docfly.html?mv_arg=icadvanced04%2e03 If you can't execute the command, ask your hosting company assistant. David ---------------------------- dzhang@msihosting.com http://www.msihosting.com -- Export in ecommerce solution, interchange hosting. ----- Original Message ----- From: "ACforSale Inc Sales Team" To: Sent: Thursday, January 09, 2003 1:21 AM Subject: RE: [ic] Help required for stupid error > On Behalf Of D Zhang - msi > > edit at variable.txt. > > If it doesn't reloading automatically, do a reconfiguration at command > line. > > David > ---------------------------- > Original post below::: > > Thanks David, I have already edited variable.txt and put in the correct > variable for SERVER_NAME but I'm not sure what I need to do at the > command line > > Gerry > > > ----- Original Message ----- > From: "ACforSale Inc Sales Team" > To: > Sent: Wednesday, January 08, 2003 10:58 PM > Subject: [ic] Help required for stupid error > > > > I hope this is possible to fix: > > I accidentally changed the SERVER_NAME variable in the variable table > > to include http:// at the start and now I can get into my IC at all, > > running IC 4.9.6 on shared hosting with cPanel > > > > When ever I try to login or use the store it comes up > > http://http://..... this is driving me crazy as it now means the store > > > cannot be accessed either through admin or customers. > > > > I can't edit the file variable.gdbm (which I think is where the > > problem > > is) > > > > Can anyone help me out on this > > > > Gerry > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > From interchange-users@icdevgroup.org Thu Jan 9 02:47:00 2003 From: interchange-users@icdevgroup.org (D Zhang - msi) Date: Thu Jan 9 02:47:00 2003 Subject: [ic] Help required for stupid error References: <003601c2b7a7$5bdfa4c0$0b00a8c0@CCS> Message-ID: <001901c2b7b3$1216ac60$0affff0a@msi5> Possibly you can't reconfigue youself. It looks to me that you are just setting up the cart, with little done yet. The easiest way might be to re-install the interchange. 1) remove the whole directory of the shopping cart. 2) remove the link cgi in the cgi-bin directory. 3) login to cpanel 4) click on install interhange. That will give you a fresh interhange. David ---------------------------- dzhang@msihosting.com http://www.msihosting.com -- Export in ecommerce solution, interchange hosting. ----- Original Message ----- From: "ACforSale Inc Sales Team" To: Sent: Thursday, January 09, 2003 1:21 AM Subject: RE: [ic] Help required for stupid error > On Behalf Of D Zhang - msi > > edit at variable.txt. > > If it doesn't reloading automatically, do a reconfiguration at command > line. > > David > ---------------------------- > Original post below::: > > Thanks David, I have already edited variable.txt and put in the correct > variable for SERVER_NAME but I'm not sure what I need to do at the > command line > > Gerry > > > ----- Original Message ----- > From: "ACforSale Inc Sales Team" > To: > Sent: Wednesday, January 08, 2003 10:58 PM > Subject: [ic] Help required for stupid error > > > > I hope this is possible to fix: > > I accidentally changed the SERVER_NAME variable in the variable table > > to include http:// at the start and now I can get into my IC at all, > > running IC 4.9.6 on shared hosting with cPanel > > > > When ever I try to login or use the store it comes up > > http://http://..... this is driving me crazy as it now means the store > > > cannot be accessed either through admin or customers. > > > > I can't edit the file variable.gdbm (which I think is where the > > problem > > is) > > > > Can anyone help me out on this > > > > Gerry > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > From interchange-users@icdevgroup.org Thu Jan 9 03:38:00 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Thu Jan 9 03:38:00 2003 Subject: [ic] Help printing a interchange variable (or whatever it's called) In-Reply-To: <1042088699.3304.21.camel@oc> References: <1042088699.3304.21.camel@oc> Message-ID: <20030109093636.6d42801f.racke@linuxia.de> On 09 Jan 2003 00:04:59 -0500 Kevin Old wrote: > Hello all, > > I am trying to get some basics down with the ITL and am having little > luck. I'm a very experience Perl programmer and am getting frustrated > cause I'm not fully understanding the basics of the ITL. > > Here's an example - printing a variable.... > > This code is in checkout.html > [if-item-field weight] > [seti weight][summary amount=`[item-quantity] * [item-field > weight]`][/seti] > [/if-item-field] > > Now, how do I get the *total* weight printed? [scratch weight] The [set],[seti] and [tmp] tags modify variables in the Scratch namespace. Ciao Racke From interchange-users@icdevgroup.org Thu Jan 9 04:14:01 2003 From: interchange-users@icdevgroup.org (Jonathan Clark) Date: Thu Jan 9 04:14:01 2003 Subject: [ic] How to create mailing lists? In-Reply-To: <1042066012.1460.82.camel@giesbrecht.redhat.org> Message-ID: <000701c2b7be$a9d282d0$0b01a8c0@NT3078> > > > I see the functionality in the latest demo to craft content for an > > > existing mailing list, but how does one create/delete/update > the mailing > > > lists themselves? > > > > > > I tried to find info on this by searching help and the > mailing lists but > > > failed. > > > > You weren't thinking of using Interchange to arbitrarily send email > > to people who didn't specifically request it, I presume. 8-) I wouldn't > > like it to be used in that way. > > > Of course not.Just those who are dying to buy my client's products. :) > > > WRT what is there, people automatically add themselves to them as they > > check out, providing you have the mail list functionality enabled on the > > checkout page. You can do that by setting the variable > > CHECKOUT_MAIL_LIST in catalog.cfg or variable.txt. > > > Only at checkout is possible? What if I want users to be able to sign up > from the home page, without buying anything? Or when submitting an email > via a form? > Yes. The user can edit their preferences using the customer services section once they have logged in. > > The actual checkout page code is now in include/checkout/mailing_status > > in the foundation demo. I can't remember if the mail list adder is > > enabled by default. Since you ask the question, I presume it is not... > > nope. I just added it to the "Mailings" preference area. > > I'm still not clear on how to create the mailing lists via the admin > pages. Does it have to be done by editing files directly? Mailing list preferences are stored with the other user's details in the userdb table, but you don't need to edit this directly. Just go to the Customers section of the UI, select a customer, and then click preferences. Its on the email preferences page. Jonathan www.webmaint.net From interchange-users@icdevgroup.org Thu Jan 9 06:28:01 2003 From: interchange-users@icdevgroup.org (interchange-users@icdevgroup.org) Date: Thu Jan 9 06:28:01 2003 Subject: [ic] How to create mailing lists? References: <000701c2b7be$a9d282d0$0b01a8c0@NT3078> Message-ID: <003301c2b7da$5a76bdc0$7ae331d2@co3041008a> > > > > I see the functionality in the latest demo to craft content for an > > > > existing mailing list, but how does one create/delete/update > > the mailing > > > > lists themselves? Try mojomail Dumping the email addresses into it is very easy and sending html/text email a treat. From interchange-users@icdevgroup.org Thu Jan 9 06:33:59 2003 From: interchange-users@icdevgroup.org (interchange-users@icdevgroup.org) Date: Thu Jan 9 06:33:59 2003 Subject: [ic] Returning products with various default options... References: <014101c29189$f9602510$0400a8c0@ibmlt> <1037912004.1275.184.camel@archimedes.localnetsolutions.com> <001601c291c2$0f27e170$0400a8c0@ibmlt> <00dd01c2b312$9ec8acd0$7ae331d2@co3041008a> <000b01c2b342$649cb440$0affff0a@msi5> <000f01c2b471$13908e20$7ae331d2@co3041008a> <000b01c2b49a$29c2f100$0affff0a@msi5> <002001c2b5f4$c9b400e0$7ae331d2@co3041008a> <006201c2b5fa$0d8b9c60$0a01000a@badtzmaru.com> Message-ID: <003d01c2b7da$9a6159e0$7ae331d2@co3041008a> ----- Original Message ----- From: "Jeff Dafoe" To: Sent: Tuesday, 7 January 2003 1:08 Subject: Re: [ic] Returning products with various default options... > > Create a search using IC tags that will yield a results list that will > > present a link and 'buy now' button to 'Leather Shoe' with an option other > > than the default? > > Sure. Save the size in a scratch variable and use it on the results > page to preselect a choice in the option selectbox. You > will need to replace the call to item-options with a handrolled option > display. Ahh! Now you have me thinking right; thanks for the heads up. Appreciate your input. From interchange-users@icdevgroup.org Thu Jan 9 06:38:18 2003 From: interchange-users@icdevgroup.org (Rich Doughty) Date: Thu Jan 9 06:38:18 2003 Subject: [ic] "<" character in a [value] Message-ID: <20030109113323.A28441@earth.opusvl.com> the "<" character from a textarea upload appears to be removed during the transition from a [cgi] to a [value]. is there any way to disable this safety precaution? - Rich Doughty From interchange-users@icdevgroup.org Thu Jan 9 07:28:01 2003 From: interchange-users@icdevgroup.org (John Wells) Date: Thu Jan 9 07:28:01 2003 Subject: [ic] books on IC? Message-ID: <14260.65.213.159.130.1042115286.squirrel@tidal> I'm the type that likes to hold a dead tree in my hand while coding (can't stand reading for long stints from a monitor). Are there any books that cover Interchange available for purchase, or can you still get hard copies of the old Red Hat books? Thanks guys, John From interchange-users@icdevgroup.org Thu Jan 9 08:10:00 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Thu Jan 9 08:10:00 2003 Subject: [ic] "<" character in a [value] In-Reply-To: <20030109113323.A28441@earth.opusvl.com> Message-ID: <000101c2b7e0$49d13580$020110ac@majestic.cursor-software.co.uk> Rich Doughty [rich@opusvl.com] wrote: > > the "<" character from a textarea upload appears to be removed during the > transition from a [cgi] to a [value]. > > is there any way to disable this safety precaution? > The Interchange Tags Reference section 4.86 (value) describes the [value] tag's "enable_html" parameter as follows: Any '<' characters will normally be converted into '<' for safety reasons. This conversion can be disabled using 'enable_html=1'. Did that not work for you? -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Thu Jan 9 08:29:01 2003 From: interchange-users@icdevgroup.org (Rich Doughty) Date: Thu Jan 9 08:29:01 2003 Subject: [ic] "<" character in a [value] In-Reply-To: <000101c2b7e0$49d13580$020110ac@majestic.cursor-software.co.uk>; from kevin@cursor.biz on Thu, Jan 09, 2003 at 01:09:05PM -0000 References: <20030109113323.A28441@earth.opusvl.com> <000101c2b7e0$49d13580$020110ac@majestic.cursor-software.co.uk> Message-ID: <20030109132803.A4189@earth.opusvl.com> On 09 Jan 2003, Kevin Walsh wrote: > Rich Doughty [rich@opusvl.com] wrote: > > > > the "<" character from a textarea upload appears to be removed during the > > transition from a [cgi] to a [value]. > > > > is there any way to disable this safety precaution? > > > The Interchange Tags Reference section 4.86 (value) describes the > [value] tag's "enable_html" parameter as follows: where exactly is this doc? Documentation -> ictags -> value does not mention this. I checked originally when I tried to solve the problem. I am using the docs on www.icdevgroup.org. Is there a more up-to-date source of info? a search of icdevgroup.com for "enable_html" also drew a blank. thanks anyway for the tip, i'll give it a shot. > Any '<' characters will normally be converted into '<' for > safety reasons. This conversion can be disabled using 'enable_html=1'. > > Did that not work for you? just out of interested, the characters weren't converted to <, but removed altogether. - Rich Doughty From interchange-users@icdevgroup.org Thu Jan 9 08:44:01 2003 From: interchange-users@icdevgroup.org (Mark Esslinger) Date: Thu Jan 9 08:44:01 2003 Subject: [ic] Shopping Cart change (mod?) Message-ID: <004b01c2b7e5$3f0c7510$0300000a@mobile2> Hi all, I'm using Interchange as a catalog/cart for software sales and a little bit for hardware sales. I'm thinking about adding sales of web hosting space. Has anyone done this? It would seem I need some changes to the Check-Out portion of interchange to allow the buyer to check the availability of a domain name, then a field that would pick up that choice, and continue through the check-out. Also, it would need to forward that domain name choice to me, so I can set up the hosting appropriately. If anyone can help with this, I'd really appreciate it. I understand tables and fields a little, but I don't have much experience modifying Interchange. Thanks, Mark From interchange-users@icdevgroup.org Thu Jan 9 08:51:01 2003 From: interchange-users@icdevgroup.org (Gerry Kirk) Date: Thu Jan 9 08:51:01 2003 Subject: [ic] How to create mailing lists? In-Reply-To: <000701c2b7be$a9d282d0$0b01a8c0@NT3078> References: <000701c2b7be$a9d282d0$0b01a8c0@NT3078> Message-ID: <1042120215.1471.15.camel@giesbrecht.redhat.org> On Thu, 2003-01-09 at 04:08, Jonathan Clark wrote: > > > > > WRT what is there, people automatically add themselves to them as they > > > check out, providing you have the mail list functionality enabled on the > > > checkout page. You can do that by setting the variable > > > CHECKOUT_MAIL_LIST in catalog.cfg or variable.txt. > > > > > Only at checkout is possible? What if I want users to be able to sign up > > from the home page, without buying anything? Or when submitting an email > > via a form? > > > > Yes. The user can edit their preferences using the customer services section > once they have logged in. > What if I don't want users to have to create an account in order to sign up for a promotional newsletter? Many sites do that now (see oreck.com for example). Signing up for a newsletter is a one step process: enter e-mail address, select format (optional) and click on "Sign Up". Or, is this an example of an account where the e-mail address is the login id, and no password is needed? That aside, I'm still not clear on how the mailing lists got created and recognized by Interchange in the first place. The demo has four listed: Special Offers, Newsletter, Alerts and Recalls, Upgrades. Here are my questions: 1. How did those mailing lists get created? For my own site, do I have to do that myself, outside of Interchange? 2. If the mailing lists are part of another program, how does Interchange know about them? Where is the part in Interchange where I can add/delete mailing lists? I'm not talking about signing up customers here. 3. If the mailing lists are part of another program, how does Interchange send an e-mail to the list, and restrict others from doing so? Thanks for your patience, Gerry -- Gerry Kirk IT consulting for positive change ph 705.759.8026 fax 780.401.3517 From interchange-users@icdevgroup.org Thu Jan 9 09:35:01 2003 From: interchange-users@icdevgroup.org (ACforSale Inc Sales Team) Date: Thu Jan 9 09:35:01 2003 Subject: [ic] Help required for stupid error In-Reply-To: <001901c2b7b3$1216ac60$0affff0a@msi5> Message-ID: <005001c2b7ec$4461cc20$0b00a8c0@CCS> On Behalf Of D Zhang - msi Possibly you can't reconfigue youself. It looks to me that you are just setting up the cart, with little done yet. The easiest way might be to re-install the interchange. 1) remove the whole directory of the shopping cart. 2) remove the link cgi in the cgi-bin directory. 3) login to cpanel 4) click on install interhange. That will give you a fresh interhange. David ---------------------------- dzhang@msihosting.com http://www.msihosting.com -- Export in ecommerce solution, interchange hosting. Start of thread Below:::: David Unfortunately there is quite a bit in the store at the moment (over 400 items and a lot of custom configurations) I'm hoping that my hosting company will be able to do the reconfiguration manually. Otherwise I may have to do as you suggest and move all the configuration files manually to get back to square one. Gerry ----- Original Message ----- From: "ACforSale Inc Sales Team" To: Sent: Thursday, January 09, 2003 1:21 AM Subject: RE: [ic] Help required for stupid error > On Behalf Of D Zhang - msi > > edit at variable.txt. > > If it doesn't reloading automatically, do a reconfiguration at command > line. > > David > ---------------------------- > Original post below::: > > Thanks David, I have already edited variable.txt and put in the > correct variable for SERVER_NAME but I'm not sure what I need to do > at the command line > > Gerry > > > ----- Original Message ----- > From: "ACforSale Inc Sales Team" > To: > Sent: Wednesday, January 08, 2003 10:58 PM > Subject: [ic] Help required for stupid error > > > > I hope this is possible to fix: > > I accidentally changed the SERVER_NAME variable in the variable > > table to include http:// at the start and now I can get into my IC > > at all, running IC 4.9.6 on shared hosting with cPanel > > > > When ever I try to login or use the store it comes up > > http://http://..... this is driving me crazy as it now means the > > store > > > cannot be accessed either through admin or customers. > > > > I can't edit the file variable.gdbm (which I think is where the > > problem > > is) > > > > Can anyone help me out on this > > > > Gerry > > _______________________________________________ > interchange-users mailing list interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Thu Jan 9 10:16:01 2003 From: interchange-users@icdevgroup.org (James P. Kinney III) Date: Thu Jan 9 10:16:01 2003 Subject: [ic] Help required for stupid error In-Reply-To: <002501c2b793$50db9ac0$0b00a8c0@CCS> References: <002501c2b793$50db9ac0$0b00a8c0@CCS> Message-ID: <1042125301.3223.22.camel@archimedes.localnetsolutions.com> --=-NzAAU+AFyKHb01HFqp/5 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable In the products directory of the catalog home, edit the variable.txt file. Then remove the variable.sql or variable.gdbm file. When Interchange is restarted, it will rebuild the database faile for variable from the .txt file.=20 On Wed, 2003-01-08 at 22:58, ACforSale Inc Sales Team wrote: > I hope this is possible to fix: > I accidentally changed the SERVER_NAME variable in the variable table to > include http:// at the start and now I can get into my IC at all, > running IC 4.9.6 on shared hosting with cPanel >=20 > When ever I try to login or use the store it comes up > http://http://..... this is driving me crazy as it now means the store > cannot be accessed either through admin or customers. >=20 > I can't edit the file variable.gdbm (which I think is where the problem > is) >=20 > Can anyone help me out on this >=20 > Gerry >=20 > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users --=20 James P. Kinney III \Changing the mobile computing world/ President and CEO \ one Linux user / Local Net Solutions,LLC \ at a time. / 770-493-8244 \.___________________________./ GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics) Fingerprint =3D 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7=20 --=-NzAAU+AFyKHb01HFqp/5 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA+HZH1YZCtw4KcbKcRAhCWAKDeWSxv3Jeo6VcvXzk9FrqZdQ2x0QCghS0Y OXQq5zWBOu9ZRnhX8JU1Eh8= =17Rw -----END PGP SIGNATURE----- --=-NzAAU+AFyKHb01HFqp/5-- From interchange-users@icdevgroup.org Thu Jan 9 10:24:00 2003 From: interchange-users@icdevgroup.org (Chris Tooley) Date: Thu Jan 9 10:24:00 2003 Subject: [ic] Template problems Message-ID: <1042125416.3812.0.camel@localhost.localdomain> I tried modifying the LEFT/RIGHT template and came up with this error. Any ideas? format_template: unable to write any dynamic variable, help! AND unable to write any dynamic variable, help! -- Chris Tooley Networking Technologies Resource Center 8650 Spicewood Springs Rd Suite 105 Austin, TX 78759 (512)250-8985 email: christ@ntrc.net pager: christ@my2way.com From interchange-users@icdevgroup.org Thu Jan 9 10:38:00 2003 From: interchange-users@icdevgroup.org (Kevin Old) Date: Thu Jan 9 10:38:00 2003 Subject: [ic] Help printing a interchange variable (or whatever it's called) In-Reply-To: <20030109093636.6d42801f.racke@linuxia.de> References: <1042088699.3304.21.camel@oc> <20030109093636.6d42801f.racke@linuxia.de> Message-ID: <1042126413.3392.4.camel@oc> On Thu, 2003-01-09 at 03:36, Stefan Hornburg wrote: > On 09 Jan 2003 00:04:59 -0500 > Kevin Old wrote: > > > Hello all, > > > > I am trying to get some basics down with the ITL and am having little > > luck. I'm a very experience Perl programmer and am getting frustrated > > cause I'm not fully understanding the basics of the ITL. > > > > Here's an example - printing a variable.... > > > > This code is in checkout.html > > [if-item-field weight] > > [seti weight][summary amount=`[item-quantity] * [item-field > > weight]`][/seti] > > [/if-item-field] > > > > Now, how do I get the *total* weight printed? > > [scratch weight] > > The [set],[seti] and [tmp] tags modify variables in the Scratch namespace. > > Ciao > Racke Racke, Tried that, doesn't work. Yes, I do have several items with weight in my shopping cart. Any other suggestions? Thanks, Kevin -- Kevin Old From interchange-users@icdevgroup.org Thu Jan 9 10:41:01 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Thu Jan 9 10:41:01 2003 Subject: [ic] "<" character in a [value] In-Reply-To: <20030109132803.A4189@earth.opusvl.com> Message-ID: <000201c2b7f5$0f8a7d40$020110ac@majestic.cursor-software.co.uk> Rich Doughty [rich@opusvl.com] wrote: > > > > > > the "<" character from a textarea upload appears to be removed during the > > > transition from a [cgi] to a [value]. > > > > > > is there any way to disable this safety precaution? > > > > > The Interchange Tags Reference section 4.86 (value) describes the > > [value] tag's "enable_html" parameter as follows: > > > where exactly is this doc? > > Documentation -> ictags -> value > > does not mention this. I checked originally when I tried to solve the > problem. I am using the docs on www.icdevgroup.org. Is there a more > up-to-date source of info? > http://www.icdevgroup.org/i/doc/wiki/ValueTag.html http://www.interchange.RTFM.info/docs/rtfm_ictags.html > > just out of interested, the characters weren't converted to <, but > removed altogether. > That's odd. I'll have a look into that. Can you demonstrate the problem with a small amount of code? If so, can you post it here. Also, which version of Interchange are you using? -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Thu Jan 9 10:45:01 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Thu Jan 9 10:45:01 2003 Subject: [ic] Help required for stupid error In-Reply-To: <005001c2b7ec$4461cc20$0b00a8c0@CCS> Message-ID: <000401c2b7f5$ea7e2000$020110ac@majestic.cursor-software.co.uk> > > Start of thread Below:::: > No. Thread context above - followup below. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Thu Jan 9 10:46:33 2003 From: interchange-users@icdevgroup.org (Kevin Old) Date: Thu Jan 9 10:46:33 2003 Subject: [ic] Template problems In-Reply-To: <1042125416.3812.0.camel@localhost.localdomain> References: <1042125416.3812.0.camel@localhost.localdomain> Message-ID: <1042126796.3398.7.camel@oc> On Thu, 2003-01-09 at 10:16, Chris Tooley wrote: > I tried modifying the LEFT/RIGHT template and came up with this error. > Any ideas? > > format_template: unable to write any dynamic variable, help! AND unable > to write any dynamic variable, help! Can you provide the code you changed and what you changed it too? Hard to tell what the problem is without seeing the code. Thanks, Kevin -- Kevin Old From interchange-users@icdevgroup.org Thu Jan 9 10:54:00 2003 From: interchange-users@icdevgroup.org (Aaron Hazelton) Date: Thu Jan 9 10:54:00 2003 Subject: [ic] how should you totally log out when cookie login enabled Message-ID: <001b01c2b7f7$42c9c600$ab7ba8c0@abhlaptop> Hi all, I am wanting to make sure I am not missing anything here on the logout. When cookie login is enabled, which I need, then I cannot figure out how to really log out so that IC will require a login again. Is this possible? I tried using the info from the default foundation 'logout' page and also tried a logout button made from an mv_todo=cancel, but neither is giving the desired results. This is the case even when closing the browser and opening another one as well. Thanks -- Aaron From interchange-users@icdevgroup.org Thu Jan 9 10:59:00 2003 From: interchange-users@icdevgroup.org (Rich Doughty) Date: Thu Jan 9 10:59:00 2003 Subject: [ic] "<" character in a [value] In-Reply-To: <000201c2b7f5$0f8a7d40$020110ac@majestic.cursor-software.co.uk>; from kevin@cursor.biz on Thu, Jan 09, 2003 at 03:37:47PM -0000 References: <20030109132803.A4189@earth.opusvl.com> <000201c2b7f5$0f8a7d40$020110ac@majestic.cursor-software.co.uk> Message-ID: <20030109155806.B15745@earth.opusvl.com> On 09 Jan 2003, Kevin Walsh wrote: > Rich Doughty [rich@opusvl.com] wrote: > > > > > > > > the "<" character from a textarea upload appears to be removed during the > > > > transition from a [cgi] to a [value]. > > > > > > > > is there any way to disable this safety precaution? > > > > > > > The Interchange Tags Reference section 4.86 (value) describes the > > > [value] tag's "enable_html" parameter as follows: > > > > > where exactly is this doc? > > > > Documentation -> ictags -> value > > > > does not mention this. I checked originally when I tried to solve the > > problem. I am using the docs on www.icdevgroup.org. Is there a more > > up-to-date source of info? > > > http://www.icdevgroup.org/i/doc/wiki/ValueTag.html > http://www.interchange.RTFM.info/docs/rtfm_ictags.html > > > > > just out of interested, the characters weren't converted to <, but > > removed altogether. > > > That's odd. I'll have a look into that. Can you demonstrate the > problem with a small amount of code? If so, can you post it here. > Also, which version of Interchange are you using? IC V 4.8.6 the "enable_html" kind of worked, but only behaved correctly when used with [cgi]. I'll try to post a test case when i get time. - Rich Doughty From interchange-users@icdevgroup.org Thu Jan 9 11:01:02 2003 From: interchange-users@icdevgroup.org (Interchange server) Date: Thu Jan 9 11:01:02 2003 Subject: [ic] Help printing a interchange variable (or whatever it's called) In-Reply-To: <1042126413.3392.4.camel@oc> References: <1042088699.3304.21.camel@oc> <20030109093636.6d42801f.racke@linuxia.de> <1042126413.3392.4.camel@oc> Message-ID: <1042128249.8388.8.camel@lx450.beloura.local> On Thu, 2003-01-09 at 15:33, Kevin Old wrote: KO> I'm a very experience Perl programmer and am getting frustrated KO> cause I'm not fully understanding the basics of the ITL. KO> Here's an example - printing a variable.... Racke> [scratch weight] KO> Tried that, doesn't work. [...] KO> Any other suggestions? What worked best for me (so far) is doing most things in Perl, and only using ITL occasionally. Bit by bit I've picked up on some tags that I *really* needed. grtz MRJB From interchange-users@icdevgroup.org Thu Jan 9 11:03:01 2003 From: interchange-users@icdevgroup.org (Aaron Hazelton) Date: Thu Jan 9 11:03:01 2003 Subject: [ic] how should you totally log out when cookie login enabled - SOLVED In-Reply-To: <001b01c2b7f7$42c9c600$ab7ba8c0@abhlaptop> Message-ID: <001c01c2b7f8$48588b50$ab7ba8c0@abhlaptop> Aaron Hazelton wrote: > I am wanting to make sure I am not missing anything > here on the logout. When cookie login is enabled, > which I need, then I cannot figure out how to really > log out so that IC will require a login again. Is this > possible? > > I tried using the info from the default foundation > 'logout' page and also tried a logout button made > from an mv_todo=cancel, but neither is giving the > desired results. the trick is to add another [set-cookie] tag to the logout page making it empty > getting the right search of the archives yielded the answer -- Aaron From interchange-users@icdevgroup.org Thu Jan 9 11:06:00 2003 From: interchange-users@icdevgroup.org (Jim Toro) Date: Thu Jan 9 11:06:00 2003 Subject: [ic] How do I stop all records from displaying ?? Message-ID: I have found that for all my searches, if the user leaves the input field empty and just hits the "search" button they will get a return of all records in the database. I know how to limit the number per page, but how can you limit the total number per search or more importantly how can you avoid wildcard or ALL records from displaying? I tried to put the mv_min_string to see if it would require the user to put at least X characters like this: in the
but it doesnt seem to do anything. Am I missing something easy to do?. I really dont want people to do a full list of a database with one key press. thanks. From interchange-users@icdevgroup.org Thu Jan 9 11:10:01 2003 From: interchange-users@icdevgroup.org (Interchange server) Date: Thu Jan 9 11:10:01 2003 Subject: [ic] PC Text Editor and IC In-Reply-To: <000001c2b750$d6533840$ef0329d0@vl2k> References: <000001c2b750$d6533840$ef0329d0@vl2k> Message-ID: <1042128855.8388.16.camel@lx450.beloura.local> On Wed, 2003-01-08 at 20:02, Farshad Farzan wrote: > What is the best editor to use in the PC when you are working in IC? As someone suggested emacs, I guess I should suggest vi which is available for windows too ,) But seriously, the windows text editor I've liked most so far is UltraEdit. The important features to you are that it detects the difference between unix and windows, so it won't mess up the file. You might like its feature to open from and save to FTP; the next best thing to editing files directly on the machine itself. Then it has customizable syntax highlighting, macros, word completion and a lot more. It's a very mature product. grtz MRJB From interchange-users@icdevgroup.org Thu Jan 9 11:21:01 2003 From: interchange-users@icdevgroup.org (D Zhang - msi) Date: Thu Jan 9 11:21:01 2003 Subject: [ic] Help required for stupid error References: <005001c2b7ec$4461cc20$0b00a8c0@CCS> Message-ID: <000801c2b7fa$e848fe40$0affff0a@msi5> In case that you need to keep you current work, do a full backup and then copy back all files after re-install interchange from c-panel. It won't take you much time though, using the following procedure and command: Make a backup directory at the same level as the cart directory. Then, above the cart directory, cp -r cart_directory/* backup_directory The above command will copy all files with subdirectories to the backup_directory. cd to the backup_directory and check to make sure that all files are copied properly with the subdirectories. You may see many session files can't be copied. That's ok In the backup_directory, delet variable.gdbm, just keep the variable.txt IMPORTANT: backup your image files! cp -r image_directory/* image_backup_dir Again, check to make sure all image files are backuped. Now, you are save to do a re-installation in the procedure outlined in previous reply. After the re-installation from cpanel, copy back all files, using the same command, but with reverse file orders in command line. You are done. Total is about 5 to 10 minuts David ---------------------------- dzhang@msihosting.com http://www.msihosting.com -- Export in ecommerce solution, interchange hosting. ----- Original Message ----- From: "ACforSale Inc Sales Team" To: Sent: Thursday, January 09, 2003 9:34 AM Subject: RE: [ic] Help required for stupid error > On Behalf Of D Zhang - msi > > Possibly you can't reconfigue youself. > > It looks to me that you are just setting up the cart, with little done > yet. The easiest way might be to re-install the interchange. > > 1) remove the whole directory of the shopping cart. > 2) remove the link cgi in the cgi-bin directory. > 3) login to cpanel > 4) click on install interhange. > > That will give you a fresh interhange. > > > David > ---------------------------- > dzhang@msihosting.com > http://www.msihosting.com > -- Export in ecommerce solution, interchange hosting. > > Start of thread Below:::: > > David > > Unfortunately there is quite a bit in the store at the moment (over 400 > items and a lot of custom configurations) I'm hoping that my hosting > company will be able to do the reconfiguration manually. Otherwise I may > have to do as you suggest and move all the configuration files manually > to get back to square one. > > Gerry > > > ----- Original Message ----- > From: "ACforSale Inc Sales Team" > To: > Sent: Thursday, January 09, 2003 1:21 AM > Subject: RE: [ic] Help required for stupid error > > > > On Behalf Of D Zhang - msi > > > > edit at variable.txt. > > > > If it doesn't reloading automatically, do a reconfiguration at command > > > line. > > > > David > > ---------------------------- > > Original post below::: > > > > Thanks David, I have already edited variable.txt and put in the > > correct variable for SERVER_NAME but I'm not sure what I need to do > > at the command line > > > > Gerry > > > > > > ----- Original Message ----- > > From: "ACforSale Inc Sales Team" > > To: > > Sent: Wednesday, January 08, 2003 10:58 PM > > Subject: [ic] Help required for stupid error > > > > > > > I hope this is possible to fix: > > > I accidentally changed the SERVER_NAME variable in the variable > > > table to include http:// at the start and now I can get into my IC > > > at all, running IC 4.9.6 on shared hosting with cPanel > > > > > > When ever I try to login or use the store it comes up > > > http://http://..... this is driving me crazy as it now means the > > > store > > > > > cannot be accessed either through admin or customers. > > > > > > I can't edit the file variable.gdbm (which I think is where the > > > problem > > > is) > > > > > > Can anyone help me out on this > > > > > > Gerry > > > > _______________________________________________ > > interchange-users mailing list interchange-users@icdevgroup.org > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > From interchange-users@icdevgroup.org Thu Jan 9 11:24:01 2003 From: interchange-users@icdevgroup.org (ACforSale Inc Sales Team) Date: Thu Jan 9 11:24:01 2003 Subject: [ic] Help required for stupid error In-Reply-To: <1042125301.3223.22.camel@archimedes.localnetsolutions.com> Message-ID: <006501c2b7fb$5fd62820$0b00a8c0@CCS> On Behalf Of James P. Kinney III In the products directory of the catalog home, edit the variable.txt file. Then remove the variable.sql or variable.gdbm file. When Interchange is restarted, it will rebuild the database faile for variable from the .txt file. On Wed, 2003-01-08 at 22:58, ACforSale Inc Sales Team wrote: > I hope this is possible to fix: > I accidentally changed the SERVER_NAME variable in the variable table > to include http:// at the start and now I can get into my IC at all, > running IC 4.9.6 on shared hosting with cPanel > > When ever I try to login or use the store it comes up > http://http://..... this is driving me crazy as it now means the store > cannot be accessed either through admin or customers. > > I can't edit the file variable.gdbm (which I think is where the > problem > is) > > Can anyone help me out on this > > Gerry > > _______________________________________________ > interchange-users mailing list interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users -- This is what I've done on this so far, deleted the variable.gdbm, edited the variable.txt file so that the SERVER_NAME variable is acforsale.com, asked my hosting company to do a manual reconfiguration as per docs at url http://www.icdevgroup.org/i/dev/docfly.html?mv_arg=icadvanced04%2e03 (I'm still waiting on this or some response from them) I can get to the IC login screen but as soon as I enter the password etc I get the "cannot find page error" and I'm being redirected to http://http://shop.acforsale.com/~acforsal/cgi-bin/cart.cgi/process.html ? (using an editor I can even get to the Administration menu page by changing the url to go to from the login screen but then all links still have double http:// on them). If I try to access the store with http://shop.acforsale.com I can get into the starting page (index) of the shop but all links on that page revert back to the http://http://shop.acforsale.com... thing as well. Does anyone know if the server_name variable appears or is copied to some other area that I may be able to modify. Thanks in advance Gerry From interchange-users@icdevgroup.org Thu Jan 9 11:31:01 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Thu Jan 9 11:31:01 2003 Subject: [ic] how should you totally log out when cookie login enabled In-Reply-To: <001b01c2b7f7$42c9c600$ab7ba8c0@abhlaptop> Message-ID: <000101c2b7fc$57f1c820$020110ac@majestic.cursor-software.co.uk> Aaron Hazelton [aaronmail@hazenet.net] wrote: > > I am wanting to make sure I am not missing anything > here on the logout. When cookie login is enabled, > which I need, then I cannot figure out how to really > log out so that IC will require a login again. Is this > possible? > > I tried using the info from the default foundation > 'logout' page and also tried a logout button made > from an mv_todo=cancel, but neither is giving the > desired results. > > This is the case even when closing the browser > and opening another one as well. > To prevent further automatic cookie-logins, you'll need to clear down the user's MV_USERNAME and MV_PASSWORD cookies: [set-cookie name="MV_USERNAME" value=""] [set-cookie name="MV_PASSWORD" value=""] See the [set-cookie] docs for more cookie-related information. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Thu Jan 9 11:39:01 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Thu Jan 9 11:39:01 2003 Subject: [ic] Help printing a interchange variable (or whatever it's called) In-Reply-To: <1042126413.3392.4.camel@oc> References: <1042088699.3304.21.camel@oc> <20030109093636.6d42801f.racke@linuxia.de> <1042126413.3392.4.camel@oc> Message-ID: <20030109173742.7484bc8d.racke@linuxia.de> On 09 Jan 2003 10:33:33 -0500 Kevin Old wrote: > On Thu, 2003-01-09 at 03:36, Stefan Hornburg wrote: > > On 09 Jan 2003 00:04:59 -0500 > > Kevin Old wrote: > > > > > Hello all, > > > > > > I am trying to get some basics down with the ITL and am having little > > > luck. I'm a very experience Perl programmer and am getting frustrated > > > cause I'm not fully understanding the basics of the ITL. > > > > > > Here's an example - printing a variable.... > > > > > > This code is in checkout.html > > > [if-item-field weight] > > > [seti weight][summary amount=`[item-quantity] * [item-field > > > weight]`][/seti] > > > [/if-item-field] > > > > > > Now, how do I get the *total* weight printed? > > > > [scratch weight] > > > > The [set],[seti] and [tmp] tags modify variables in the Scratch namespace. > > > > Ciao > > Racke > > Racke, > > Tried that, doesn't work. Yes, I do have several items with weight in > my shopping cart. Any other suggestions? Have you checked your error.log ? Ciao Racke From interchange-users@icdevgroup.org Thu Jan 9 12:07:00 2003 From: interchange-users@icdevgroup.org (Ed LaFrance) Date: Thu Jan 9 12:07:00 2003 Subject: [ic] who is supposed to run bin/makecat? In-Reply-To: Message-ID: <5.1.1.6.0.20030109090126.0371d210@mail.newmediaems.com> At 08:01 PM 01/08/2003 -0500, you wrote: >I installed Interchange from interchange-4.8.6.tar.gz >via configure with no args as the root user. > >However, then I wanted to run "bin/makecat". But some aspects of this >program seem more oriented towards a normal user and others oriented >towards root. > >For example, BaseDir defaults to ~/catalogs, which of course would mean >that some data entry/marketing expert might type bin/makecat and be own >his way. > >However, doing this, leads to problems that can only be solved by running >as root: When you installed interchange as root, the configure script should have asked for / created the interch user to own the interchange server process. Then when you run makecat as root, it should have given you a choice of operation modes for the catalog (M, G and something else I don't recall right now) and in the course of events asked for the user ID for catalog ownership, etc. You need only read the help in the prompts and answer accordingly. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From interchange-users@icdevgroup.org Thu Jan 9 12:13:01 2003 From: interchange-users@icdevgroup.org (Ed LaFrance) Date: Thu Jan 9 12:13:01 2003 Subject: [ic] Help printing a interchange variable (or whatever it's called) In-Reply-To: <1042088699.3304.21.camel@oc> Message-ID: <5.1.1.6.0.20030109090729.0371bc80@mail.newmediaems.com> At 12:04 AM 01/09/2003 -0500, you wrote: >Hello all, > >I am trying to get some basics down with the ITL and am having little >luck. I'm a very experience Perl programmer and am getting frustrated >cause I'm not fully understanding the basics of the ITL. > >Here's an example - printing a variable.... > >This code is in checkout.html > [if-item-field weight] > [seti weight][summary amount=`[item-quantity] * [item-field >weight]`][/seti] > [/if-item-field] > >Now, how do I get the *total* weight printed? I believe this is demonstrated in the cart code, which is located at yourcat/templates/components/cart. The [summary ..] tag has a parameter for returning the accumulated value, which you should be able to see in practice there. > I know how to print each >item's weight, I just write: > >[item-field weight] > >I've tried all sorts of things to get the weight variable in the "seti" >tag to be printed. And yes, I do have the weight field with a valid >value for all of the products in my database and I can get each of them >to be printed with the product info, but I need a total of all products >weight. > >I seriously have looked at all the documentation and am at a loss on >several basic things like this.... > >Can anyone provide syntax for a few basic features like printing >variables (or whatever the interchange term is for something that holds >a value), and other useful pieces that would make the ITL a little >easier to get into? > >Any help would be appreciated! > >Thanks, >Kevin Kevin - examples of this are all over the foundation demo, plus you have the Interchange tag reference at your disposal: take a look at the docs for [value ..], [var ..], [scratch ..], [cgi ...] and [data ...], among others. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From interchange-users@icdevgroup.org Thu Jan 9 12:17:01 2003 From: interchange-users@icdevgroup.org (Kevin Old) Date: Thu Jan 9 12:17:01 2003 Subject: [ic] Help printing a interchange variable (or whatever it's called) In-Reply-To: <1042128249.8388.8.camel@lx450.beloura.local> References: <1042088699.3304.21.camel@oc> <20030109093636.6d42801f.racke@linuxia.de> <1042126413.3392.4.camel@oc> <1042128249.8388.8.camel@lx450.beloura.local> Message-ID: <1042132355.3392.34.camel@oc> On Thu, 2003-01-09 at 11:03, Interchange server wrote: > On Thu, 2003-01-09 at 15:33, Kevin Old wrote: > > KO> I'm a very experience Perl programmer and am getting frustrated > KO> cause I'm not fully understanding the basics of the ITL. > KO> Here's an example - printing a variable.... > > Racke> [scratch weight] > > KO> Tried that, doesn't work. [...] > KO> Any other suggestions? > > What worked best for me (so far) is doing most things in Perl, and only > using ITL occasionally. Bit by bit I've picked up on some tags that I > *really* needed. > > grtz > MRJB Well, I've tried that too.... [perl]print $weight;[/perl] also tried: [perl]return $weight;[/perl] and even tried [perl]print $Scratch->{weight};[/perl] This is what I get from error.log: 172.16.16.10 QUXsByaf:172.16.16.10 - [08/January/2003:23:20:17 -0500] entermagic dev /cgi-bin/entermagicdev/ord/checkout.html Safe: print trapped by operation ma sk at (eval 1003) line 1. > > print $weight; > I know I'm close....any other suggestions? Thanks, Kevin -- Kevin Old From interchange-users@icdevgroup.org Thu Jan 9 12:34:00 2003 From: interchange-users@icdevgroup.org (Ed LaFrance) Date: Thu Jan 9 12:34:00 2003 Subject: [ic] how should you totally log out when cookie login enabled In-Reply-To: <001b01c2b7f7$42c9c600$ab7ba8c0@abhlaptop> Message-ID: <5.1.1.6.0.20030109091930.03729e40@mail.newmediaems.com> At 10:53 AM 01/09/2003 -0500, you wrote: >Hi all, > >I am wanting to make sure I am not missing anything >here on the logout. When cookie login is enabled, >which I need, then I cannot figure out how to really >log out so that IC will require a login again. Is this >possible? > > I tried using the info from the default foundation >'logout' page and also tried a logout button made >from an mv_todo=cancel, but neither is giving the >desired results. > >This is the case even when closing the browser >and opening another one as well. > >Thanks >-- >Aaron You just need to clear the client's cookies. Try putting this your logout.html: [set-cookie name=MV_USERNAME value=""] [set-cookie name=MV_PASSWORD value=""] - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From interchange-users@icdevgroup.org Thu Jan 9 13:15:01 2003 From: interchange-users@icdevgroup.org (Thomas J.M. Burton) Date: Thu Jan 9 13:15:01 2003 Subject: [ic] How to create mailing lists? References: <000701c2b7be$a9d282d0$0b01a8c0@NT3078> <1042120215.1471.15.camel@giesbrecht.redhat.org> Message-ID: <007101c2b807$f625cef0$0b00a8c0@TJMB> ...snip... > That aside, I'm still not clear on how the mailing lists got created and > recognized by Interchange in the first place. The demo has four listed: > Special Offers, Newsletter, Alerts and Recalls, Upgrades. Here are my > questions: > > 1. How did those mailing lists get created? For my own site, do I have > to do that myself, outside of Interchange? I haven't really looked into those lists myself, but I'm assuming that they are just in the foundation demo as a "suggested use" and don't actually have any backend programming or actual lists set up. If anyone knows this to be otherwise, please correct me. > 2. If the mailing lists are part of another program, how does > Interchange know about them? Where is the part in Interchange where I > can add/delete mailing lists? I'm not talking about signing up customers > here. > > 3. If the mailing lists are part of another program, how does > Interchange send an e-mail to the list, and restrict others from doing > so? We use majordomo for our mailing lists, and don't use IC to manage the existence of any lists. Each of the catalogs we run currently has only one list, and on the checkout page I have a "Would you like to receive our free newsletter?" area with a "Yes/No" select list. At the top of the etc/mail_receipt file for that catalog (I have e-mail address required and don't give customers an option not to receive an e-mail receipt, so this file will always be processed), I've added lines like this: [if value mail_list == 1] [email to="listname-request@domain.com"] subscribe [value email] [/email] [/if] This sends an e-mail to majordomo requesting a subscription to the list. If you have e-mail receipt as an option for the customer, you might want to put the above code into the etc/report file instead of mail_receipt. That's my two cents. Hope it helps. :) -Tom ___________________________________ Thomas J.M. Burton, Design/Production Global Focus Digital Media, LLC www.globalfocusdm.com From interchange-users@icdevgroup.org Thu Jan 9 13:19:19 2003 From: interchange-users@icdevgroup.org (Dallas Vogels) Date: Thu Jan 9 13:19:19 2003 Subject: [ic] Real-time payment with InterCept Message-ID: <5.2.0.9.0.20030109102518.00ac58e8@mail.forestind.com> Hi, Has anyone had any experience integrating Interchange with the real-time payment options that InterCept (http://www.intercept.net) offers? They use XML to transmit and receive the CC payments. Thanks in advance, Dallas From interchange-users@icdevgroup.org Thu Jan 9 15:34:02 2003 From: interchange-users@icdevgroup.org (James Hoynacki) Date: Thu Jan 9 15:34:02 2003 Subject: [ic] Shipping Field lacks more than two choices Message-ID: <7B14D390-2411-11D7-814A-000502B60377@comcast.net> My ISP's current implementation of Interchange 4.9.3 only lists 2 types of shipping (1DA - UPS Next Day Air and 2DA - UPS Next Day Air) AFTER you key in a zipcode. I checked out the demo on the icdevgroup.org site and it works the same. My "SHIP_DEFAULT_MODE" is set to "upsg" Any advice. Jim From interchange-users@icdevgroup.org Thu Jan 9 16:06:03 2003 From: interchange-users@icdevgroup.org (Kevin Old) Date: Thu Jan 9 16:06:03 2003 Subject: [ic] Help printing a interchange variable (or whatever it's called) In-Reply-To: <5.1.1.6.0.20030109090729.0371bc80@mail.newmediaems.com> References: <5.1.1.6.0.20030109090729.0371bc80@mail.newmediaems.com> Message-ID: <1042146047.3393.43.camel@oc> On Thu, 2003-01-09 at 12:10, Ed LaFrance wrote: > At 12:04 AM 01/09/2003 -0500, you wrote: > >Hello all, > > > >I am trying to get some basics down with the ITL and am having little > >luck. I'm a very experience Perl programmer and am getting frustrated > >cause I'm not fully understanding the basics of the ITL. > > > >Here's an example - printing a variable.... > > > >This code is in checkout.html > > [if-item-field weight] > > [seti weight][summary amount=`[item-quantity] * [item-field > >weight]`][/seti] > > [/if-item-field] > > > >Now, how do I get the *total* weight printed? > > I believe this is demonstrated in the cart code, which is located at > yourcat/templates/components/cart. The [summary ..] tag has a parameter for > returning the accumulated value, which you should be able to see in > practice there. > Ed, yes it is in the cart component, but the same code is also in the checkout.html file in pages/ord and I have reviewed the documentation and the parameter that suppresses the output is "hide" when set to true (or 1). In the code above the hide paramenter is not present and by default is set to false. This code should be printing the weight, correct? > > Kevin - examples of this are all over the foundation demo, plus you have > the Interchange tag reference at your disposal: take a look at the docs for > [value ..], [var ..], [scratch ..], [cgi ...] and [data ...], among others. Thanks, there are just so many tags that have similar features....kind of confusing. Thanks, Kevin -- Kevin Old From interchange-users@icdevgroup.org Thu Jan 9 16:13:00 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Thu Jan 9 16:13:00 2003 Subject: [ic] how should you totally log out when cookie login enabled In-Reply-To: <5.1.1.6.0.20030109091930.03729e40@mail.newmediaems.com>; from edl@newmediaems.com on Thu, Jan 09, 2003 at 09:21:56AM -0800 References: <001b01c2b7f7$42c9c600$ab7ba8c0@abhlaptop> <5.1.1.6.0.20030109091930.03729e40@mail.newmediaems.com> Message-ID: <20030109161208.A10860@bill.heins.net> Quoting Ed LaFrance (edl@newmediaems.com): > At 10:53 AM 01/09/2003 -0500, you wrote: > >Hi all, > > > >I am wanting to make sure I am not missing anything > >here on the logout. When cookie login is enabled, > >which I need, then I cannot figure out how to really > >log out so that IC will require a login again. Is this > >possible? > > > > I tried using the info from the default foundation > >'logout' page and also tried a logout button made > >from an mv_todo=cancel, but neither is giving the > >desired results. > > > >This is the case even when closing the browser > >and opening another one as well. > > > >Thanks > >-- > >Aaron > > You just need to clear the client's cookies. Try putting this your logout.html: > > [set-cookie name=MV_USERNAME value=""] > [set-cookie name=MV_PASSWORD value=""] > Plus, I think you can do this: [userdb function=logout clear-cookie=1] Also, if you want that to be the default you can put in catalog.cfg: UserDB default clear_cookie 1 -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 There's nothing sweeter than life nor more precious than time. -- Barney From interchange-users@icdevgroup.org Thu Jan 9 16:58:00 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Thu Jan 9 16:58:00 2003 Subject: [ic] Help printing a interchange variable (or whatever it'scalled) References: <5.1.1.6.0.20030109090729.0371bc80@mail.newmediaems.com> <1042146047.3393.43.camel@oc> Message-ID: <002c01c2b829$0cbbcf40$0a01000a@badtzmaru.com> > Thanks, there are just so many tags that have similar features....kind > of confusing. They read from different namespaces. Jeff From interchange-users@icdevgroup.org Thu Jan 9 17:14:00 2003 From: interchange-users@icdevgroup.org (Schuyler Langdon) Date: Thu Jan 9 17:14:00 2003 Subject: [ic] Flat Rate Shipping References: <000701c2b7be$a9d282d0$0b01a8c0@NT3078> <1042120215.1471.15.camel@giesbrecht.redhat.org> <007101c2b807$f625cef0$0b00a8c0@TJMB> Message-ID: <001d01c2b82c$40755ba0$1702a8c0@gordito> I'm using flat rate shipping as the default and only shipping method with the 4.8 foundation store. I was wondering how you go about setting the shipping rate? When a person checks out the page comes up "Nothing to ship" unless the cart is recalculated. Thanks, Schuyler Langdon GatorDev.com From interchange-users@icdevgroup.org Thu Jan 9 17:20:01 2003 From: interchange-users@icdevgroup.org (Michael Stone) Date: Thu Jan 9 17:20:01 2003 Subject: [ic] GNDCOM no longer available Message-ID: Hello, Ive been running Interchange catalogs for a couple of years now. Within the last couple of weeks GNDCOM no longer appears as a shipping option. I havent made any recent changes to shipping.asc , country.txt, or catalog.cfg and everything looks the same. I do UPS lookups via the internet and my other shipping options work fine. Has anyone else encountered this? Could the UPS lookup script me responsible. Thanks for any reply. Michael Stone From interchange-users@icdevgroup.org Thu Jan 9 17:28:01 2003 From: interchange-users@icdevgroup.org (Michael Goldfarb) Date: Thu Jan 9 17:28:01 2003 Subject: [ic] GNDCOM no longer available In-Reply-To: Message-ID: <000001c2b82e$3d6cc4a0$1e01a8c0@mrblondelaptop> >Hello, > > Ive been running Interchange catalogs for a couple of years now. Within >the last couple of weeks GNDCOM no longer appears as a shipping option. I >havent made any recent changes to shipping.asc , country.txt, or >catalog.cfg and everything looks the same. I do UPS lookups via the >internet and my other shipping options work fine. Has anyone else >encountered this? Could the UPS lookup script me responsible. Thanks for >any reply. > >Michael Stone I had the same question... Look a few posts up :) From interchange-users@icdevgroup.org Thu Jan 9 17:46:00 2003 From: interchange-users@icdevgroup.org (ICDEV) Date: Thu Jan 9 17:46:00 2003 Subject: [ic] GNDCOM no longer available In-Reply-To: <000001c2b82e$3d6cc4a0$1e01a8c0@mrblondelaptop> Message-ID: >Hello, > > Ive been running Interchange catalogs for a couple of years now. Within >the last couple of weeks GNDCOM no longer appears as a shipping option. I >havent made any recent changes to shipping.asc , country.txt, or >catalog.cfg and everything looks the same. I do UPS lookups via the >internet and my other shipping options work fine. Has anyone else >encountered this? Could the UPS lookup script me responsible. Thanks for >any reply. > >Michael Stone >>I had the same question... >>Look a few posts up :) I'm pretty sure the default mode in 4.8.5+ is for the checkout page to suppress zero values in the shipping options. Here is a cut of code from my checkout page that you might want to try: [comment]   (Will Update Display)
[/comment]   (Will Update Display)
**** Uncomment the commented section, and comment out the normal select. The part commented out will allow the results to return zero amounts for testing purposes if upsgnd is returning zero you will know this is a problem of data from the UPS site. I highly recommend moving to tables, for reliability and for speed if nothing else. **** -Steve From interchange-users@icdevgroup.org Thu Jan 9 17:51:00 2003 From: interchange-users@icdevgroup.org (Caleb Phillips) Date: Thu Jan 9 17:51:00 2003 Subject: [ic] Interchange Keeps Dying In-Reply-To: <002901c2b354$da53e070$0cc0a8c0@getontothe.net> References: <002901c2b354$da53e070$0cc0a8c0@getontothe.net> Message-ID: <1042152642.22569.33.camel@kiosk.studioresource.net> On Fri, 2003-01-03 at 10:20, Adrian P Wilkinson wrote: > Everything looks good and appears to be working as expected but the > Interchange server just appears to die randomly for no reason. Sometimes > it'll die after 20 mins, sometimes after 20 hours, even when I'm still > logged into the system and there is no "idle process killer" daemon running > to my knowledge. > > Any suggestions as how I can find out -WHY- it keeps dying Err...any information in /var/log/messages(or equivalent)? How is your memory use? (top and then 'M') Did you change anything that made this start happening, or did it always? > and how I can > stop it from doing so? Qmail ships with a program called supervise that you can use to keep it running. This is obviously a very shoddy solution, but it is better than nothing. Good Luck -- ------------------------------------------- | Caleb Phillips | | The Studio Resource | | IT Specialist | | | | Handcrafted for you in Ximian Evolution | ------------------------------------------- From interchange-users@icdevgroup.org Thu Jan 9 18:14:00 2003 From: interchange-users@icdevgroup.org (Caleb Phillips) Date: Thu Jan 9 18:14:00 2003 Subject: [ic] books on IC? In-Reply-To: <14260.65.213.159.130.1042115286.squirrel@tidal> References: <14260.65.213.159.130.1042115286.squirrel@tidal> Message-ID: <1042154017.22568.36.camel@kiosk.studioresource.net> > Are there any books that > cover Interchange available for purchase, or can you still get hard copies > of the old Red Hat books? Nothing current. This has been asked before, and someone mentioned a practically obsolete guide, you might find it if you search the archives (assuming you are that desperate). -- ------------------------------------------- | Caleb Phillips | | The Studio Resource | | IT Specialist | | | | Handcrafted for you in Ximian Evolution | ------------------------------------------- From interchange-users@icdevgroup.org Thu Jan 9 19:10:01 2003 From: interchange-users@icdevgroup.org (Schuyler Langdon) Date: Thu Jan 9 19:10:01 2003 Subject: [ic] Flat Rate Shipping References: <000701c2b7be$a9d282d0$0b01a8c0@NT3078> <1042120215.1471.15.camel@giesbrecht.redhat.org> <007101c2b807$f625cef0$0b00a8c0@TJMB> <001d01c2b82c$40755ba0$1702a8c0@gordito> Message-ID: <000c01c2b83c$6bef7940$1702a8c0@gordito> I wrote: > I'm using flat rate shipping as the default and only shipping method with > the 4.8 foundation store. I was wondering how you go about setting the > shipping rate? When a person checks out the page comes up "Nothing to ship" > unless the cart is recalculated. > Nevermind, I set $Values->{mv_shipmode}=$Variable->{SHIP_DEFAULT_MODE} if(!$Values->{mv_shipmode}); Schuyler Langdon GatorDev.com From interchange-users@icdevgroup.org Thu Jan 9 19:55:01 2003 From: interchange-users@icdevgroup.org (interch) Date: Thu Jan 9 19:55:01 2003 Subject: [ic] UPS References: <000601c2b673$b5cb9eb0$1e01a8c0@mrblondelaptop> <003101c2b686$f92639a0$0a01000a@badtzmaru.com> <005f01c2b75a$d4b88f80$0600a8c0@chris2> <009e01c2b75e$c102f300$0a01000a@badtzmaru.com> Message-ID: <009c01c2b842$e1b60530$0600a8c0@chris2> Ok after some further research here is the deal on UPS. The current perl module being used for ups calculations does violate the ups license. In addition to simply not being supported as a way to connect to ups. Even the author of Business::UPS states that the module should no longer be used. The new xml interface can be used without violating any licenses. You have to display the ups logo, display a notice if the shipping price displayed is different from that returned by ups, and the merchant has to sign up for an access key which is then sent with each request. I have a perl module for the new xml interface completed. It's basically a replacement for the Business::UPS module. The shipping.asc file needs a couple of changes, the usertag needs to be redone, and a couple of new global variables need to be added to make it all work. By the time I get done testing everything and cleaning up the code, it will probably be a couple of days before I post it to the list. Chris ----- Original Message ----- From: "Jeff Dafoe" To: Sent: Wednesday, January 08, 2003 1:41 PM Subject: Re: [ic] UPS > > Unless the ups license forbids using an open source license for the code > > I believe that the UPS license is indeed why we see no further > development for any of the online UPS tools. > > Jeff > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Thu Jan 9 21:19:01 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Thu Jan 9 21:19:01 2003 Subject: [ic] Secure server FAQs [monthly posting] Message-ID: <20030109211800.A13680@bill.heins.net> These are the FAQs: Shopping cart is dropped when using SSL. This is a thorny question. It has many possible causes, and most often occurs when you try to use a different secure server domain than the regular catalog runs on. (See the next question for more info on that.) If your secure domain is the same as the non-secure domain, it is usually due to the user not having cookies enabled. It can be due to the HostnameLookups (Stronghold/Apache parameter) not matching for the two servers, secure and non-secure. It can also be caused by the user having different web proxy addresses for HTTP and HTTPS. If it still does not work, try changing some of the appropriate configuration parameters in interchange.cfg: DomainTail No IpHead Yes If you still are having problems, try this combination in catalog.cfg, the catalog configuration file: SessionExpire 10 minutes WideOpen Yes The above setting will typically make Interchange work when it is possible to work. Sometimes when you have multiple Interchange servers sharing the same secure server, you will have problems after accessing the second one. (The first one issues a session ID cookie, and that causes problems). I have a different secure server domain. Why does the shopping cart get dropped? First of all, it is questionable business practice to not certify your secure server. Besides violating the terms of use of many certificate issuers, customers notice the changed domain and it is proven by user surveys and long experience that you will receive fewer orders as a result. Certs can be obtained for $125 US per year, less than the typical cost of one hour of a top consultant's time. Do your business a favor -- spend the money to get a cert. If you insist on doing it anyway, probably driven by the fact that you need a dedicated IP address for a secure server, you can use the solutions in the previous FAQ question and get some relief. But by far the best way is to have all orders and shopping cart calls go only to the secure domain. Your users may get a different session when browsing the non-secure catalog pages, but it will matter little. To do this on the Foundation demo, place in catalog.cfg: AlwaysSecure order ord/basket ord/checkout A more complete list might be: AlwaysSecure <Order it To make a form-based order button secure, use "[process secure=1]" as the ACTION. My images aren't there on the secure server!!! You have a different document root, or the permissions are not such that you can access them. You can set a different base URL for images with: ImageDirSecure https://your.secure.server/somewhere/images Don't try to set it to an http:// URL -- images will be broken anyway. My secure pages fail when my browser is MSIE. MSIE has several SSL bugs, particularly in V5.01. See the C or C FAQ. You can sometimes fix this with an httpd.conf change: SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Fast, reliable, cheap. Pick two and we'll talk. -- unknown From interchange-users@icdevgroup.org Thu Jan 9 21:58:00 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Thu Jan 9 21:58:00 2003 Subject: [ic] free report of most frequently viewed products Message-ID: <000701c2b853$04927a60$0a01000a@badtzmaru.com> Hello, At the bottom of interchange/lib/UI/pages/admin/reports/traffic/ByAffiliate.html is a block of commented out code. If you put the following code either directly above that or directly below it, you will get a fairly ghetto looking list of the top ten most viewed items for the time period for which the report is being run. ===== my @topsellers; my $product; my $maxsellers=10; for(my $i=0; $i<$maxsellers; $i++) { $topsellers[$i]=0; } for(keys %{$action_by_tag{VIEWPROD}}) { $product = $_; for(my $i=0; $i<$maxsellers; $i++) { if ($action_by_tag{VIEWPROD}{$product}>$action_by_tag{VIEWPROD}{$topsellers[$i] }) { for(my $j=($maxsellers-1); $j==$i; $j--) { $topsellers[$j+1]=$topsellers[$j]; } $topsellers[$i]=$product; last; } } } $out .= ''; for(my $i=0; $i<$maxsellers; $i++) { $out .= $topsellers[$i].':'.$action_by_tag{VIEWPROD}{$topsellers[$i]}.'
'; } $out .= ''; ===== From interchange-users@icdevgroup.org Thu Jan 9 23:08:00 2003 From: interchange-users@icdevgroup.org (Chris Tooley) Date: Thu Jan 9 23:08:00 2003 Subject: [ic] Product Tree Images Message-ID: <1042171250.2667.1.camel@localhost.localdomain> I'm trying to use the Product Tree menu system in Foudation v4.9.4 to create our menu system. However, I'd like to replace the Area names with images. Any ideas? -- Chris Tooley From interchange-users@icdevgroup.org Fri Jan 10 06:30:01 2003 From: interchange-users@icdevgroup.org (Dion Jones) Date: Fri Jan 10 06:30:01 2003 Subject: [ic] Horizontal Flyout menu Message-ID: Hiya. The flyout menu component that comes with the foundation store produces a great flyout menu, but a vertical one, with the top level items under each other. Has anyone found a way to create one where the top level items are by the side of each other? (kind of like the icdevgroup.org menus) thanks Dion Jones Web developer -------------------------------- Small Island Trader Limited Web: http://www.smallislandtrader.com mailto:dion@smallislandtrader.com Brockton Hall, Eccleshall Stafford ST21 6LY, United Kingdom Tel: +44 (0) 1785 851800 Fax: +44 (0) 1785 851900 From interchange-users@icdevgroup.org Fri Jan 10 07:19:00 2003 From: interchange-users@icdevgroup.org (Ian) Date: Fri Jan 10 07:19:00 2003 Subject: [ic] stable ic acvise References: Message-ID: <004c01c2b8a2$636bd820$d701a8c0@w3itdev> Hi could someone please advise me. I have never used IC before and am actually more use to JSP/Java as opposed to Perl. However I found IC and was impressed with the demo. I decided that it looked supported enough and well established that it should not take long to employ. That has not been the case. All I have done is to utilise the foundation demo making a new theme. Yet it seems to me that everywhere I turn I come across a problem. Is this due to it being setup through CPanel? I contacted my ISP about your warning note but so far have had no response on that. Am I flogging a dead duck trying to get this up and running with this kind of setup? I have command line access, but the Interchange is shared, thus no interchange.cfg access and the like. Is there a way to "reset" IC and would this be a god idea? Any help appreciated. Ian IC Version: 4.9.3-200211090658 From interchange-users@icdevgroup.org Fri Jan 10 08:37:01 2003 From: interchange-users@icdevgroup.org (C.B. Currier) Date: Fri Jan 10 08:37:01 2003 Subject: [ic] Problem w/ Removing Custom Gateway In-Reply-To: <004c01c2b8a2$636bd820$d701a8c0@w3itdev> References: <004c01c2b8a2$636bd820$d701a8c0@w3itdev> Message-ID: <33176.68.32.170.192.1042205737.squirrel@mail.spinrx.com> Trying to remove a custom gate way configuration i implemented early last year. However after what I believe to be a full follow through implementing Cybercash, I am getting the following error: (custom_gateway): Charge operation 'custom_gateway' failed. on the payment page. I have checked and rechecked all pages, from Order.pm to checkout.html. I cannot remember wher I might have stuck a tag in the html pages refering to the custom_gateway. Any suggestions most appreciated. C.B. Currier From interchange-users@icdevgroup.org Fri Jan 10 08:45:01 2003 From: interchange-users@icdevgroup.org (Gerry Kirk) Date: Fri Jan 10 08:45:01 2003 Subject: [ic] How to create mailing lists? In-Reply-To: <007101c2b807$f625cef0$0b00a8c0@TJMB> References: <000701c2b7be$a9d282d0$0b01a8c0@NT3078> <1042120215.1471.15.camel@giesbrecht.redhat.org> <007101c2b807$f625cef0$0b00a8c0@TJMB> Message-ID: <1042206266.1543.5.camel@giesbrecht.redhat.org> On Thu, 2003-01-09 at 12:53, Thomas J.M. Burton wrote: > ...snip... > We use majordomo for our mailing lists, and don't use IC to manage the > existence of any lists. Each of the catalogs we run currently has only > one list, and on the checkout page I have a "Would you like to receive > our free newsletter?" area with a "Yes/No" select list. > > At the top of the etc/mail_receipt file for that catalog (I have e-mail > address required and don't give customers an option not to receive an > e-mail receipt, so this file will always be processed), I've added > lines like this: > > [if value mail_list == 1] > [email to="listname-request@domain.com"] > subscribe [value email] > [/email] > [/if] > > This sends an e-mail to majordomo requesting a subscription to the > list. If you have e-mail receipt as an option for the customer, you > might want to put the above code into the etc/report file instead of > mail_receipt. > > That's my two cents. Hope it helps. :) > Thanks for the overview. That does help. Just a few more questions, if you don't mind: 1. Do you have the mailing list set up so that users don't have to confirm their addition to the list? If so, how is that done? 2. Normally a password is involved to change user mailing list settings, say if someone decides to remove themselves from the list. How do you automate the removal of users from the list? Thanks. - Gerry > > -Tom > > ___________________________________ > Thomas J.M. Burton, Design/Production > Global Focus Digital Media, LLC > www.globalfocusdm.com > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users ________________________________________________________________________ Gerry Kirk IT consulting for positive change ph 705.759.8026 fax 780.401.3517 From interchange-users@icdevgroup.org Fri Jan 10 08:54:00 2003 From: interchange-users@icdevgroup.org (Gerry Kirk) Date: Fri Jan 10 08:54:00 2003 Subject: [ic] Request to add this list to gmane newsreader Message-ID: <1042206796.1347.15.camel@giesbrecht.redhat.org> Hi, gmane.org provides an excellent service for mailing lists by enabling them to be read through a news reader. In addition, list archives can be searched through their web interface. This is a request to add the interchange mailing list to gmane.org, which can be done by filling in the subscription form on their web site. Regards, Gerry ________________________________________________________________________ Gerry Kirk IT consulting for positive change ph 705.759.8026 fax 780.401.3517 From interchange-users@icdevgroup.org Fri Jan 10 09:05:01 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Fri Jan 10 09:05:01 2003 Subject: [ic] Problem w/ Removing Custom Gateway In-Reply-To: <33176.68.32.170.192.1042205737.squirrel@mail.spinrx.com> Message-ID: <000001c2b8b1$27b09000$020110ac@majestic.cursor-software.co.uk> C.B. Currier [cbcurrier@spinrx.com] wrote: > > Trying to remove a custom gate way configuration i implemented early last > year. However after what I believe to be a full follow through > implementing Cybercash, I am getting the following error: > > (custom_gateway): Charge operation 'custom_gateway' failed. > > on the payment page. > > I have checked and rechecked all pages, from Order.pm to checkout.html. I > cannot remember wher I might have stuck a tag in the html pages refering > to the custom_gateway. > check your order profile and your log_transaction file. What did your custom gateway connect to? Would it be of use to others? -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Fri Jan 10 09:24:00 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Fri Jan 10 09:24:00 2003 Subject: [ic] stable ic acvise In-Reply-To: <004c01c2b8a2$636bd820$d701a8c0@w3itdev> Message-ID: <000101c2b8b3$e49c4ae0$020110ac@majestic.cursor-software.co.uk> Ian [ian@w3it.com] wrote: > > All I have done is to utilise the foundation demo making a new theme. Yet it > seems to me that everywhere I turn I come across a problem. > > Is this due to it being setup through CPanel? I contacted my ISP about your > warning note but so far have had no response on that. > If you receive no response at this point then you should take that as a warning about what may happen when you urgently need support in the future. If your host supplies Interchange with CPanel then their full support WILL be required. In fact, any host that advertises and supplies Interchange MUST have a proper working knowledge of the application and provide full administrative support. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Fri Jan 10 10:11:00 2003 From: interchange-users@icdevgroup.org (Rich Doughty) Date: Fri Jan 10 10:11:00 2003 Subject: [ic] Occasional Server Errors - Could not lock file Message-ID: <20030110151019.A16297@earth.opusvl.com> im currently running a site with a frameset (ugh). things are usually OK, but say 1 in 5 times when the whole frameset is loaded, one of the frame comes back with "Internal Server Error". The Logs show Runtime error: Could not lock file: Interrupted System Call. LockType is set to the default (ie not set) is there any to force the frames to load serially, or force the lock attemt to wait and try again? cheers - Rich Doughty From interchange-users@icdevgroup.org Fri Jan 10 10:45:01 2003 From: interchange-users@icdevgroup.org (Ian Cowley) Date: Fri Jan 10 10:45:01 2003 Subject: [ic] Autoload - can't get it to work Message-ID: I'm trying to use Autoload. I cannot get it to work, even using the basic code below. I've restarted Interchange and checked the logs, Interchange restarts fine. Here's my code: In /interchange/catalog.cfg: Autoload <{mook} = "Test"; return; [/perl] EOS Then, on the index page I try to display the value using [scratch mook], nothing appears. I've restarted Interchange and checked the logs, Interchange restarts fine. I have noticed that when I move the Autoload code up towards the beginning of catalog.cfg then I get an error when restarting Interchange. What am I missing? Thanks Ian Cowley From interchange-users@icdevgroup.org Fri Jan 10 10:52:00 2003 From: interchange-users@icdevgroup.org (C.B. Currier) Date: Fri Jan 10 10:52:00 2003 Subject: [ic] Problem w/ Removing Custom Gateway In-Reply-To: <000001c2b8b1$27b09000$020110ac@majestic.cursor-software.co.uk> References: <33176.68.32.170.192.1042205737.squirrel@mail.spinrx.com> <000001c2b8b1$27b09000$020110ac@majestic.cursor-software.co.uk> Message-ID: <1744.216.200.97.45.1042213857.squirrel@mail.spinrx.com> Kevin Walsh said: > C.B. Currier [cbcurrier@spinrx.com] wrote: >> >> Trying to remove a custom gate way configuration i implemented early >> last year. However after what I believe to be a full follow through >> implementing Cybercash, I am getting the following error: >> >> (custom_gateway): Charge operation 'custom_gateway' failed. >> >> on the payment page. >> >> I have checked and rechecked all pages, from Order.pm to >> checkout.html. I cannot remember wher I might have stuck a tag in the >> html pages refering to the custom_gateway. >> > check your order profile and your log_transaction file. > > What did your custom gateway connect to? Would it be of use to others? I have a Stupid Question: Where is the order profile? I know where the payment routes are but not sure on the profile. My gateway connected to NOVA and since I am a certified gateway for NOVA this was and is perfect for my clients that use this system. It is similar to authorizenet's interface. I am switching one client off and since their box is dedicated, no problem, but this error. I can provide it (called vericommerce) if any one is interested. although the configuration goes through my servers for authorization. C.B. Currier From interchange-users@icdevgroup.org Fri Jan 10 11:49:01 2003 From: interchange-users@icdevgroup.org (Jonathan Clark) Date: Fri Jan 10 11:49:01 2003 Subject: [ic] Autoload - can't get it to work In-Reply-To: Message-ID: <002d01c2b8c7$5d4f0e60$0301a8c0@NT3078> > I'm trying to use Autoload. I cannot get it to work, even using the basic > code below. I've restarted Interchange and checked the logs, Interchange > restarts fine. > > Here's my code: > In /interchange/catalog.cfg: > > Autoload < [perl] > $Scratch->{mook} = "Test"; > return; > [/perl] > EOS > > Then, on the index page I try to display the value using [scratch mook], > nothing appears. I've restarted Interchange and checked the logs, > Interchange restarts fine. I have noticed that when I move the Autoload > code up towards the beginning of catalog.cfg then I get an error when > restarting Interchange. > > What am I missing? One (possibly daft) suggestion.. check the 'EOS' to make sure there is no white space after it. When you move the code up the catalog.cfg, and it fails, what is in the error log? Jonathan www.webmaint.net From interchange-users@icdevgroup.org Fri Jan 10 12:31:01 2003 From: interchange-users@icdevgroup.org (Brian Kosick) Date: Fri Jan 10 12:31:01 2003 Subject: [ic] PC Text Editor and IC In-Reply-To: <20E95072-2350-11D7-9212-0030654BBC4C@kdw.us> References: <20E95072-2350-11D7-9212-0030654BBC4C@kdw.us> Message-ID: <3E1F030D.7030701@nacs.net> Josh Lavin wrote: >> What is the best editor to use in the PC when you are working in IC? > > > Emacs is also available for PC and Mac OS X. > > Josh > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users Jedit http://www.jedit.org Dan's written an IC tag highlighting plugin here. Though it was originally created for 4.6.x it should work for later versions pretty well. http://www.icdevgroup.org/~danb/interchange.xml I especially like Jedits ability to do FTP editing. You can FTP and edit a file just like it was on your local machine!. From interchange-users@icdevgroup.org Fri Jan 10 12:51:01 2003 From: interchange-users@icdevgroup.org (Ed LaFrance) Date: Fri Jan 10 12:51:01 2003 Subject: [ic] Problem w/ Removing Custom Gateway In-Reply-To: <1744.216.200.97.45.1042213857.squirrel@mail.spinrx.com> References: <000001c2b8b1$27b09000$020110ac@majestic.cursor-software.co.uk> <33176.68.32.170.192.1042205737.squirrel@mail.spinrx.com> <000001c2b8b1$27b09000$020110ac@majestic.cursor-software.co.uk> Message-ID: <5.1.1.6.0.20030110094733.0372d790@mail.newmediaems.com> At 10:50 AM 01/10/2003 -0500, you wrote: >Kevin Walsh said: > > C.B. Currier [cbcurrier@spinrx.com] wrote: > >> > >> Trying to remove a custom gate way configuration i implemented early > >> last year. However after what I believe to be a full follow through > >> implementing Cybercash, I am getting the following error: > >> > >> (custom_gateway): Charge operation 'custom_gateway' failed. > >> > >> on the payment page. > >> > >> I have checked and rechecked all pages, from Order.pm to > >> checkout.html. I cannot remember wher I might have stuck a tag in the > >> html pages refering to the custom_gateway. > >> > > check your order profile and your log_transaction file. > > > > What did your custom gateway connect to? Would it be of use to others? > >I have a Stupid Question: Where is the order profile? I know where the >payment routes are but not sure on the profile. Order profiles are in yourcat/etc/profiles.order.BTW, did you check the value MV_PAYMENT_MODE in the variable table? In the foundation demo, this is typically used to specify the gateway for payment processing. - Ed L. >My gateway connected to NOVA and since I am a certified gateway for NOVA >this was and is perfect for my clients that use this system. It is >similar to authorizenet's interface. I am switching one client off and >since their box is dedicated, no problem, but this error. > >I can provide it (called vericommerce) if any one is interested. although >the configuration goes through my servers for authorization. > >C.B. Currier > > > >_______________________________________________ >interchange-users mailing list >interchange-users@icdevgroup.org >http://www.icdevgroup.org/mailman/listinfo/interchange-users =============================================================== New Media E.M.S. Technology Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From interchange-users@icdevgroup.org Fri Jan 10 12:55:00 2003 From: interchange-users@icdevgroup.org (Ed LaFrance) Date: Fri Jan 10 12:55:00 2003 Subject: [ic] Autoload - can't get it to work In-Reply-To: Message-ID: <5.1.1.6.0.20030110095050.03727a70@mail.newmediaems.com> At 03:18 PM 01/10/2003 +0000, you wrote: >I'm trying to use Autoload. I cannot get it to work, even using the basic >code below. I've restarted Interchange and checked the logs, Interchange >restarts fine. > >Here's my code: > In /interchange/catalog.cfg: > > Autoload < [perl] > $Scratch->{mook} = "Test"; > return; > [/perl] > EOS > >Then, on the index page I try to display the value using [scratch mook], >nothing appears. I've restarted Interchange and checked the logs, >Interchange restarts fine. I have noticed that when I move the Autoload >code up towards the beginning of catalog.cfg then I get an error when >restarting Interchange. > >What am I missing? If you added this with a windows-based text editor and then ftp'd it up to your site, carriage-return contamination would be highly suspect. I've posted the perl one-liner for stripping CR's out of a dirty file many times; here it is again: perl -i -p -e 's/\r//g' filename - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From interchange-users@icdevgroup.org Fri Jan 10 13:19:00 2003 From: interchange-users@icdevgroup.org (Dan Browning) Date: Fri Jan 10 13:19:00 2003 Subject: [ic] PC Text Editor and IC In-Reply-To: <3E1F030D.7030701@nacs.net> References: <20E95072-2350-11D7-9212-0030654BBC4C@kdw.us> <20E95072-2350-11D7-9212-0030654BBC4C@kdw.us> Message-ID: <5.2.0.9.0.20030110101734.00adab20@mail.kavod.com> At 12:29 PM 1/10/2003 -0500, you wrote: >Josh Lavin wrote: > >>>What is the best editor to use in the PC when you are working in IC? >> >>Emacs is also available for PC and Mac OS X. > >Dan's written an IC tag highlighting plugin here. Actually, Chris Jesseman <chris@sitemajic.net> wrote it. [I can't go around accepting un-due credit, unless it's about my dashing good looks]. ;-) -- /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\ | Dan Browning, Kavod Technologies, | | 6700 NE 162nd Ave, Suite 210, Vancouver, WA (360) 843-4074 x217 | \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/ Character Density, n.: The number of very weird people in the office. From interchange-users@icdevgroup.org Fri Jan 10 14:16:01 2003 From: interchange-users@icdevgroup.org (Ian Corner) Date: Fri Jan 10 14:16:01 2003 Subject: [ic] stable ic acvise In-Reply-To: <000101c2b8b3$e49c4ae0$020110ac@majestic.cursor-software.co.uk> Message-ID: Kevin thanks for your reply. I wondered what people think to maintaing IC on a dedicated server? I have another project that requires a dedicated server. What with maintaining the general Linux/Java environment is administering IC a tall order? Anyone have any feedback on administering your own server with IC? Come to that is anyone looking for IC on their own dedicated server and want to share the responsibility/costs with me? Regards Ian -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Kevin Walsh Sent: 10 January 2003 15:24 To: interchange-users@icdevgroup.org Subject: RE: [ic] stable ic acvise Ian [ian@w3it.com] wrote: > > All I have done is to utilise the foundation demo making a new theme. Yet it > seems to me that everywhere I turn I come across a problem. > > Is this due to it being setup through CPanel? I contacted my ISP about your > warning note but so far have had no response on that. > If you receive no response at this point then you should take that as a warning about what may happen when you urgently need support in the future. If your host supplies Interchange with CPanel then their full support WILL be required. In fact, any host that advertises and supplies Interchange MUST have a proper working knowledge of the application and provide full administrative support. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Fri Jan 10 14:50:01 2003 From: interchange-users@icdevgroup.org (Paul Jordan) Date: Fri Jan 10 14:50:01 2003 Subject: [ic] stable ic acvise In-Reply-To: Message-ID: > Kevin > thanks for your reply. > > I wondered what people think to maintaing IC on a dedicated server? I have > another project that requires a dedicated server. What with > maintaining the > general Linux/Java environment is administering IC a tall order? > > Anyone have any feedback on administering your own server with IC? Come to > that is anyone looking for IC on their own dedicated server and want to > share the responsibility/costs with me? > > Regards > Ian Ian, please use contextual quoting here, where you would reply *below* the post you are replying to. It just makes things easier to read ;) I have a dedicated server, and I went in knowing nothing, thankfully my primary consultant really hooked me up with a nice clean setup. Howeveer it is a big responsibility (esp when things go wrong from making bonehead moves). You may want to subscribe to the ic-biz mailist to find some hosts fo for IC. Said that, There are people here that will give you very complete shared hosting. Like www.newmediaems.com, they offer dedicated as well as shared. I think you would be better off (for now) on a shared server, with a competent host. No need to spend money that is not neccessary, and take on more responsibility than you need to. Also, given the fact that you will need to have an above average interaction level with your host WRT using Cpanel, it makes sense just to avoid Cpanel in the first place and opt for something else that gives the control back to you (where it belongs). I use Plesk. HTH Paul From interchange-users@icdevgroup.org Fri Jan 10 15:06:01 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Fri Jan 10 15:06:01 2003 Subject: [ic] url parameters Message-ID: <001701c2b8e2$9721f560$0a01000a@badtzmaru.com> Should http://www.site.com?mv_pc=whatever/ generate a source of "whatever/"? Should the slash be stripped off the end by IC? I am having a "discussion" with a paid search listings company whose software erroneously appends the slash to the end. They claim it shouldn't matter, I am not aware of anything that says that a slash at the end should be stripped and I feel their software is at fault. It is obviously at fault for inserting the slash but I wanted to make sure that IC was indeed not at fault for appending it to the value of mv_pc. Thanks, Jeff From interchange-users@icdevgroup.org Fri Jan 10 15:49:01 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Fri Jan 10 15:49:01 2003 Subject: [ic] url parameters In-Reply-To: <001701c2b8e2$9721f560$0a01000a@badtzmaru.com>; from jeff@badtz-maru.com on Fri, Jan 10, 2003 at 02:58:03PM -0500 References: <001701c2b8e2$9721f560$0a01000a@badtzmaru.com> Message-ID: <20030110154824.A23341@bill.heins.net> Quoting Jeff Dafoe (jeff@badtz-maru.com): > > Should http://www.site.com?mv_pc=whatever/ generate a source of "whatever/"? Nope -- doesn't qualify as a source, has a non-word character. > Should the slash be stripped off the end by IC? Nope, once the question mark is there all remaining characters are part of the query string and have nothing to do with anything else. I don't know how "www.site.com" would get that parameter anyway, unless all requests were being handled by IC and somehow mod_interchange was forwarding such requests. > I am having a "discussion" > with a paid search listings company whose software erroneously appends the > slash to the end. They claim it shouldn't matter, I am not aware of > anything that says that a slash at the end should be stripped and I feel > their software is at fault. It is obviously at fault for inserting the > slash but I wanted to make sure that IC was indeed not at fault for > appending it to the value of mv_pc -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Friends don't let friends use Outlook. -- Bob Blaylock From interchange-users@icdevgroup.org Fri Jan 10 16:35:01 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Fri Jan 10 16:35:01 2003 Subject: [ic] url parameters References: <001701c2b8e2$9721f560$0a01000a@badtzmaru.com> <20030110154824.A23341@bill.heins.net> Message-ID: <000701c2b8ef$008054a0$0a01000a@badtzmaru.com> > I don't know how "www.site.com" would get that parameter anyway, unless > all requests were being handled by IC and somehow mod_interchange was forwarding > such requests. Just as a note, mod_rewrite expands the url out to www.site.com/site/page?params . Thanks, Jeff From interchange-users@icdevgroup.org Fri Jan 10 17:25:01 2003 From: interchange-users@icdevgroup.org (interch) Date: Fri Jan 10 17:25:01 2003 Subject: [ic] Ups interface for Ups Online Tools References: <001701c2b8e2$9721f560$0a01000a@badtzmaru.com> <20030110154824.A23341@bill.heins.net> <000701c2b8ef$008054a0$0a01000a@badtzmaru.com> Message-ID: <009001c2b8f7$026d8500$0600a8c0@chris2> I have placed a tarball of my implementation of the Ups Online Tools at http://ic2.paymentonline.com/ups/ups.tar.gz. It is basically a replacement for Business::UPS. It also includes a modified ups-query tag and shipping.asc. I have done some testing on it, but it was thrown together fairly quickly. Read the README file to see a quick installation guide. You will also need one of the perl SSL modules installed and XML::Simple. If you use one of the payment gateway modules that uses ssl, you should be ok for ssl. XML::Simple I think you will have to grab from cpan. There might be more dependancies also, I can't remember since I am using freebsd and installed using a port. One thing it does do is move some functionality out of the perl module and into Interchange itself. So you can now configure your pickup type, set the packaging type in shipping.asc if you wish, etc.. And don't use this if you aren't familiar with Interchange. If it breaks something, it's on your head. It works for me, but your setup might be different. Chris From interchange-users@icdevgroup.org Fri Jan 10 17:50:00 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Fri Jan 10 17:50:00 2003 Subject: [ic] url parameters In-Reply-To: <000701c2b8ef$008054a0$0a01000a@badtzmaru.com>; from jeff@badtz-maru.com on Fri, Jan 10, 2003 at 04:26:54PM -0500 References: <001701c2b8e2$9721f560$0a01000a@badtzmaru.com> <20030110154824.A23341@bill.heins.net> <000701c2b8ef$008054a0$0a01000a@badtzmaru.com> Message-ID: <20030110174843.A24644@bill.heins.net> Quoting Jeff Dafoe (jeff@badtz-maru.com): > > I don't know how "www.site.com" would get that parameter anyway, unless > > all requests were being handled by IC and somehow mod_interchange was > forwarding > > such requests. > > Just as a note, mod_rewrite expands the url out to > www.site.com/site/page?params . > There's your answer -- do a bit more rewriting and remove the last /. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers From interchange-users@icdevgroup.org Fri Jan 10 18:23:00 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Fri Jan 10 18:23:00 2003 Subject: [ic] url parameters References: <001701c2b8e2$9721f560$0a01000a@badtzmaru.com> <20030110154824.A23341@bill.heins.net> <000701c2b8ef$008054a0$0a01000a@badtzmaru.com> <20030110174843.A24644@bill.heins.net> Message-ID: <006d01c2b8fe$14101f00$0a01000a@badtzmaru.com> > > Just as a note, mod_rewrite expands the url out to > > www.site.com/site/page?params . > > > > There's your answer -- do a bit more rewriting and remove the last /. Oh, I could definitely fix it, I just didn't like the comment from Overture that the slash they were appending to the end of the url was "not something over which Overture exercises any control" and was "an internet standard which occurs within most browsers". I enter "w.x.y?n=v" and their system changes it to "w.x.y/?n=v/" . I say the problem is not in my system's inability to accept that but rather in their inability to not mangle the url I input into their system. They managed to get the middle slash removed but the last one seems to be a real stumper for them. I just wanted to make sure there wasn't some actual internet standard that I wasn't aware of dictating that slashes appended to url parameters by companies named overture were to be stripped off by the receiving server. That standard doesn't seem to exist. Thanks again, Jeff From interchange-users@icdevgroup.org Sat Jan 11 01:11:00 2003 From: interchange-users@icdevgroup.org (NagitaK) Date: Sat Jan 11 01:11:00 2003 Subject: [ic] [set page_title][set] in template file Message-ID: <2FDDA163.0F681311.00064088@netscape.net> In IC 4.8.6, what is the function of the line [set page_title][set] in a template file such as ../catalogs/foundation/templates/leftonly ? EditPage generates the same page even if it is removed. Is it a default? Thanks NagitaK __________________________________________________________________ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ From interchange-users@icdevgroup.org Sat Jan 11 19:32:01 2003 From: interchange-users@icdevgroup.org (Sonny Cook) Date: Sat Jan 11 19:32:01 2003 Subject: [ic] empty cart and profiles.order Message-ID: I am trying to use the order profile to enforce a form policy. The kicker is that I am not using a cart on the site, so the error page reports that I have no items in my shopping cart when I submit the form. I notice that this particular warning is hard coded to appear if !scalar @{$Vend::Items}. How can I trick intervend so this warning will not appear? Thanks Sonny Cook From interchange-users@icdevgroup.org Sat Jan 11 20:01:01 2003 From: interchange-users@icdevgroup.org (Jon Jensen) Date: Sat Jan 11 20:01:01 2003 Subject: [ic] empty cart and profiles.order In-Reply-To: References: Message-ID: On Sun, 12 Jan 2003, Sonny Cook wrote: > I am trying to use the order profile to enforce a form policy. The kicker > is that I am not using a cart on the site, so the error page reports that > I have no items in my shopping cart when I submit the form. Can you use mv_form_profile instead of mv_order_profile? Jon From interchange-users@icdevgroup.org Sat Jan 11 21:44:00 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Sat Jan 11 21:44:00 2003 Subject: [ic] empty cart and profiles.order In-Reply-To: ; from jon@endpoint.com on Sun, Jan 12, 2003 at 01:00:22AM +0000 References: Message-ID: <20030111214244.A5266@bill.heins.net> Quoting Jon Jensen (jon@endpoint.com): > On Sun, 12 Jan 2003, Sonny Cook wrote: > > > I am trying to use the order profile to enforce a form policy. The kicker > > is that I am not using a cart on the site, so the error page reports that > > I have no items in my shopping cart when I submit the form. > > Can you use mv_form_profile instead of mv_order_profile? > Or failing that, just set: &final=no -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers From interchange-users@icdevgroup.org Sat Jan 11 22:30:01 2003 From: interchange-users@icdevgroup.org (Eric Johanson) Date: Sat Jan 11 22:30:01 2003 Subject: [ic] design in admin, 500 internal server error, [again] In-Reply-To: Message-ID: Hrm, it's been a number of days, and nobody has responded. Is there any other info I can provide about this? Thanks, Eric On Tue, 7 Jan 2003, Eric Johanson wrote: > Hi there, > > First time post, so be kind. :) Referenced [links] at the bottom of the > post. * > > When clicking on 'design' from the admin page, I get a 500 internal server > error. Nothing in any logs which I can find. > > Interchange 4.8.6 (via tarball) > Mandrake 9.0 [1] > Apache-AdvancedExtranetServer/1.3.26 > Perl 5.8.0 > Digest::MD5 found (v2.22). > LWP::Simple found (v1.36). > MIME::Base64 found (v2.16). > SQL::Statement found (v0.1021). > Safe::Hole found (v0.08). > Storable found (v2.06). > Tie::Watch not found. Minor: cannot set watch points in catalog.cfg. > URI::URL found (v5.03). > GDBM available (v1.06) > No Berkeley DB_File. > DBI enabled (v1.32), available drivers: ExampleP, Proxy, mysql > > After searching the archives, I found quite a bit of talk [2] about this > problem [3], which seems to hint at it being related to apache 2.0. I'm > not running apache 2.0, but I'm having the same problem. The default > Mandrake "Extranet" apache is loaded with stuff - - mod_perl via separate > apache process, etc. I have no problems running other stuff (perl, php, > mysql, etc, etc) under this setup. > > A related patch [4] was released, and put into the RPMs [5]. > > At this point, I'm not sure what's going on, as I've personally validated > that the version of IC I'm running (4.8.6), has this 'patch'. > > How can I crank up the verbosity of IC? I've never seen such... umm... > lackluster errors from perl/apache before... normally much more shows up > in the logs... > > Please let me know if I can provide more info on this problem; I'm really > quite lost at this point... :) > > Thanks in advance, > Eric Johanson > > > * > > [1] > http://www.icdevgroup.org/pipermail/interchange-users/2002-November/029338.html > [2] > http://www.icdevgroup.org/i/dev/swish.html?query=Internal%20Server%20Error%20design&sort_by=date > [3] > http://www.icdevgroup.org/pipermail/interchange-users/2002-November/029164.html > [4] > http://www.icdevgroup.org/cgi-bin/cvsweb/interchange/lib/Vend/Server.pm.diff?r1=2.16&r2=2.17 > [5] > http://www.icdevgroup.org/pipermail/interchange-users/2002-November/028516.html > > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > From interchange-users@icdevgroup.org Sun Jan 12 00:34:01 2003 From: interchange-users@icdevgroup.org (Sonny Cook) Date: Sun Jan 12 00:34:01 2003 Subject: [ic] empty cart and profiles.order In-Reply-To: Message-ID: > > I am trying to use the order profile to enforce a form policy. The kicker > > is that I am not using a cart on the site, so the error page reports that > > I have no items in my shopping cart when I submit the form. > > Can you use mv_form_profile instead of mv_order_profile? > > Jon Ah, yes, well if only I could have found that directive in the documentation. Thanks Jon. Sonny From interchange-users@icdevgroup.org Sun Jan 12 04:37:00 2003 From: interchange-users@icdevgroup.org (Cameron) Date: Sun Jan 12 04:37:00 2003 Subject: [ic] Paysystems Payment Gateway Message-ID: <00f301c2ba1d$423458e0$0100a8c0@spankmaster> I'm currently setting up automated cc billing through Paysytems.com's merchant gateway, and from what i've found on the mailing lists etc, noone has bothered having a crack at this before. It all looks fairly simple to me, it's just your usual POST with hidden fields you pass to the site that direct you to the appropriate pages on success, failure, etc. It also returns some data to you. My question is: is there any documentation out there on exactly how the whole checkout process works, and how the payment modules are installed and how they change the checkout procedure? I understand that on my checkout page, instead of the usual interchangey stuff, i'll direct it off to the payment gateway, but what would i set as a value for the "success" page? how would i ensure the order was added to the db? Basically, i'm fumbling in the dark on this a little, i was hoping to simply pull a hack job on someone else's module (hence assuring the order goes in the db, etc), but none of the ones i've seen modules for seem to act all that close to paysystem.com's methodolgy, insofar as they don't seem to use a "success" or "failure" URL. I can provide documentation on their service, should anyone be interested enough to flick through it... From interchange-users@icdevgroup.org Sun Jan 12 09:41:01 2003 From: interchange-users@icdevgroup.org (UNIVERSIDAD) Date: Sun Jan 12 09:41:01 2003 Subject: [ic] UNIVERSIDAD EN LINEA Message-ID: <588801c2ba48$598cb340$dff5000a@igo.com> UNIVERSIDAD EN LINEA - ASESORES VIRTUALES DEPARTAMENTO DE EXTENCIN ACADEMICA USUARIO : interchange-users@icdevgroup.org PRESENTE Universidad en lnea, desea a usted y familia, que este nuevo ao se encuentre lleno de amor, paz y mucha felicidad. Tambin aprovechamos de informar que; nuestro curso gratuito de actualizacin tecnolgica "USUARIO EXPERTO EN TECNOLOGA INTERNET", inicia lunes 27 de enero del 2003, por lo que an puede registrarse en http://www.asesoresvirtuales.com.mx/ulr y compartir esta invitacin con todo mundo. Por ultimo nos despedimos adelantando que aproximadamente el da 15 de este mes, lo invitaremos a ser miembro de nuestro centro de alumnos, con beneficios adicionales. Sin otro particular y esperando este sea el ao que usted desea. Saluda atentamente Pamela Beckerman Webmaster Asesores Virtuales Mxico From interchange-users@icdevgroup.org Sun Jan 12 11:24:00 2003 From: interchange-users@icdevgroup.org (Paul Jordan) Date: Sun Jan 12 11:24:00 2003 Subject: [ic] design in admin, 500 internal server error, [again] In-Reply-To: Message-ID: > > Hrm, it's been a number of days, and nobody has responded. > > Is there any other info I can provide about this? > > Thanks, > Eric > > On Tue, 7 Jan 2003, Eric Johanson wrote: > > > Hi there, > > > > First time post, so be kind. :) Referenced [links] at the > bottom of the > > post. * [snip] If I remeber correctly, a few people did reply to your post, including me. I am not saying that we solved your problem, but if you did not see them, I am sure they are in the archives, and they may help. Paul From interchange-users@icdevgroup.org Sun Jan 12 12:43:00 2003 From: interchange-users@icdevgroup.org (Diego Henao) Date: Sun Jan 12 12:43:00 2003 Subject: [ic] UNIVERSIDAD EN LINEA In-Reply-To: <588801c2ba48$598cb340$dff5000a@igo.com> Message-ID: <000601c2ba61$e4ed0d90$0400a8c0@windowsxp> Why are you sending this through this list?. This is a list for support and it is not a list to promote services or products. Thanks Diego -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org] On Behalf Of UNIVERSIDAD Sent: Sunday, January 12, 2003 6:30 AM To: interchange-users@icdevgroup.org Subject: [ic] UNIVERSIDAD EN LINEA UNIVERSIDAD EN LINEA - ASESORES VIRTUALES DEPARTAMENTO DE EXTENCIN ACADEMICA USUARIO : interchange-users@icdevgroup.org PRESENTE Universidad en lnea, desea a usted y familia, que este nuevo ao se encuentre lleno de amor, paz y mucha felicidad. Tambin aprovechamos de informar que; nuestro curso gratuito de actualizacin tecnolgica "USUARIO EXPERTO EN TECNOLOGA INTERNET", inicia lunes 27 de enero del 2003, por lo que an puede registrarse en http://www.asesoresvirtuales.com.mx/ulr y compartir esta invitacin con todo mundo. Por ultimo nos despedimos adelantando que aproximadamente el da 15 de este mes, lo invitaremos a ser miembro de nuestro centro de alumnos, con beneficios adicionales. Sin otro particular y esperando este sea el ao que usted desea. Saluda atentamente Pamela Beckerman Webmaster Asesores Virtuales Mxico _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Sun Jan 12 13:17:01 2003 From: interchange-users@icdevgroup.org (Cameron) Date: Sun Jan 12 13:17:01 2003 Subject: [ic] commissions References: Message-ID: <026b01c2ba65$d0107d40$0100a8c0@spankmaster> yeah, i did this. it was all fairly simple. just use the standard affiliates stuff, and when an order is placed, it'll get tagged with the appropriate affiliate's code. Then, in pages/affiliates/index.html stick this lump of code: Your sales statistics [perl tables="products orderline"] my $affiliate = $Session->{values}{mv_username}; my @OUT, %totals; my $results = $Tag->query({sql => 'select * from orderline'}); for (@{$results}) { if ($_->[19] =~ /$affiliate/) { $a = substr ($_->[15], 0, 6); $totals{$a} += $_->[9]; } } my $month; foreach $month ( keys %totals ) { undef $string; my $string .= "Total for $month "; my $sold = $totals{$month}; $string .= '$' . "$sold"; my $com = $sold * .05; $string .= " Commission earnt " . '$' . "$com
"; push @OUT,$string; } return join '',@OUT; [/perl] It's a long way from perfect, but it'll show you what you need to know. ----- Original Message ----- From: "Avi Mozes" To: Sent: Wednesday, December 18, 2002 9:40 PM Subject: [ic] commissions > Hi all, > I'm just getting acquainted with Interchange and I am loving it! I was > wondering if there's anyone out there who has written a hook for using and > calculating commissions for the sales. If you have, I would appreciate > either some pointers on doing this and/or code for this :) > > Thank you so much in advance. > > Avi > amozes@hotmail.com > > > > > > _________________________________________________________________ > Tired of spam? Get advanced junk mail protection with MSN 8. > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Sun Jan 12 15:57:00 2003 From: interchange-users@icdevgroup.org (Chris Anderson) Date: Sun Jan 12 15:57:00 2003 Subject: [ic] Interchange server not available Message-ID: Hello all, IC server is running. but I receive error when accessing localhost/cgi-bin/foundation (its there) and when trying admin link and customer entrance link. I checked my http error log: file does not exist /var/www/html/scripts file does not exist /var/www/html/_vti_bin and a few other files as well, MDAC etc. I installed from RPM, why are these missing and how do I resolve this? I'm digging thru the maillist archives for clues, any help would really be aprreciated. Thanks Chris From interchange-users@icdevgroup.org Sun Jan 12 16:59:01 2003 From: interchange-users@icdevgroup.org (Keyur Shah) Date: Sun Jan 12 16:59:01 2003 Subject: [ic] Static HTML pages Message-ID: <20030112215829.40918.qmail@web9601.mail.yahoo.com> Hello, I am looking for an alternate shopping cart solutions and this product looks promising. My questions are: 1) I have my pages in static html right now and have an "Add to Cart" button that passes the product information and product parameters to my remotely hosted shopping cart. I am paranoid to change my static html pages because I have achieved good rankings in Google for these words. Can I do a similar action in Interchange. I would like to keep the static html pages and add the appropriate form code in the html to add the product into the cart. I don't mind recreating the product in the database if this is possible. Any help would be appreciated. Also, if this is possible, would there be a way to allow a return link to the product in the cart. Looks like a great product and would love to use it. Thanks! KS __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From interchange-users@icdevgroup.org Sun Jan 12 17:59:00 2003 From: interchange-users@icdevgroup.org (Mark Esslinger) Date: Sun Jan 12 17:59:00 2003 Subject: [ic] Static HTML pages References: <20030112215829.40918.qmail@web9601.mail.yahoo.com> Message-ID: <001801c2ba8e$36f05e40$0300000a@mobile2> Keyer, Have you ever taken a look at patSpiderizer... a spider that works well with php scripted programs. You can check it out here: http://www.php-tools.de/site.php Good Luck! Mark Esslinger SolutionGroups.com SolutionCMS.com ----- Original Message ----- From: "Keyur Shah" To: Sent: Sunday, January 12, 2003 4:58 PM Subject: [ic] Static HTML pages > Hello, > > I am looking for an alternate shopping cart solutions > and this product looks promising. My questions are: > > 1) I have my pages in static html right now and have > an "Add to Cart" button that passes the product > information and product parameters to my remotely > hosted shopping cart. I am paranoid to change my > static html pages because I have achieved good > rankings in Google for these words. > > Can I do a similar action in Interchange. I would like > to keep the static html pages and add the appropriate > form code in the html to add the product into the > cart. I don't mind recreating the product in the > database if this is possible. Any help would be > appreciated. > > Also, if this is possible, would there be a way to > allow a return link to the product in the cart. > > Looks like a great product and would love to use it. > > Thanks! > > KS > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Sun Jan 12 18:10:01 2003 From: interchange-users@icdevgroup.org (David Zhang - msihosting) Date: Sun Jan 12 18:10:01 2003 Subject: [ic] Static HTML pages References: <20030112215829.40918.qmail@web9601.mail.yahoo.com> Message-ID: <000901c2ba92$7c824960$9303cb92@daqun> ----- Original Message ----- From: "Keyur Shah" > Can I do a similar action in Interchange. I would like > to keep the static html pages and add the appropriate > form code in the html to add the product into the > cart. I don't mind recreating the product in the > database if this is possible. Any help would be > appreciated. yes: Order the item will put the item to the cart. David ---------------------------- dzhang@msihosting.com http://www.msihosting.com Export -- ecommerce solution, Interchange hosting From interchange-users@icdevgroup.org Sun Jan 12 20:42:01 2003 From: interchange-users@icdevgroup.org (Keyur Shah) Date: Sun Jan 12 20:42:01 2003 Subject: [ic] Static HTML pages Message-ID: <20030113014054.61394.qmail@web9604.mail.yahoo.com> > Can I do a similar action in Interchange. I would like > to keep the static html pages and add the appropriate > form code in the html to add the product into the > cart. I don't mind recreating the product in the > database if this is possible. Any help would be > appreciated. >yes: > href="http://yourdomain.com/path_to_cart_cgi/cart.cgi/order.html?mv_order_it em=itmecodei">Order the item > will put the item to the cart. > David Thanks for the help. This adds the item to the cart, but in the cart, under Description, the link back to the product goes to the interchange product page. My product pages currently are structured as mysite.com/bluewidget.html whereas the interchange goes back to mysite.com/cgi-bin/cart.cgi/os28086.html if i can get the link back to change to my actual product page or create some kind of redirect in the interchange generated page to my static html page, that would be great. David, I also looked into your hosting service and would be interested. I sent a note to support but you can contact me directly. I also looked at PatSpiderizer, and it seems kinda dangerous. Google gets pretty picky about the hosts it searches and a tool like that may be alright, but you never know with google. I'd rather create a proper search friendly site from the beginning. Thanks. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From interchange-users@icdevgroup.org Sun Jan 12 21:45:01 2003 From: interchange-users@icdevgroup.org (dzhang-msi) Date: Sun Jan 12 21:45:01 2003 Subject: [ic] Static HTML pages References: <20030113014054.61394.qmail@web9604.mail.yahoo.com> Message-ID: <001301c2bab0$8b53ca90$9303cb92@daqun> ----- Original Message ----- From: "Keyur Shah" > My product pages currently are structured as > > mysite.com/bluewidget.html > > whereas the interchange goes back to > mysite.com/cgi-bin/cart.cgi/os28086.html > > if i can get the link back to change to my actual > product page or create some kind of redirect in the > interchange generated page to my static html page, > that would be great. Interchange needs to control the session. That's why the link back page is under cgi. I understand how significant a good google position to your business, and how much effort, time it takes to get that position. We can help you out. I 'll look at your note, and continue from there. David ---------------------------- dzhang@msihosting.com http://www.msihosting.com Export -- ecommerce solution, Interchange hosting From interchange-users@icdevgroup.org Sun Jan 12 23:25:01 2003 From: interchange-users@icdevgroup.org (Christopher Slaght) Date: Sun Jan 12 23:25:01 2003 Subject: [ic] stock alert Message-ID: <00cf01c2babb$4f85e1a0$6301000a@chris> I just realized that my in-stock notification does not work. I tested it by going to an item that had "0" inventory. The flypage show that there is no inventory and has in the in-stock option. I give it my name and email address. At this point I receive an email that tells me that when the item is in stock I will get an email to let me know it is in stock. I then went to the UI and increased the inventory from 0 to 10. No email was sent to me to tell me that it was now available. I am running Interchange 4.8.6 with foundation template. Chris Slaght Information Systems Solutions LTD. From interchange-users@icdevgroup.org Sun Jan 12 23:55:00 2003 From: interchange-users@icdevgroup.org (Jon) Date: Sun Jan 12 23:55:00 2003 Subject: [ic] Return Click Bar Message-ID: <3E224694.9E59912E@attglobal.net> Probably a bad Subject, but I'm not sure what it is called so I'm not having any luck searching for it. But I recall someone asking for this some time ago. How to build a one-click type search path bar that would look something like the following... Home -> ProductLevelItems -> CategoryLevelItems ..... Where, in the above example, the 'Home' would be active and take the user to the front page, 'ProductLevelItems' would also be active and take the user to the previous ProductLevelItems search, and CategoryLevelItems would not be a live link since it is the current page. Anyone recall doing this and how ?? Using IC 4.9.3 based off of foundation. Jon From interchange-users@icdevgroup.org Mon Jan 13 02:50:01 2003 From: interchange-users@icdevgroup.org (Miguel Navarro) Date: Mon Jan 13 02:50:01 2003 Subject: [ic] Custom Shipping Message-ID: <008801c2bad8$c037cd60$fd02000a@spider> Trying to build a custom shipping method eg. 1 through 9 items would be 1.50 per item 10 or more items would be 1.00 per item Have had no luck bypassing the UPS shipping method already present Thanks in advance From interchange-users@icdevgroup.org Mon Jan 13 04:34:01 2003 From: interchange-users@icdevgroup.org (Dion Jones) Date: Mon Jan 13 04:34:01 2003 Subject: [ic] Horizontal Flyout menu - did it get posted? Message-ID: Hiya. I don't know if this message got posted correctly as it shows on my browser with other people replying to it with the start of another question. Anyway, I posted again in case. The flyout menu component that comes with the foundation store produces a great flyout menu, but a vertical one, with the top level items under each other. Has anyone found a way to create one where the top level items are by the side of each other? (kind of like the icdevgroup.org menus) thanks Dion Jones From interchange-users@icdevgroup.org Mon Jan 13 05:31:01 2003 From: interchange-users@icdevgroup.org (Ian Cowley) Date: Mon Jan 13 05:31:01 2003 Subject: [ic] Autoload - can't get it to work Message-ID: > > > I'm trying to use Autoload. I cannot get it to work, even > using the basic > > code below. I've restarted Interchange and checked the > logs, Interchange > > restarts fine. > > > > Here's my code: > > In /interchange/catalog.cfg: > > > > Autoload < > [perl] > > $Scratch->{mook} = "Test"; > > return; > > [/perl] > > EOS > > > > Then, on the index page I try to display the value using > [scratch mook], > > nothing appears. I've restarted Interchange and checked the logs, > > Interchange restarts fine. I have noticed that when I move > the Autoload > > code up towards the beginning of catalog.cfg then I get an > error when > > restarting Interchange. > > > > What am I missing? > > > One (possibly daft) suggestion.. > > check the 'EOS' to make sure there is no white space after it. > > When you move the code up the catalog.cfg, and it fails, what > is in the > error log? > > Jonathan > www.webmaint.net > > Hi Jonathan There are no white spaces after the EOS Here are the lines from the error log: - - - [13/January/2003:09:17:44 +0000] - - STOP server (14421) on signal TERM - - - [13/January/2003:09:17:47 +0000] - - Interchange V4.9.6 - - - [13/January/2003:09:17:48 +0000] - - sit config error: Please specify the MailOrderTo directive in the configuration file '' - - - [13/January/2003:09:17:48 +0000] - - sit: config error. Skipping. - - - [13/January/2003:09:17:49 +0000] - - START server (23995) (UNIX) - - - [13/January/2003:09:17:49 +0000] - - START server (23995) (UNIX) Only reference to in catalog.cfg is "MailOrderTo __ORDERS_TO__" Ian Cowley From interchange-users@icdevgroup.org Mon Jan 13 08:05:01 2003 From: interchange-users@icdevgroup.org (Jonathan Clark) Date: Mon Jan 13 08:05:01 2003 Subject: [ic] Autoload - can't get it to work In-Reply-To: Message-ID: <000701c2bb03$9d9ca520$f17b9c80@NT3078> > > > I'm trying to use Autoload. I cannot get it to work, even > > using the basic > > > code below. I've restarted Interchange and checked the > > logs, Interchange > > > restarts fine. > > > > > > Here's my code: > > > In /interchange/catalog.cfg: > > > > > > Autoload < > > [perl] > > > $Scratch->{mook} = "Test"; > > > return; > > > [/perl] > > > EOS > > > > > > Then, on the index page I try to display the value using > > [scratch mook], > > > nothing appears. I've restarted Interchange and checked the logs, > > > Interchange restarts fine. I have noticed that when I move > > the Autoload > > > code up towards the beginning of catalog.cfg then I get an > > error when > > > restarting Interchange. > > > > > > What am I missing? > > > > > > > > > One (possibly daft) suggestion.. > > > > check the 'EOS' to make sure there is no white space after it. > > > > When you move the code up the catalog.cfg, and it fails, what > > is in the > > error log? > > > > Jonathan > > www.webmaint.net > > > > > > Hi Jonathan > > There are no white spaces after the EOS > > Here are the lines from the error log: > > - - - [13/January/2003:09:17:44 +0000] - - STOP server (14421) on signal > TERM > - - - [13/January/2003:09:17:47 +0000] - - Interchange V4.9.6 > - - - [13/January/2003:09:17:48 +0000] - - sit config error: > Please specify > the MailOrderTo directive in the configuration file '' > - - - [13/January/2003:09:17:48 +0000] - - sit: config error. Skipping. > - - - [13/January/2003:09:17:49 +0000] - - START server (23995) (UNIX) > - - - [13/January/2003:09:17:49 +0000] - - START server (23995) (UNIX) > > Only reference to in catalog.cfg is "MailOrderTo __ORDERS_TO__" (from conversation on the phone) I know that the 'please specify the MailOrderTo directive' happened when the autoload routine was placed at the top of the catalog.cfg file. This indicates that the 'VariableDatabase' directive has not been read.. which means that the Autoload routine right at the top has not been terminated correctly. Try editing the file directly on the server using vi or your favourite editor to put your routine in. Jonathan www.webmaint.net From interchange-users@icdevgroup.org Mon Jan 13 09:20:01 2003 From: interchange-users@icdevgroup.org (Michael Goldfarb) Date: Mon Jan 13 09:20:01 2003 Subject: [ic] stock alert In-Reply-To: <00cf01c2babb$4f85e1a0$6301000a@chris> Message-ID: <000001c2bb0e$bb7e0650$1e01a8c0@mrblondelaptop> >I just realized that my in-stock notification does not work. > >I tested it by going to an item that had "0" inventory. The flypage show >that there is no inventory and has in the in-stock option. I give it my >name and email address. >At this point I receive an email that tells me that when the item is in >stock I will get an email to let me know it is in stock. > >I then went to the UI and increased the inventory from 0 to 10. > >No email was sent to me to tell me that it was now available. > >I am running Interchange 4.8.6 with foundation template. > >Chris Slaght >Information Systems Solutions LTD. The functionality you are referring to is not a standard part of Foundation (at least in the 4.8x branch) Here is a link to a post that Russ Mann made about a year ago. I have not personally tried it, but the code looks like it will do exactly what you want. http://www.icdevgroup.org/pipermail/interchange-users/2002-March/019170. html From interchange-users@icdevgroup.org Mon Jan 13 09:28:00 2003 From: interchange-users@icdevgroup.org (stjohn) Date: Mon Jan 13 09:28:00 2003 Subject: [ic] embedded perl Message-ID: <002901c2bb0f$8c398a80$0400a8c0@mercury> Hi all, I working on a piece of embedded perl for my index.html page. I want to display a section of products with there large image and a brief description. I've been looking at some of the other "components" that come with Interchange, in particular the specials and promos components. Now I need some more information relating to the "objects" $Tag and $Scratch. I can't find where these objects are declared or what they relate to, and therefore, how to use them. They appear to be global and from the limited information on the rtfm site I've found that they are created / instanciated for each user session (I think :-). However I need some more information on how they work (i.e. what methods & properties are available) and what exactly they do (i.e. how to use them) - how do I do this with perl ? For example, I'm looking at the piece of embedded perl below and I can't find references anywhere to : $Tag, $Scratch and $Tmp. delete $Scratch->{product_info}; my $date = $Tag->time( { body => '%Y%m%d' } ); $ref = $Tmp->{main} or return; my $matches = $Tag->control("matches",10); Any help or pointers would be excellent, thanks in advance, Mike C From interchange-users@icdevgroup.org Mon Jan 13 09:40:01 2003 From: interchange-users@icdevgroup.org (DB) Date: Mon Jan 13 09:40:01 2003 Subject: [ic] SSL cert from COMODO.NET ? Message-ID: <3E22CFB8.8000705@M-and-D.com> Has anyone used a cert from comodo.net? They're less expensive than verisign and I wonder if they're usable. Mine's set to expire soon and I'd like to save a few $$ but I've never heard of this outfit until recently, DB From interchange-users@icdevgroup.org Mon Jan 13 10:09:00 2003 From: interchange-users@icdevgroup.org (Chaim Klar) Date: Mon Jan 13 10:09:00 2003 Subject: [ic] Custom Shipping Message-ID: HI: > Quoting: Miguel Navarro > Trying to build a custom shipping method eg. > > 1 through 9 items would be 1.50 per item > 10 or more items would be 1.00 per item > > Have had no luck bypassing the UPS shipping method already present > > Thanks in advance > Try to put in the following code in shipping.asc it should work. CPP Charge Per Piece quantity 0 0 e Nothing to ship! {'ups' => "0",'ui_ship_type' => "quantity",} CPP Charge Per Piece quantity 0 10 f 1.50 * @@TOTAL@@ {'PriceDivide' => "1",} CPP Charge Per Piece quantity 10 9999999 f 1.00 * @@TOTAL@@ {'PriceDivide' => "1",} CPP Charge Per Piece quantity 9999999 9999999 e Cant ship my whole inventory! {'PriceDivide' => "1",} Thank You Chaim Klar From interchange-users@icdevgroup.org Mon Jan 13 10:16:00 2003 From: interchange-users@icdevgroup.org (interchange-users@icdevgroup.org) Date: Mon Jan 13 10:16:00 2003 Subject: [ic] SSL cert from COMODO.NET ? In-Reply-To: <3E22CFB8.8000705@M-and-D.com> References: <3E22CFB8.8000705@M-and-D.com> Message-ID: <1042471012.3e22d864e92d8@naturebuzz.com> Quoting DB : > Has anyone used a cert from comodo.net? They're less expensive than > verisign and I wonder if they're usable. Mine's set to expire soon and > I'd like to save a few $$ but I've never heard of this outfit until > recently, > > DB > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > We started with a comodo cert last year and loved it. Since then we have itegrated it with all new interchange sites and all renewals of verisign, geotrust, and thwate, we have used comodo for. With any newer provider there is an issue of browser compatability. comodo certs go back as far as IE v.5 and Netscape v.4. Here is a link for a comparision. http://gostats.com/gogi/browser_war.pl?mn=gostats&all=t We are a dealer for comodo, but would happily provide the certificates for wholesale (at cost) for anyone using interchange who needs one. Just contact me directly. Our cost is around $40.00. There is also a site by geotrust called free ssl http://freessl.com (geotrust trying to reclamin marketshare they lost to comodo) and rip off their resellers. I have experimented with that one, compatability is okay. On the test site we did, out of 30 users only 4 couldn't access it at all (mac users in the US on aol dial-up). For us this wasn't good odds, support is not available on the free certs, but hey... they are free. John Canan NatureBuzz Network, Inc. The Outdoor and Adventure ISP 610-584-2167 From interchange-users@icdevgroup.org Mon Jan 13 10:31:01 2003 From: interchange-users@icdevgroup.org (interchange-users@icdevgroup.org) Date: Mon Jan 13 10:31:01 2003 Subject: [ic] SSL cert from COMODO.NET ? In-Reply-To: <1042471012.3e22d864e92d8@naturebuzz.com> References: <3E22CFB8.8000705@M-and-D.com> <1042471012.3e22d864e92d8@naturebuzz.com> Message-ID: <1042471937.3e22dc015a209@naturebuzz.com> Quoting john@naturebuzz.com: > Quoting DB : > > > Has anyone used a cert from comodo.net? They're less expensive than > > verisign and I wonder if they're usable. Mine's set to expire soon and > > I'd like to save a few $$ but I've never heard of this outfit until > > recently, > > > > DB > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@icdevgroup.org > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > > > We started with a comodo cert last year and loved it. Since then we have > itegrated it with all new interchange sites and all renewals of verisign, > geotrust, and thwate, we have used comodo for. > > With any newer provider there is an issue of browser compatability. comodo > certs go back as far as IE v.5 and Netscape v.4. Here is a link for a > comparision. http://gostats.com/gogi/browser_war.pl?mn=gostats&all=t > > We are a dealer for comodo, but would happily provide the certificates for > wholesale (at cost) for anyone using interchange who needs one. Just contact > > me directly. Our cost is around $40.00. > > There is also a site by geotrust called free ssl http://freessl.com (geotrust > > trying to reclamin marketshare they lost to comodo) and rip off their > resellers. I have experimented with that one, compatability is okay. On the > > test site we did, out of 30 users only 4 couldn't access it at all (mac users > > in the US on aol dial-up). For us this wasn't good odds, support is not > available on the free certs, but hey... they are free. > > John Canan > NatureBuzz Network, Inc. > The Outdoor and Adventure ISP > 610-584-2167 > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > I provided the wrong url for browser comparison: http://www.instantssl.com/support/browser_compatibility.html Sorry, darn clipboard! From interchange-users@icdevgroup.org Mon Jan 13 10:39:01 2003 From: interchange-users@icdevgroup.org (Chris Tooley) Date: Mon Jan 13 10:39:01 2003 Subject: [ic] SSL cert from COMODO.NET ? In-Reply-To: <1042471012.3e22d864e92d8@naturebuzz.com> References: <3E22CFB8.8000705@M-and-D.com> <1042471012.3e22d864e92d8@naturebuzz.com> Message-ID: <1042471930.3273.3.camel@localhost.localdomain> I use them and like them a lot. Chris On Mon, 2003-01-13 at 09:16, john@naturebuzz.com wrote: > Quoting DB : > > > Has anyone used a cert from comodo.net? They're less expensive than > > verisign and I wonder if they're usable. Mine's set to expire soon and > > I'd like to save a few $$ but I've never heard of this outfit until > > recently, > > > > DB > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@icdevgroup.org > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > > > We started with a comodo cert last year and loved it. Since then we have > itegrated it with all new interchange sites and all renewals of verisign, > geotrust, and thwate, we have used comodo for. > > With any newer provider there is an issue of browser compatability. comodo > certs go back as far as IE v.5 and Netscape v.4. Here is a link for a > comparision. http://gostats.com/gogi/browser_war.pl?mn=gostats&all=t > > We are a dealer for comodo, but would happily provide the certificates for > wholesale (at cost) for anyone using interchange who needs one. Just contact > me directly. Our cost is around $40.00. > > There is also a site by geotrust called free ssl http://freessl.com (geotrust > trying to reclamin marketshare they lost to comodo) and rip off their > resellers. I have experimented with that one, compatability is okay. On the > test site we did, out of 30 users only 4 couldn't access it at all (mac users > in the US on aol dial-up). For us this wasn't good odds, support is not > available on the free certs, but hey... they are free. > > John Canan > NatureBuzz Network, Inc. > The Outdoor and Adventure ISP > 610-584-2167 > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users -- Chris Tooley Networking Technologies Resource Center 8650 Spicewood Springs Rd Suite 105 Austin, TX 78759 (512)250-8985 email: christ@ntrc.net pager: christ@my2way.com From interchange-users@icdevgroup.org Mon Jan 13 10:47:00 2003 From: interchange-users@icdevgroup.org (Jon) Date: Mon Jan 13 10:47:00 2003 Subject: [ic] SSL cert from COMODO.NET ? References: <3E22CFB8.8000705@M-and-D.com> Message-ID: <3E22DF51.4B18230@attglobal.net> > Has anyone used a cert from comodo.net? They're less expensive than > verisign and I wonder if they're usable. Mine's set to expire soon and > I'd like to save a few $$ but I've never heard of this outfit until > recently, > I have a test certificate that integrated easily with IC. Side comment: This IC is really an amazing application/tool. Anyway. Currently I'm experiencing a problem using the test certificate and IE6. I've sent a query to their support people. Jon From interchange-users@icdevgroup.org Mon Jan 13 10:53:00 2003 From: interchange-users@icdevgroup.org (DB) Date: Mon Jan 13 10:53:00 2003 Subject: [ic] SSL cert from COMODO.NET ? Message-ID: <3E22E0C8.1080001@M-and-D.com> >> Has anyone used a cert from comodo.net? They're less expensive than >> verisign and I wonder if they're usable. Mine's set to expire soon and >> I'd like to save a few $$ but I've never heard of this outfit until >> recently, >> > > I have a test certificate that integrated easily with IC. > Side comment: This IC is really an amazing application/tool. > Anyway. Currently I'm experiencing a problem using the > test certificate and IE6. I've sent a query to their support > people. > > Jon I can't afford to have problems... can you tell us what type of problem and if/how it gets resolved? DB From interchange-users@icdevgroup.org Mon Jan 13 12:23:00 2003 From: interchange-users@icdevgroup.org (Jon) Date: Mon Jan 13 12:23:00 2003 Subject: [ic] SSL cert from COMODO.NET ? References: <3E22E0C8.1080001@M-and-D.com> Message-ID: <3E22F5C7.F67920EF@attglobal.net> > > > > I have a test certificate that integrated easily with IC. > > Side comment: This IC is really an amazing application/tool. > > Anyway. Currently I'm experiencing a problem using the > > test certificate and IE6. I've sent a query to their support > > people. > > > > Jon > > I can't afford to have problems... can you tell us what type of problem > and if/how it gets resolved? > > The problem I'm seeing is this.. And keep in mind I'm pretty vanilla Foundation store 4.9.3. When the user logs in they are presented the customerservice page (it is secure) and log in component shows they're logged in. It seems no matter what you select e.g. Account Maintenance then the user is presented with the required login screen, in that example, i.e. logged out. I do not have any problem with NS 7 or IE5 for sure, and pretty sure it is fine for NS4.7 and Konqueror but I would need to go back and retest if anyone needs that. I'm hoping for a browser configuration issue, something I did wrong, but will post when it is resolved. Jon From interchange-users@icdevgroup.org Mon Jan 13 13:09:01 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Mon Jan 13 13:09:01 2003 Subject: [ic] SSL cert from COMODO.NET ? In-Reply-To: <3E22F5C7.F67920EF@attglobal.net>; from prtyof5@attglobal.net on Mon, Jan 13, 2003 at 12:22:15PM -0500 References: <3E22E0C8.1080001@M-and-D.com> <3E22F5C7.F67920EF@attglobal.net> Message-ID: <20030113130839.A6770@bill.heins.net> Quoting Jon (prtyof5@attglobal.net): > > > > > > I have a test certificate that integrated easily with IC. > > > Side comment: This IC is really an amazing application/tool. > > > Anyway. Currently I'm experiencing a problem using the > > > test certificate and IE6. I've sent a query to their support > > > people. > > > > > > Jon > > > > I can't afford to have problems... can you tell us what type of problem > > and if/how it gets resolved? > > > > > > The problem I'm seeing is this.. And keep in mind I'm pretty vanilla > Foundation store 4.9.3. When the user logs in they are presented the > customerservice page (it is secure) and log in component shows they're logged > in. > It seems no matter what you select e.g. Account Maintenance then the > user is presented with the required login screen, in that example, i.e. > logged out. > I do not have any problem with NS 7 or IE5 for sure, and pretty sure > it is fine for NS4.7 and Konqueror but I would need to go back and retest > if anyone needs that. I'm hoping for a browser configuration issue, > something > I did wrong, but will post when it is resolved. > Bear in mind, this has nothing at all to do with the cert. It is blameless in whatever problems you are having. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Friends don't let friends use Outlook. -- Bob Blaylock From interchange-users@icdevgroup.org Mon Jan 13 13:17:00 2003 From: interchange-users@icdevgroup.org (Steve in DC) Date: Mon Jan 13 13:17:00 2003 Subject: [ic] SSL cert from COMODO.NET ? In-Reply-To: <20030113130839.A6770@bill.heins.net> Message-ID: <0ff301c2bb2f$bd377320$a21f0740@sp1> Do we have people running this without issue on IE 5.5 and higher that can vouch for it's compatibility? -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org] On Behalf Of Mike Heins Sent: Monday, January 13, 2003 1:09 PM To: interchange-users@icdevgroup.org Subject: Re: [ic] SSL cert from COMODO.NET ? Quoting Jon (prtyof5@attglobal.net): > > > > > > I have a test certificate that integrated easily with IC. Side > > > comment: This IC is really an amazing application/tool. Anyway. > > > Currently I'm experiencing a problem using the test certificate > > > and IE6. I've sent a query to their support people. > > > > > > Jon > > > > I can't afford to have problems... can you tell us what type of > > problem and if/how it gets resolved? > > > > > > The problem I'm seeing is this.. And keep in mind I'm pretty > vanilla Foundation store 4.9.3. When the user logs in they are > presented the customerservice page (it is secure) and log in component > shows they're logged in. It seems no matter what you select e.g. > Account Maintenance then the user is presented with the required login > screen, in that example, i.e. logged out. > I do not have any problem with NS 7 or IE5 for sure, and pretty sure > it is fine for NS4.7 and Konqueror but I would need to go back and retest > if anyone needs that. I'm hoping for a browser configuration issue, > something > I did wrong, but will post when it is resolved. > Bear in mind, this has nothing at all to do with the cert. It is blameless in whatever problems you are having. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Friends don't let friends use Outlook. -- Bob Blaylock _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Mon Jan 13 13:26:00 2003 From: interchange-users@icdevgroup.org (DB) Date: Mon Jan 13 13:26:00 2003 Subject: [ic] SSL cert from COMODO.NET ? Message-ID: <3E2304A8.3000600@M-and-D.com> > The problem I'm seeing is this.. And keep in mind I'm pretty vanilla > Foundation store 4.9.3. When the user logs in they are presented the > customerservice page (it is secure) and log in component shows they're logged > in. > It seems no matter what you select e.g. Account Maintenance then the > user is presented with the required login screen, in that example, i.e. > logged out. > I do not have any problem with NS 7 or IE5 for sure, and pretty sure > it is fine for NS4.7 and Konqueror but I would need to go back and retest > if anyone needs that. I'm hoping for a browser configuration issue, > something > I did wrong, but will post when it is resolved. > > Jon That doesn't sound like a problem with the certificate.. more like some sort of configuration issue. DB From interchange-users@icdevgroup.org Mon Jan 13 13:36:01 2003 From: interchange-users@icdevgroup.org (interchange-users@icdevgroup.org) Date: Mon Jan 13 13:36:01 2003 Subject: [ic] SSL cert from COMODO.NET ? In-Reply-To: <0ff301c2bb2f$bd377320$a21f0740@sp1> References: <0ff301c2bb2f$bd377320$a21f0740@sp1> Message-ID: <1042483041.3e230761edf23@naturebuzz.com> Quoting Steve in DC : > Do we have people running this without issue on IE 5.5 and higher that > can vouch for it's compatibility? > > -----Original Message----- > From: interchange-users-admin@icdevgroup.org > [mailto:interchange-users-admin@icdevgroup.org] On Behalf Of Mike Heins > Sent: Monday, January 13, 2003 1:09 PM > To: interchange-users@icdevgroup.org > Subject: Re: [ic] SSL cert from COMODO.NET ? > > > Quoting Jon (prtyof5@attglobal.net): > > > > > > > > I have a test certificate that integrated easily with IC. Side > > > > > comment: This IC is really an amazing application/tool. Anyway. > > > > Currently I'm experiencing a problem using the test certificate > > > > and IE6. I've sent a query to their support people. > > > > > > > > Jon > > > > > > I can't afford to have problems... can you tell us what type of > > > problem and if/how it gets resolved? > > > > > > > > > > The problem I'm seeing is this.. And keep in mind I'm pretty > > vanilla Foundation store 4.9.3. When the user logs in they are > > presented the customerservice page (it is secure) and log in component > > > shows they're logged in. It seems no matter what you select e.g. > > Account Maintenance then the user is presented with the required login > > > screen, in that example, i.e. logged out. > > I do not have any problem with NS 7 or IE5 for sure, and pretty sure > > it is fine for NS4.7 and Konqueror but I would need to go back and > retest > > if anyone needs that. I'm hoping for a browser configuration issue, > > something > > I did wrong, but will post when it is resolved. > > > > Bear in mind, this has nothing at all to do with the cert. It is > blameless in whatever problems you are having. > > -- > Mike Heins > Perusion -- Expert Interchange Consulting http://www.perusion.com/ > phone +1.513.523.7621 > > Friends don't let friends use Outlook. -- Bob Blaylock > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > I looking over the server log file for one client: there are people with versions Versions Hits Percent MSIE 6.0 6679 58.5% MSIE 5.5 2797 24.5% MSIE 5.22 133 1.1% MSIE 5.2 79 0.6% MSIE 5.15 74 0.6% MSIE 5.14 31 0.2% MSIE 5.13 11 0% MSIE 5.12 13 0.1% MSIE 5.01 650 5.6% MSIE 5.0 812 7.1% Netscape 7.0 210 19.6% Netscape 6.2.2 19 1.7% Netscape 6.2.1 21 1.9% Netscape 6.1 22 2% Netscape 5.0 186 17.3% Netscape 4.8 53 4.9% Netscape 4.78 72 6.7% Netscape 4.76 43 4% Netscape 4.75 153 14.3% Netscape 4.73 94 8.7% Netscape 4.72 82 7.6% So, the majority of customer on this site are above 5.5 Also, again I reitterate, it is a configuration issue or software issue (browser/settings) not IC or your cert John From interchange-users@icdevgroup.org Mon Jan 13 13:39:17 2003 From: interchange-users@icdevgroup.org (C.B. Currier) Date: Mon Jan 13 13:39:17 2003 Subject: [ic] CyberCash Integration w/ MCK problem Message-ID: <1902.216.200.97.45.1042482946.squirrel@mail.spinrx.com> Trying to work out the following error: I cannot figure where to go from here. (cybercash): Charge failed, reason: Location: CCMckDirectLib3_2; Message: Encryption failed All files have been copied as per instructions in the CyberCash instructions. The MCK tests work, but I am getting the above error. -- C.B. Currier From interchange-users@icdevgroup.org Mon Jan 13 14:07:01 2003 From: interchange-users@icdevgroup.org (Geoff Sternecker) Date: Mon Jan 13 14:07:01 2003 Subject: [ic] Markup, More elegant way to do this? Message-ID: <200301131306.25941.geoffs@rdgi.com> I need to do an across the board markup of items.. So, I made a variable in the variable.txt for MARKUP 1.1 then on the flypage, and baskets etc. included.. [discount ALL_ITEMS] return $s*__MARKUP__; [/discount] This easily passed the markup to the [item-price] and into the [subtotal].. Is there a more elegant, better, way to do this? Thanks GeoffS -- Geoff Sternecker From interchange-users@icdevgroup.org Mon Jan 13 14:17:00 2003 From: interchange-users@icdevgroup.org (Chris Anderson) Date: Mon Jan 13 14:17:00 2003 Subject: [ic] IC Server is running but Interchange server not available... Message-ID: Morning All, Still troubleshooting my install. I get the main foundation page http://64.32.173.228/foundation/ but Customer Entrance and Admin Interface links both return "We're sorry, the Interchange server is unavailable... We are out of service or may be experiencing high system demand. Please try again soon." http://64.32.173.228/cgi-bin/foundation/admin/index.html Are these directories actually supposed to exist in the cgi-bin? or do they redirect to var/lib/interchange/foundation/pages? I only have 1 file in cgi-bin, foundation. Is this correct? What am I doing wrong here? thanks Chris From interchange-users@icdevgroup.org Mon Jan 13 14:23:00 2003 From: interchange-users@icdevgroup.org (Geoff Sternecker) Date: Mon Jan 13 14:23:00 2003 Subject: [ic] POSIX functions Message-ID: <200301131321.20630.geoffs@rdgi.com> I've run in to the need to do floor functions, and to the best of my knowledge this is only implemented in Perl via the POSIX.pm file.. So, I was reading through the thread archives, and came across the posting from Mike Heins.. http://www.icdevgroup.org/pipermail/interchange-users/2002-November/029247.html Is this function going to be rolled into IC? Is anyone using the code above in a working implementation? Thanks- GeoffS -- Geoff Sternecker From interchange-users@icdevgroup.org Mon Jan 13 14:32:01 2003 From: interchange-users@icdevgroup.org (interchange-users@icdevgroup.org) Date: Mon Jan 13 14:32:01 2003 Subject: [ic] IC Server is running but Interchange server not available... In-Reply-To: References: Message-ID: <1042486375.3e231467e55cf@naturebuzz.com> Quoting Chris Anderson : > Morning All, > Still troubleshooting my install. > I get the main foundation page http://64.32.173.228/foundation/ > but Customer Entrance and Admin Interface links both return > "We're sorry, the Interchange server is unavailable... > We are out of service or may be experiencing high system demand. Please try > again soon." > http://64.32.173.228/cgi-bin/foundation/admin/index.html > > Are these directories actually supposed to exist in the cgi-bin? or do they > redirect to var/lib/interchange/foundation/pages? > I only have 1 file in cgi-bin, foundation. Is this correct? > What am I doing wrong here? > > thanks > Chris > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > they do redirect to the /path/to/interchange You can simply ssh to /path/to/interchange/ and ./restart to get your copy of interchange running From interchange-users@icdevgroup.org Mon Jan 13 15:45:01 2003 From: interchange-users@icdevgroup.org (Andrei Gologan) Date: Mon Jan 13 15:45:01 2003 Subject: [ic] HELP !!! - problem in log_transaction References: <1042486375.3e231467e55cf@naturebuzz.com> Message-ID: <00f801c2bb44$96e6bef0$0a00a8c0@tuck> well i have a biiiiig problem. I inserted some code into log_transaction. we have to types of items limited and not limited ....for the not limited it works fine , for the limited it should decrement the inventory table as well as quantity in another table: menge If on the order there is only just ONE limited article it works out fine. If there are 2 or more limited items ist works out for the first one, and for the rest it inserts bogus data, aparently no logic ..... I know it works, but it is something I cannot get .... here is the code: [if variable DECREMENT_INVENTORY]Inventory of [item-code] now: [data table=inventory col=quantity key="[item-code]" increment=1 value="-[item-quantity]" ] [if-item-field limitiert eq 1] [query list=1 sql="SELECT quantity FROM menge WHERE username='[data session username]' AND sku='[item-code]'"] [query sql="update menge set quantity='[calc][sql-param quantity]-[item-quantity][/calc]' where sku='[item-code]' and username='[data session username]'" ] [/query] [/if-item-field] [/if] THANK YOU !!! for any help !! Andrei From interchange-users@icdevgroup.org Mon Jan 13 15:55:01 2003 From: interchange-users@icdevgroup.org (Sarah Bigwood) Date: Mon Jan 13 15:55:01 2003 Subject: [ic] failed pattern Message-ID: I am attempting to use the interchange wizard and I am receiving an error on the Shipping Preferences - Fed Ex & UPS pages. failed pattern - '3.00' =~ ^\\d+(?:\\.\\d+)?\$ I know from your archives that Mike Heins fixed this in October but I am unable to find the files I need to update. Could someone give me a list of the files I need to update and the directories in which they can be found? Sarah Bigwood sbigwood@luthersem.edu Additional Comments From Mike Heins 2002-10-28 11:44 ------- This bug arose due to fixing profile regex parsing to not require double backslash. Fixed in stable, N/A in devel (no wizard). From interchange-users@icdevgroup.org Mon Jan 13 15:56:04 2003 From: interchange-users@icdevgroup.org (cart quest) Date: Mon Jan 13 15:56:04 2003 Subject: [ic] Suggested OS, Apache, IC Combinations Message-ID: <20030113205441.72124.qmail@web14805.mail.yahoo.com> I've been doing this since Minivend 3.x. I'm doing an upgrade and am looking for feedback as to what is running well, and not so well with IC. What's playing well with IC these days IC wise? The page mentions RH 7.2 (which seems a bit on the old side). I'm looking at RH 8.0. Anyone have any experience with this? Anything not work well? (x86) What about web server. Seems like Apache with Mod_perl is pretty standard these days. 1.x or 2.x? Cheers Tom Harty __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From interchange-users@icdevgroup.org Mon Jan 13 16:36:01 2003 From: interchange-users@icdevgroup.org (David Zhang) Date: Mon Jan 13 16:36:01 2003 Subject: [ic] SSL cert from COMODO.NET ? -- see sample site In-Reply-To: <3E22E0C8.1080001@M-and-D.com> Message-ID: -----Original Message----- From: interchange-users-admin@icdevgroup.org >> Has anyone used a cert from comodo.net? They're less expensive than >> verisign and I wonder if they're usable. Mine's set to expire soon and >> I'd like to save a few $$ but I've never heard of this outfit until >> recently, >>DB Try our sample site http://www.msihosting.com/~msihosti/cgi-bin/cart.cgi and see if you get the same problem. It uses instantSSL. login with demo/demo, or create new. David -------------------------- dzhang@msihosting.com http://www.msihosting.com Expert -- ecommerce solution, interchange hosting From interchange-users@icdevgroup.org Mon Jan 13 17:25:00 2003 From: interchange-users@icdevgroup.org (Jon) Date: Mon Jan 13 17:25:00 2003 Subject: [ic] SSL cert from COMODO.NET ? -- see sample site References: Message-ID: <3E233C87.C51D5FE3@attglobal.net> David Zhang wrote: > -----Original Message----- > From: interchange-users-admin@icdevgroup.org > > >> Has anyone used a cert from comodo.net? They're less expensive than > >> verisign and I wonder if they're usable. Mine's set to expire soon and > >> I'd like to save a few $$ but I've never heard of this outfit until > >> recently, > >>DB > > Try our sample site > > http://www.msihosting.com/~msihosti/cgi-bin/cart.cgi > > and see if you get the same problem. It uses instantSSL. login with > demo/demo, or create new. > Thanks David. I get the same symptom. So must be a configuration problem with my browser on that PC. That is great to know. Anyone have any thoughts on what could be wrong in the browser configuration ?? Jon From interchange-users@icdevgroup.org Mon Jan 13 17:32:00 2003 From: interchange-users@icdevgroup.org (Nicole Ripley) Date: Mon Jan 13 17:32:00 2003 Subject: [ic] Menu Edit Help Message-ID: I am trying to figure out how to change my menu to display an image rather than pre-entered text. The current Product Tree is just Text and + signs (very boring). I made my own buttons but do not know how to replace the menu text with the graphic. Any one had luck playing with this option? If so PLEASE HELP!!! Nicole Ripley Networking Technologies Resource Center 8650 Spicewood Springs Rd Suite 105 Austin, TX 78759 (512)250-8985 email: nicoler@ntrc.net From interchange-users@icdevgroup.org Mon Jan 13 17:52:01 2003 From: interchange-users@icdevgroup.org (Matthew Villa) Date: Mon Jan 13 17:52:01 2003 Subject: [ic] Use Checkboxes instead of Quantity input text fields Message-ID: <001701c2bb56$6bf14230$bb7ba8c0@webmaster> Hey everyone, I need to allow the user to select products by using checkboxes instead of typing the quantity amount in a text field. Anyone have any idea on how to do this? If so your comments will be appreciated. Matthew Villa From interchange-users@icdevgroup.org Mon Jan 13 18:12:00 2003 From: interchange-users@icdevgroup.org (Ron Phipps) Date: Mon Jan 13 18:12:00 2003 Subject: [ic] On restart of IC in rpc mode, 2 IC processes are not stopped Message-ID: <003201c2bb57$79d0ef80$8002a8c0@takedownlt> I'm running IC on Redhat 7.3 all errata up to date, Perl 5.6.1, mysql, dual Xeon P4, 2GB ram. The IC services is running in RPC mode, I have tested with both MaxServers set to 0 and no MaxServers setting within the RPC block in interchange.cfg. Below are the relevant portions of my interchange.cfg: Variable TRAFFIC rpc ifdef TRAFFIC =~ /rpc/i Message RPC traffic settings. PreFork Yes StartServers 5 MaxRequestsPerChild 100 HouseKeeping 2 PIDcheck 120 MaxServers 0 Endif When the service starts ps shows: 19452 ? S 0:00 interchange 19462 ? S 0:00 interchange 19464 ? S 0:00 interchange 19466 ? S 0:00 interchange 19468 ? S 0:00 interchange 19470 ? S 0:00 interchange 19472 ? S 0:00 interchange I then issue a restart with this command: interchange -r -u After the restart I see this in ps: 19464 ? S 0:00 interchange 19466 ? S 0:00 interchange 19470 ? S 0:00 interchange 19472 ? S 0:00 interchange 19728 ? S 0:00 interchange 19736 ? S 0:00 interchange 19738 ? S 0:00 interchange 19740 ? S 0:00 interchange 19742 ? S 0:00 interchange 19744 ? S 0:00 interchange 19746 ? S 0:00 interchange After another restart I see this in ps: 19464 ? S 0:00 interchange 19466 ? S 0:00 interchange 19470 ? S 0:00 interchange 19472 ? S 0:00 interchange 19738 ? S 0:00 interchange 19740 ? S 0:00 interchange 20043 ? S 0:00 interchange 20051 ? S 0:00 interchange 20053 ? S 0:00 interchange 20055 ? S 0:00 interchange 20057 ? S 0:00 interchange 20059 ? S 0:00 interchange 20061 ? S 0:00 interchange If you count the number of processes it increases by two each time. This continues in this fashion unless I do a killall and then restart IC. You can probably figure out on a development server that IC would be restarted a lot and this leaves a lot of processes which are not doing anything. Any ideas? Thanks, -Ron From interchange-users@icdevgroup.org Mon Jan 13 18:14:35 2003 From: interchange-users@icdevgroup.org (Schuyler Langdon) Date: Mon Jan 13 18:14:35 2003 Subject: [ic] accessories tag References: <1042486375.3e231467e55cf@naturebuzz.com> Message-ID: <000f01c2bb58$d1fc8a60$1702a8c0@gordito> I have matrix options (ic 4.86) for products that can be displayed as a select menu with the following tag: [options code=os28005] However, I want to use an accessories something like this tag like this so that they can simply be listed. [accessories code=os28005 table=options type=show] This does not work though, does anyone know if or how this can be done using the accessories tag? Thanks, Schuyler Langdon GatorDev.com From interchange-users@icdevgroup.org Mon Jan 13 18:58:01 2003 From: interchange-users@icdevgroup.org (Nicole Ripley) Date: Mon Jan 13 18:58:01 2003 Subject: [ic] applet installation Message-ID: I need help inserting a Java Applet onto a picture in IC. Anyone know how this might work? We've tried several ways and nothing works. All I get is a gray patch where my picture is supposed to be. Nicole Ripley Networking Technologies Resource Center 8650 Spicewood Springs Rd Suite 105 Austin, TX 78759 (512)250-8985 email: nicoler@ntrc.net From interchange-users@icdevgroup.org Mon Jan 13 19:03:00 2003 From: interchange-users@icdevgroup.org (David Etheredge) Date: Mon Jan 13 19:03:00 2003 Subject: [ic] adding weight to shipping calculation Message-ID: <001501c2bb5f$93968e40$05a2a2a2@david98> How can I add 1 lb to my total shipping weight? I have exact weights for my products, but the total does not include the weight of packaging material. From interchange-users@icdevgroup.org Mon Jan 13 19:19:00 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Mon Jan 13 19:19:00 2003 Subject: [ic] On restart of IC in rpc mode, 2 IC processes are not stopped References: <003201c2bb57$79d0ef80$8002a8c0@takedownlt> Message-ID: <002501c2bb61$4f677fc0$0a01000a@badtzmaru.com> > If you count the number of processes it increases by two each time. > This continues in this fashion unless I do a killall and then restart > IC. You can probably figure out on a development server that IC would > be restarted a lot and this leaves a lot of processes which are not > doing anything. > > Any ideas? Try stopping apache first, restarting IC, and then restarting apache. I am not positive that this will fix the issue on your system but it does fix the issue when the same symptoms occur on mine. Jeff From interchange-users@icdevgroup.org Mon Jan 13 19:23:01 2003 From: interchange-users@icdevgroup.org (interch) Date: Mon Jan 13 19:23:01 2003 Subject: [ic] On restart of IC in rpc mode, 2 IC processes are not stopped References: <003201c2bb57$79d0ef80$8002a8c0@takedownlt> Message-ID: <014301c2bb62$eea86e40$0600a8c0@chris2> I have also run into this on production servers where new catalogs are added frequently. This is under both Redhat and Freebsd. My guess is that it's a bug in perl because what is happening is that a kill -TERM doesn't work, you have to use -KILL on the parent and all the children. Unfortunately I'm not enough of a perl guru to know how to track it down or fix it. Chris ----- Original Message ----- From: "Ron Phipps" To: Sent: Monday, January 13, 2003 2:59 PM Subject: [ic] On restart of IC in rpc mode, 2 IC processes are not stopped > I'm running IC on Redhat 7.3 all errata up to date, Perl 5.6.1, mysql, > dual Xeon P4, 2GB ram. The IC services is running in RPC mode, I have > tested with both MaxServers set to 0 and no MaxServers setting within > the RPC block in interchange.cfg. Below are the relevant portions of my > interchange.cfg: > > Variable TRAFFIC rpc > > ifdef TRAFFIC =~ /rpc/i > Message RPC traffic settings. > PreFork Yes > StartServers 5 > MaxRequestsPerChild 100 > HouseKeeping 2 > PIDcheck 120 > MaxServers 0 > Endif > > When the service starts ps shows: > > 19452 ? S 0:00 interchange > 19462 ? S 0:00 interchange > 19464 ? S 0:00 interchange > 19466 ? S 0:00 interchange > 19468 ? S 0:00 interchange > 19470 ? S 0:00 interchange > 19472 ? S 0:00 interchange > > I then issue a restart with this command: > > interchange -r -u > > After the restart I see this in ps: > > 19464 ? S 0:00 interchange > 19466 ? S 0:00 interchange > 19470 ? S 0:00 interchange > 19472 ? S 0:00 interchange > 19728 ? S 0:00 interchange > 19736 ? S 0:00 interchange > 19738 ? S 0:00 interchange > 19740 ? S 0:00 interchange > 19742 ? S 0:00 interchange > 19744 ? S 0:00 interchange > 19746 ? S 0:00 interchange > > After another restart I see this in ps: > > 19464 ? S 0:00 interchange > 19466 ? S 0:00 interchange > 19470 ? S 0:00 interchange > 19472 ? S 0:00 interchange > 19738 ? S 0:00 interchange > 19740 ? S 0:00 interchange > 20043 ? S 0:00 interchange > 20051 ? S 0:00 interchange > 20053 ? S 0:00 interchange > 20055 ? S 0:00 interchange > 20057 ? S 0:00 interchange > 20059 ? S 0:00 interchange > 20061 ? S 0:00 interchange > > If you count the number of processes it increases by two each time. > This continues in this fashion unless I do a killall and then restart > IC. You can probably figure out on a development server that IC would > be restarted a lot and this leaves a lot of processes which are not > doing anything. > > Any ideas? > > Thanks, > -Ron > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Mon Jan 13 19:56:01 2003 From: interchange-users@icdevgroup.org (Brendan Crosser-McGay) Date: Mon Jan 13 19:56:01 2003 Subject: [ic] Horizontal Flyout menu - did it get posted? In-Reply-To: Message-ID: From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Dion Jones Sent: Monday, January 13, 2003 1:23 AM To: 'interchange-users@icdevgroup.org' Subject: [ic] Horizontal Flyout menu - did it get posted? Hiya. I don't know if this message got posted correctly as it shows on my browser with other people replying to it with the start of another question. Anyway, I posted again in case. The flyout menu component that comes with the foundation store produces a great flyout menu, but a vertical one, with the top level items under each other. Has anyone found a way to create one where the top level items are by the side of each other? (kind of like the icdevgroup.org menus) thanks Dion Jones _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users I used a public domain DHTML menu and integrated it with the vertical category list. I posted it on the Demo Live Catalog last year sometime. It is a lot of code, so I can attach it to this message, but incase it gets lost, you can email me for a copy of it. You can modify it pretty easily too. -Brendan From interchange-users@icdevgroup.org Mon Jan 13 20:16:01 2003 From: interchange-users@icdevgroup.org (John Matecsa) Date: Mon Jan 13 20:16:01 2003 Subject: [ic] In order to overcome a problem we had with the -m option of the localize script Message-ID: <1042506801.3098.193.camel@localhost.localdomain> In order to overcome a problem we had with the -m option of the localize script, we did the following. A relevant bug report is available at: http://www.icdevgroup.org/bugs/show_bug.cgi?id=479 Instructions 1. Generate a localization file using the interchange tool by: localize -l en_US [-d fr_FR ...] page.html > translation.txt 2. Replace the default translations with your own where required 3. Feed this data into my utility ./locale-merge -i page.html -o page.html -t translation.txt Known Bugs If you specify a default locale that /does not/ have translations for all keys, the output file will have blanks (you should not run into this if you make sure the -l option on the interchange tool corresponds to the -d option with my tool, or if you omit -d altogether) #!/usr/bin/perl ############################################################### # Localization Helper for Interchange # # Initial development by Aaron Kemp ############################################################### use strict; use Getopt::Std; my $data; my %translations; my $default_locale = undef; my %options; getopts('d:t:i:o:', \%options); if (!($options{'t'})) { print "Interchange Localization Helper v1.0\nCopyright (C) 2002 Picassofish\n\n"; print "Usage:\n\t$0 -t [-i ] [-d ] [-o ]"; print "\n\n\t-i\tSpecifies the input file (default: stdin)"; print "\n\n\t-o\tSpecifies the output file (default: stdout)"; print "\n\n\t-i\tSpecifies the translation file"; print "\n\n\t-d\tSpecifies the default locale (defaults to the\n\t\tfirst found in the translation file)\n\n"; exit; } # Load data from stdin or a file if (defined($options{'i'})) { open(INPUT, $options{'i'}) || die ("Unable to open input file '".$options{'i'}."'\n");; $data = join('', ); close(INPUT); } else { $data = join('', ); } # Load translation table open(TRANSLATIONS, $options{'t'}) || die ("Unable to open translations file '".$options{'t'}."'\n"); my $locale = undef; my @locale_data; my $marker; $default_locale = $options{'d'} if (defined($options{'d'})); while () { if ($locale eq undef) { next unless m/^\s*locale\s+([a-zA-Z_]+).*<<\s*(\w+)/i; $locale = $1; $marker = $2; $default_locale = $locale if ($default_locale eq undef); @locale_data = (); } else { next if (m/^\s*#/); if (m/^\s*$marker\s*$/) { while (@locale_data) { $translations{$locale}{pop(@locale_data)} = pop(@locale_data); } $locale = undef; next; } chomp; if (m/\s*\"(.*)\"/) { push(@locale_data, $1); } elsif (m/\s*undef\s*/) { push(@locale_data, undef); } } } sub translate($) { my ($key) = @_; my $translated = (defined(${$translations{$default_locale}}{$key})?${$translations{$default_locale}}{$key}:$key); foreach my $locale (keys %translations) { foreach (keys %{$translations{$locale}}) { if ($_ eq $key) { if (defined(${$translations{$locale}}{$key})) { if (${$translations{$locale}}{$key} ne ${$translations{$default_locale}}{$key}) { $translated .= "[$locale]".${$translations{$locale}}{$key}."[/$locale]"; } } } } } return ($translated); } # Convert [L] to [LC] $data =~ s!\[L\]([^\[]+)\[/L\]!\[LC\]$1\[/LC\]!gm; # Fill in [LC] $data =~ s!\[LC.*?\]([^\[]+)\[.*?/LC\]!"\[LC\]".translate($1)."\[/LC\]"!gme; # Output to file or stdout if (defined($options{'o'})) { open(OUTPUT, ">".$options{'o'}); print OUTPUT $data; close(OUTPUT); } else { print $data; } Hopefully this will help somebody out there! -- John Matecsa Picasso Fish Corporation From interchange-users@icdevgroup.org Mon Jan 13 20:19:00 2003 From: interchange-users@icdevgroup.org (Paul Tan) Date: Mon Jan 13 20:19:00 2003 Subject: [ic] IC Server is running but Interchange server not available... In-Reply-To: <1042486375.3e231467e55cf@naturebuzz.com> Message-ID: <001101c2bb6b$66dc3ec0$0200a8c0@paul> I had the same issue running IC on OpenBSD 3.2 with Apache ( Chroot off ) and mod_perl from the ports. I still don't know if it is due to IC's compatibility with OpenBSD or something else. I deleted all IC related directories including /usr/local/interchange , did a ./configure again .... a bin/makecat again .. but this time I selected "INET" .. and went ahead with the defaults. What do you know..!! it worked. So seems to me that "UNIX" mode didn't work for me on OpenBSD 3.2 Also passwords with a "!" in it doesn't really work well with the bin/makecat script when executing "mysqladmin -u root -p!p@sSweRd create databasename" Wish you luck. Paul Tan Managing Consultant IQON Tel: +65-9857 8590 Fax: +65-6467 2293 http://www.iqon-asia.com -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org] On Behalf Of john@naturebuzz.com Sent: Tuesday, January 14, 2003 3:33 AM To: interchange-users@icdevgroup.org Subject: Re: [ic] IC Server is running but Interchange server not available... Quoting Chris Anderson : > Morning All, > Still troubleshooting my install. > I get the main foundation page http://64.32.173.228/foundation/ > but Customer Entrance and Admin Interface links both return > "We're sorry, the Interchange server is unavailable... > We are out of service or may be experiencing high system demand. Please try > again soon." > http://64.32.173.228/cgi-bin/foundation/admin/index.html > > Are these directories actually supposed to exist in the cgi-bin? or do they > redirect to var/lib/interchange/foundation/pages? > I only have 1 file in cgi-bin, foundation. Is this correct? > What am I doing wrong here? > > thanks > Chris > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > they do redirect to the /path/to/interchange You can simply ssh to /path/to/interchange/ and ./restart to get your copy of interchange running _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Mon Jan 13 20:41:00 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Mon Jan 13 20:41:00 2003 Subject: [ic] what i do with interchange Message-ID: <001501c2bb6c$c78f13e0$0a01000a@badtzmaru.com> I have a few domains pointed at the same IC site. I use an apache rewrite rule on the domains to add a parameter and redirect to the IC domain. Inside of my site, I use those passed parameters to both control the look of the site and to filter products. This allows my IC site to completely adopt a different look and offer different types of products depending on the originating domain. I feed these different domains to the search engines. Each site look is "search engine optimized" in a manner that corresponds with that product line. This allows my single IC installation to get high ranking on a variety of rather-competitive search engine phrases. This has been a paid political announcement from "friends of interchange". Jeff From interchange-users@icdevgroup.org Mon Jan 13 20:53:01 2003 From: interchange-users@icdevgroup.org (Michael Goldfarb) Date: Mon Jan 13 20:53:01 2003 Subject: [ic] what i do with interchange In-Reply-To: <001501c2bb6c$c78f13e0$0a01000a@badtzmaru.com> Message-ID: <000501c2bb6f$a1227870$1e01a8c0@mrblondelaptop> > I have a few domains pointed at the same IC site. I use an apache >rewrite rule on the domains to add a parameter and redirect to the IC >domain. Inside of my site, I use those passed parameters to both control >the look of the site and to filter products. This allows my IC site to >completely adopt a different look and offer different types of products >depending on the originating domain. > I feed these different domains to the search engines. Each site look >is >"search engine optimized" in a manner that corresponds with that product >line. This allows my single IC installation to get high ranking on a >variety of rather-competitive search engine phrases. > This has been a paid political announcement from "friends of >interchange". > >Jeff We actually do something very similar and have good success with it. IC can accommodate everything we have needed it to do and a whole lot more! This has been a follow-up message from "FOI" From interchange-users@icdevgroup.org Mon Jan 13 20:57:00 2003 From: interchange-users@icdevgroup.org (Schuyler Langdon) Date: Mon Jan 13 20:57:00 2003 Subject: [ic] Horizontal Flyout menu - did it get posted? References: Message-ID: <000901c2bb6f$effe9c80$1702a8c0@gordito> Dion Jones wrote: > Has anyone found a way to create one where the top level items are by the > side of each other? > (kind of like the icdevgroup.org menus) > > thanks > Dion Jones > I tried to do one like that with the table-organize tag but it came out afu because the row with the category name has to span several columns, but I managed to do one something like this: [search-list][item-change 1][condition][item-param category][/condition] [/item-change 1] [item-calc]if(!$yy){return "";}[/item-calc] [item-calc] $xx++; $yy=$xx % 5; if(!$yy){return "";}[/item-calc] [/search-list] [calc] for($xx=0;$xx<$yy;$xx++){$pad.="";}if($yy){return $pad."";}[/calc]
 [item-param category]
[if-item-param thumb] [if type=file term="__DOCROOT__/images/[item-param thumb]"] [/if][/if-item-param]
[item-param description]
 
Your image paths will most likely be different and you won't have a class named catable and I cut out all the buy now and such. And I think for this to work you need rf=* in your category search and quick search, something like this: fi=products st=db co=1 sf=category se=Apples op=eq se=1 sf=inactive op=ne nu=0 ml=10 tf=title rf=* Schuyler Langdon GatorDev.com From interchange-users@icdevgroup.org Mon Jan 13 21:08:00 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Mon Jan 13 21:08:00 2003 Subject: [ic] Major changes to DEVEL CVS branch Message-ID: <20030113210630.A14282@bill.heins.net> Dear All, This is to advise everyone that the nightly builds will stop temporarily. There have been major changes to the DEVEL branch CVS prior to the beta for Interchange 5.0. The fine folks at Zeald have provided professional-quality HTML for the Interchange UI, and I have incorporated it in an update that should greatly improve the UI, and make it more intuitive. In addition, the UI becomes more easily configurable than ever. Most custom UI pages should work unchanged, but there may be cases where they don't; also, most menus should work fine but again there will be cases where they won't. Because of this, I am suspending the nightly build until some semblance of stability returns. In a few days, Demo space 1 should reflect the new UI and the nightly builds will return. Best, Mike -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From interchange-users@icdevgroup.org Mon Jan 13 21:31:01 2003 From: interchange-users@icdevgroup.org (Chris Tooley) Date: Mon Jan 13 21:31:01 2003 Subject: [ic] Major changes to DEVEL CVS branch In-Reply-To: <20030113210630.A14282@bill.heins.net> References: <20030113210630.A14282@bill.heins.net> Message-ID: <1042511034.3854.2.camel@localhost.localdomain> On Mon, 2003-01-13 at 20:06, Mike Heins wrote: > Dear All, > > This is to advise everyone that the nightly builds will stop temporarily. > There have been major changes to the DEVEL branch CVS prior to the > beta for Interchange 5.0. > > The fine folks at Zeald have provided professional-quality HTML for > the Interchange UI, and I have incorporated it in an update that should > greatly improve the UI, and make it more intuitive. > > In addition, the UI becomes more easily configurable than ever. > > Most custom UI pages should work unchanged, but there may be cases > where they don't; also, most menus should work fine but again there > will be cases where they won't. Because of this, I am suspending > the nightly build until some semblance of stability returns. > > In a few days, Demo space 1 should reflect the new UI and the > nightly builds will return. > > Best, > Mike At one point I saw some talk of a manual for the standard Foundation store possibly being produced. As it appears that 5.0 will be not only a major backend change and but also a major shift in UI. Has this been looked into recently? Also, is there anyone out there willing to generalize their store to give some more options to the starting base? -- Chris Tooley Networking Technologies Resource Center 8650 Spicewood Springs Rd Suite 105 Austin, TX 78759 (512)250-8985 email: christ@ntrc.net pager: christ@my2way.com From interchange-users@icdevgroup.org Mon Jan 13 22:09:01 2003 From: interchange-users@icdevgroup.org (1) Date: Mon Jan 13 22:09:01 2003 Subject: [ic] Newbie - Admin access from outside Message-ID: <1042513724.3e237f3c85653@webmail.no-ip.com> I set up the foundation demo store. I can access the demo store from the Internet, but when i try to get to /cgi-bin/foundation/admin/index.html, it apparently refuses the connection. I can't really find the reason in the doco. I find the section on restricting access to pages using .access and the userdb, but this doesn't apply since I'm not even logging in. I also find the WideOpen configuration which "Disables IP qualification of user sessions"...whatever that is, since there is no doco on what this is and what are the alternatives. I figure it must be a port it is trying to use that I don't permit or it's something of the above-mentioned. I would deeply appreciate any pointers on how this works and generally how use of ports and security works. Also, any pointers on where to look for setting up credit card authorization and payment. A couple tall orders, but much much appreciation for the help. Thanks, Joe From interchange-users@icdevgroup.org Mon Jan 13 22:26:01 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Mon Jan 13 22:26:01 2003 Subject: [ic] Major changes to DEVEL CVS branch In-Reply-To: <1042511034.3854.2.camel@localhost.localdomain>; from christ@ntrc.net on Mon, Jan 13, 2003 at 08:23:54PM -0600 References: <20030113210630.A14282@bill.heins.net> <1042511034.3854.2.camel@localhost.localdomain> Message-ID: <20030113222454.A15005@bill.heins.net> Quoting Chris Tooley (christ@ntrc.net): > On Mon, 2003-01-13 at 20:06, Mike Heins wrote: > > Dear All, > > > > This is to advise everyone that the nightly builds will stop temporarily. > > There have been major changes to the DEVEL branch CVS prior to the > > beta for Interchange 5.0. > > > > The fine folks at Zeald have provided professional-quality HTML for > > the Interchange UI, and I have incorporated it in an update that should > > greatly improve the UI, and make it more intuitive. > > > > In addition, the UI becomes more easily configurable than ever. > > > > Most custom UI pages should work unchanged, but there may be cases > > where they don't; also, most menus should work fine but again there > > will be cases where they won't. Because of this, I am suspending > > the nightly build until some semblance of stability returns. > > > > In a few days, Demo space 1 should reflect the new UI and the > > nightly builds will return. > > > > Best, > > Mike > > At one point I saw some talk of a manual for the standard Foundation > store possibly being produced. There actually is such a manual, icfoundation, though as usual I am sure it is not nearly what people seem to want. It is all anyone seems to be moved to work to produce; after the treatment I have received for my docs efforts I can't seem to get motivated to do more, and neither can anyone else. http://www.icdevgroup.org/the_authors_life.txt > As it appears that 5.0 will be not only > a major backend change and but also a major shift in UI. Has this been > looked into recently? The thing I am really interested in is some better online help. There is now a built-in online help editor, but I doubt anyone except a couple of people (one of whom is me) will actually take the time to contribute back changes if past behavior is any indication. I would love to be wrong on these assumptions... 8-) > Also, is there anyone out there willing to > generalize their store to give some more options to the starting base? > I am afraid I have given my all here. While I have many other enhancements, the documentation program is a show-stopper and I won't put in any more features that cannot be supported. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Clothes make the man. Naked people have little or no influence on society. -- Mark Twain From interchange-users@icdevgroup.org Mon Jan 13 23:07:00 2003 From: interchange-users@icdevgroup.org (Chris Tooley) Date: Mon Jan 13 23:07:00 2003 Subject: [ic] Major changes to DEVEL CVS branch In-Reply-To: <20030113222454.A15005@bill.heins.net> References: <20030113210630.A14282@bill.heins.net> <1042511034.3854.2.camel@localhost.localdomain> <20030113222454.A15005@bill.heins.net> Message-ID: <1042516804.3854.31.camel@localhost.localdomain> On Mon, 2003-01-13 at 21:24, Mike Heins wrote: > Quoting Chris Tooley (christ@ntrc.net): > > On Mon, 2003-01-13 at 20:06, Mike Heins wrote: > > > Dear All, > > > > > > This is to advise everyone that the nightly builds will stop temporarily. > > > There have been major changes to the DEVEL branch CVS prior to the > > > beta for Interchange 5.0. > > > > > > The fine folks at Zeald have provided professional-quality HTML for > > > the Interchange UI, and I have incorporated it in an update that should > > > greatly improve the UI, and make it more intuitive. > > > > > > In addition, the UI becomes more easily configurable than ever. > > > > > > Most custom UI pages should work unchanged, but there may be cases > > > where they don't; also, most menus should work fine but again there > > > will be cases where they won't. Because of this, I am suspending > > > the nightly build until some semblance of stability returns. > > > > > > In a few days, Demo space 1 should reflect the new UI and the > > > nightly builds will return. > > > > > > Best, > > > Mike > > > > At one point I saw some talk of a manual for the standard Foundation > > store possibly being produced. > > There actually is such a manual, icfoundation, though as usual I am sure > it is not nearly what people seem to want. It is all anyone seems to be > moved to work to produce; after the treatment I have received for my docs > efforts I can't seem to get motivated to do more, and neither can anyone > else. > > http://www.icdevgroup.org/the_authors_life.txt > It totally understand. I'm starting down a path that is going to probably require a huge commitment in both time and money to make both Foundation and our future product documented. If we get done (we're hoping to be done with it in a year) we'll be using the Open Documentation License. However, what I was looking for was not a description of the Foundation store from a technical perspective but an actual guide for someone just recieving orders and creating product associations and discounts. Things of that nature. icfoundation (from what I can tell) is not really that. It's a pretty good doc, just not something I'd hand over to our Orders Clerk. > > As it appears that 5.0 will be not only > > a major backend change and but also a major shift in UI. Has this been > > looked into recently? > > The thing I am really interested in is some better online help. There is > now a built-in online help editor, but I doubt anyone except a couple of > people (one of whom is me) will actually take the time to contribute > back changes if past behavior is any indication. > > I would love to be wrong on these assumptions... 8-) > Well... I don't know how you want it submitted. Let me know, I'll commit what I can. > > Also, is there anyone out there willing to > > generalize their store to give some more options to the starting base? > > > > I am afraid I have given my all here. While I have many other enhancements, > the documentation program is a show-stopper and I won't put in any more > features that cannot be supported. I totally agree. I'd love to have better documentation, to the point that it's going to make our future work impossible without it. We are hoping to build a Point of Purchase/Brick and Mortar POS system to integrate with Interchange. I realize that seems funny coming from someone that doesn't know a whole lot about perl, but I have a fairly good group of surrounding people that I'll engage when I can facilitate it. Until then I need to raise some cash with the site and that means getting orders in the door. And that in turn means teaching the Orders Clerk to use Interchange. -- Chris Tooley Networking Technologies Resource Center 8650 Spicewood Springs Rd Suite 105 Austin, TX 78759 (512)250-8985 email: christ@ntrc.net pager: christ@my2way.com From interchange-users@icdevgroup.org Mon Jan 13 23:12:01 2003 From: interchange-users@icdevgroup.org (David Kelly) Date: Mon Jan 13 23:12:01 2003 Subject: [ic] Major changes to DEVEL CVS branch In-Reply-To: <20030113222454.A15005@bill.heins.net> References: <20030113210630.A14282@bill.heins.net> <1042511034.3854.2.camel@localhost.localdomain> <20030113222454.A15005@bill.heins.net> Message-ID: <3E238D57.6000403@zeald.com> Mike Heins wrote: > Quoting Chris Tooley (christ@ntrc.net): > >>On Mon, 2003-01-13 at 20:06, Mike Heins wrote: --snip-- >>As it appears that 5.0 will be not only >>a major backend change and but also a major shift in UI. Has this been >>looked into recently? > > > The thing I am really interested in is some better online help. There is > now a built-in online help editor, but I doubt anyone except a couple of > people (one of whom is me) will actually take the time to contribute > back changes if past behavior is any indication. > > I would love to be wrong on these assumptions... 8-) Mike ... Once IC 5 is released we are planning a big upgrade to our companies internal interchange support systems. As part of this we are planning on going through the IC online help and updating the existing sections, adding in new sections etc. As usual, we will probably go to work on the visual design and layout of it as well. :-) My hope is that the work we do here will be able to be integrated into IC and will be of benefit to the rest of the community. > >>Also, is there anyone out there willing to >>generalize their store to give some more options to the starting base? >> > > > I am afraid I have given my all here. While I have many other enhancements, > the documentation program is a show-stopper and I won't put in any more > features that cannot be supported. > We would be quite happy to help out here in whatever ways we can as well. The problems in the past for me has been how exactly does one contribute to the docs. The new wiki has changed all that now ... and things should be a whole lot simplier. Cheers -- David Kelly CEO / Client Manager Zeald Ltd E-Centre PO Box 102-904 North Shore Mail Centre Auckland 1330 New Zealand Ph: +64 9 415 7575 Fax: +64 9 443 9794 Mbl: 021 434 105 http://www.zeald.com From interchange-users@icdevgroup.org Tue Jan 14 01:42:00 2003 From: interchange-users@icdevgroup.org (Paul Jordan) Date: Tue Jan 14 01:42:00 2003 Subject: [ic] Major changes to DEVEL CVS branch In-Reply-To: <3E238D57.6000403@zeald.com> Message-ID: > Mike Heins wrote: > > Quoting Chris Tooley (christ@ntrc.net): > > > >>On Mon, 2003-01-13 at 20:06, Mike Heins wrote: > --snip-- > >>As it appears that 5.0 will be not only > >>a major backend change and but also a major shift in UI. Has this been > >>looked into recently? > > > > > > The thing I am really interested in is some better online help. There is > > now a built-in online help editor, but I doubt anyone except a couple of > > people (one of whom is me) will actually take the time to contribute > > back changes if past behavior is any indication. > > > > I would love to be wrong on these assumptions... 8-) > > Mike ... Once IC 5 is released we are planning a big upgrade to > our companies > internal interchange support systems. As part of this we are > planning on going > through the IC online help and updating the existing sections, > adding in new > sections etc. As usual, we will probably go to work on the visual > design and > layout of it as well. :-) My hope is that the work we do here > will be able to be > integrated into IC and will be of benefit to the rest of the community. Hi David (I have seen 5.0 David, really looks great, you guys did a great job on the html) Now, for this topic... What about building a tool to contribute right from ADMIN, where most of us are all day anyways. Some sort of questionnaire (or form) that emails directly to the devgroup, and gets databased, code only, no questions. We could submit snippets, links to [strip] tagged content, whole pages, helptips (for integration into backend/frontend covering demo/advanced functions), etc. All I have to say is, out of sight, out of mind. One could post interesting code, or a link to [strip] tagged content in under 60 seconds by hitting the "contribute" tab in admin. As hectic as all our lives are, I am less likely to search out a good home (Archives, Docs, RTFM, Forum, Wiki) for said snippet, log in, cut, paste, explain... Alot of times I have something cool, but don't think it is worth crowding 10000 inboxes. When I have something cool, the world does not stop, and my credit card debt does not pause for nobody, so I am off to the next todo item. I have been doing taxes, so I have not seen the Wiki, but I most likely am not going to spend 6 hours in the Wiki, however most of us are in our ADMIN most of the day. Alot of us are not Interchange developers, simply people trying to make their store in IC, so the urge to stop what you are doing, venture out to somewhere else, log it, etc is not *as viable. The contribute would not be for questions, so it would "archive" pure big juicy code, snippets, helptips, etc, so we would not have to wade through questions and quoted replies. Maybe the Wiki could be used to search these, and/or edit these. If you are to empower people, you must do it where they are, not where you want them to be. Paul BTW, I am not criticizing, just posting an idea. From interchange-users@icdevgroup.org Tue Jan 14 02:59:02 2003 From: interchange-users@icdevgroup.org (Joachim Leidinger) Date: Tue Jan 14 02:59:02 2003 Subject: [ic] On restart of IC in rpc mode, 2 IC processes are not stopped References: <003201c2bb57$79d0ef80$8002a8c0@takedownlt> Message-ID: <3E23C32A.9040500@blackpoint.de> Ron Phipps wrote: > I'm running IC on Redhat 7.3 all errata up to date, Perl 5.6.1, mysql, > dual Xeon P4, 2GB ram. The IC services is running in RPC mode, I have > tested with both MaxServers set to 0 and no MaxServers setting within > the RPC block in interchange.cfg. Below are the relevant portions of my > interchange.cfg: > > Variable TRAFFIC rpc > > ifdef TRAFFIC =~ /rpc/i > Message RPC traffic settings. > PreFork Yes > StartServers 5 > MaxRequestsPerChild 100 > HouseKeeping 2 > PIDcheck 120 > MaxServers 0 > Endif > > When the service starts ps shows: > > 19452 ? S 0:00 interchange > 19462 ? S 0:00 interchange > 19464 ? S 0:00 interchange > 19466 ? S 0:00 interchange > 19468 ? S 0:00 interchange > 19470 ? S 0:00 interchange > 19472 ? S 0:00 interchange > > I then issue a restart with this command: > > interchange -r -u > > After the restart I see this in ps: > > 19464 ? S 0:00 interchange > 19466 ? S 0:00 interchange > 19470 ? S 0:00 interchange > 19472 ? S 0:00 interchange > 19728 ? S 0:00 interchange > 19736 ? S 0:00 interchange .... > After another restart I see this in ps: > > 19464 ? S 0:00 interchange > 19466 ? S 0:00 interchange > 19470 ? S 0:00 interchange > 19472 ? S 0:00 interchange > 19738 ? S 0:00 interchange > 19740 ? S 0:00 interchange > 20043 ? S 0:00 interchange > 20051 ? S 0:00 interchange > 20053 ? S 0:00 interchange > 20055 ? S 0:00 interchange > 20057 ? S 0:00 interchange > 20059 ? S 0:00 interchange > 20061 ? S 0:00 interchange > > If you count the number of processes it increases by two each time. > This continues in this fashion unless I do a killall and then restart > IC. You can probably figure out on a development server that IC would > be restarted a lot and this leaves a lot of processes which are not > doing anything. > > Any ideas? ... I can confirm this behavior with IC 4.8.6, FreeBSD and Perl 5.8! But I can't increase the number of the processes with several restarting of the IC server. Joachim -- Hans-Joachim Leidinger leidinger@bpanet.de Black Point Arts Internet Solutions GmbH Berner Strasse 117 60437 Frankfurt Tel. 069-952-181-30 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert ber Neuigkeiten informieren? --> http://www.sendaround.de From interchange-users@icdevgroup.org Tue Jan 14 03:21:00 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Tue Jan 14 03:21:00 2003 Subject: [ic] On restart of IC in rpc mode, 2 IC processes are not stopped In-Reply-To: <3E23C32A.9040500@blackpoint.de> Message-ID: <000701c2bba5$bbaa66e0$020110ac@majestic.cursor-software.co.uk> Joachim Leidinger [jojo@blackpoint.de] wrote: > Ron Phipps wrote: > > I'm running IC on Redhat 7.3 all errata up to date, Perl 5.6.1, mysql, > > dual Xeon P4, 2GB ram. The IC services is running in RPC mode, I have > > tested with both MaxServers set to 0 and no MaxServers setting within > > the RPC block in interchange.cfg. > > > > (snip) > > > > If you count the number of processes it increases by two each time. > > This continues in this fashion unless I do a killall and then restart > > IC. You can probably figure out on a development server that IC would > > be restarted a lot and this leaves a lot of processes which are not > > doing anything. > > > I can confirm this behavior with IC 4.8.6, FreeBSD and Perl 5.8! But I > can't increase the number of the processes with several restarting of > the IC server. > Out of interest, are you (either of you) running the with UNIX or INET-mode? -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Tue Jan 14 03:35:01 2003 From: interchange-users@icdevgroup.org (John Beima) Date: Tue Jan 14 03:35:01 2003 Subject: [ic] On restart of IC in rpc mode, 2 IC processes are not stopped In-Reply-To: <3E23C32A.9040500@blackpoint.de> References: <003201c2bb57$79d0ef80$8002a8c0@takedownlt> <3E23C32A.9040500@blackpoint.de> Message-ID: <1042533260.3e23cb8c286e4@www.affordable-web-pages.com> > > > > If you count the number of processes it increases by two each time. > > This continues in this fashion unless I do a killall and then restart > > IC. You can probably figure out on a development server that IC would > > be restarted a lot and this leaves a lot of processes which are not > > doing anything. > > > > Any ideas? > ... > > I can confirm this behavior with IC 4.8.6, FreeBSD and Perl 5.8! But I > can't increase the number of the processes with several restarting of > the IC server. > > Joachim Actually the cause of this one is a rather interesting one. We have tracked down the beginnings of it, but have been too busy to do anymore. What is happening is when a request comes in, Interchange wakes up 2 process not 1 and hands the request to both. The first serve completes it and exits the second one chokes. Then the regular house cleaning kills it. However since when you do a shutdown the house cleaning doesn't seem to be run process are left alive. They are not dead. In most cases if you issue a kill -48 the process shuts itself down cleanly... This only seems to happen in RPC mode. With one or more CPUs. It is very easy to recreate... We started working on it in late November and early December, but then things went nuts... We will be looking into it more in February... John Beima support@affordable-web-pages.com From interchange-users@icdevgroup.org Tue Jan 14 03:42:00 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Tue Jan 14 03:42:00 2003 Subject: [ic] POSIX functions In-Reply-To: <200301131321.20630.geoffs@rdgi.com> Message-ID: <000801c2bba8$c1557be0$020110ac@majestic.cursor-software.co.uk> Geoff Sternecker [geoffs@rdgi.com] wrote: > > I've run in to the need to do floor functions, and to the best of my knowledge > this is only implemented in Perl via the POSIX.pm file.. > So, I was reading through the thread archives, and came across the posting > from Mike Heins.. > http://www.icdevgroup.org/pipermail/interchange-users/2002-November/029247.html > > Is this function going to be rolled into IC? > There's no need really - you can create the global UserTag yourself, as explained in the article you quoted. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Tue Jan 14 03:46:00 2003 From: interchange-users@icdevgroup.org (Joachim Leidinger) Date: Tue Jan 14 03:46:00 2003 Subject: [ic] On restart of IC in rpc mode, 2 IC processes are not stopped References: <000701c2bba5$bbaa66e0$020110ac@majestic.cursor-software.co.uk> Message-ID: <3E23CE29.3000700@blackpoint.de> Kevin Walsh wrote: > Joachim Leidinger [jojo@blackpoint.de] wrote: > >>Ron Phipps wrote: >> >>>I'm running IC on Redhat 7.3 all errata up to date, Perl 5.6.1, mysql, >>>dual Xeon P4, 2GB ram. The IC services is running in RPC mode, I have >>>tested with both MaxServers set to 0 and no MaxServers setting within >>>the RPC block in interchange.cfg. >>> >>>(snip) >>> >>>If you count the number of processes it increases by two each time. >>>This continues in this fashion unless I do a killall and then restart >>>IC. You can probably figure out on a development server that IC would >>>be restarted a lot and this leaves a lot of processes which are not >>>doing anything. >>> >> >>I can confirm this behavior with IC 4.8.6, FreeBSD and Perl 5.8! But I >>can't increase the number of the processes with several restarting of >>the IC server. >> > > Out of interest, are you (either of you) running the with UNIX or > INET-mode? UNIX-mode only! There are two other coworkers, who use the same IC in the same machine. I've asked them for more informations (how to start, stop or restart IC) and did not get the answer yet. I want to know, if they stop, start or restart IC with another commands than me. It seems to, if there are some syntax errors and/or one of the running IC Server is very busy, some IC Server will not stop or end by any command like bin/interchange --stop or bin/interchange -u -r In the error.log file, i have for example - - - [27/November/2002:17:38:35 +0100] - - page server pid 32045 won't die! - - - [27/November/2002:17:38:39 +0100] - - page server pid 32043 won't die! - - - [27/November/2002:17:38:39 +0100] - - page server pid 32047 won't die! - - - [27/November/2002:17:38:43 +0100] - - page server pid 32049 won't die! What kind of the reason can that be? Thanks! Joachim -- Hans-Joachim Leidinger leidinger@bpanet.de Black Point Arts Internet Solutions GmbH Berner Strasse 117 60437 Frankfurt Tel. 069-952-181-30 Fax. 069-952-181-41 Vertretungsberechtigt: Dirk Estenfeld Handelsregister: HRB 50093 Frankfurt am Main USt.-IdNr. de210106871 Besuchen Sie uns im Internet unter --> http://www.bpanet.de Wollen auch Sie Ihre Kunden schnell und unkompliziert ber Neuigkeiten informieren? --> http://www.sendaround.de From interchange-users@icdevgroup.org Tue Jan 14 04:04:01 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Tue Jan 14 04:04:01 2003 Subject: [ic] On restart of IC in rpc mode, 2 IC processes are not stopped In-Reply-To: <3E23CE29.3000700@blackpoint.de> References: <000701c2bba5$bbaa66e0$020110ac@majestic.cursor-software.co.uk> <3E23CE29.3000700@blackpoint.de> Message-ID: <20030114100308.1c261353.racke@linuxia.de> On Tue, 14 Jan 2003 09:45:29 +0100 Joachim Leidinger wrote: > Kevin Walsh wrote: > > Joachim Leidinger [jojo@blackpoint.de] wrote: > > > >>Ron Phipps wrote: > >> > >>>I'm running IC on Redhat 7.3 all errata up to date, Perl 5.6.1, mysql, > >>>dual Xeon P4, 2GB ram. The IC services is running in RPC mode, I have > >>>tested with both MaxServers set to 0 and no MaxServers setting within > >>>the RPC block in interchange.cfg. > >>> > >>>(snip) > >>> > >>>If you count the number of processes it increases by two each time. > >>>This continues in this fashion unless I do a killall and then restart > >>>IC. You can probably figure out on a development server that IC would > >>>be restarted a lot and this leaves a lot of processes which are not > >>>doing anything. > >>> > >> > >>I can confirm this behavior with IC 4.8.6, FreeBSD and Perl 5.8! But I > >>can't increase the number of the processes with several restarting of > >>the IC server. > >> > > > > Out of interest, are you (either of you) running the with UNIX or > > INET-mode? > > UNIX-mode only! > > There are two other coworkers, who use the same IC in the same machine. > I've asked them for more informations (how to start, stop or restart IC) > and > did not get the answer yet. I want to know, if they stop, start or > restart IC with another commands than me. > It seems to, if there are some syntax errors and/or one of the running > IC Server is very busy, some IC Server will not stop or end by any > command like > > bin/interchange --stop > or > bin/interchange -u -r > > In the error.log file, i have for example > > - - - [27/November/2002:17:38:35 +0100] - - page server pid 32045 won't die! > - - - [27/November/2002:17:38:39 +0100] - - page server pid 32043 won't die! > - - - [27/November/2002:17:38:39 +0100] - - page server pid 32047 won't die! > - - - [27/November/2002:17:38:43 +0100] - - page server pid 32049 won't die! > > What kind of the reason can that be? Among other things an infinite loop in embedded Perl might cause this error message. Ciao Racke From interchange-users@icdevgroup.org Tue Jan 14 04:19:00 2003 From: interchange-users@icdevgroup.org (Joachim Leidinger) Date: Tue Jan 14 04:19:00 2003 Subject: [ic] On restart of IC in rpc mode, 2 IC processes are not stopped References: <000701c2bba5$bbaa66e0$020110ac@majestic.cursor-software.co.uk> <3E23CE29.3000700@blackpoint.de> <20030114100308.1c261353.racke@linuxia.de> Message-ID: <3E23D5F7.3000108@leidinger.net> Stefan Hornburg wrote: ... >> >>In the error.log file, i have for example >> >>- - - [27/November/2002:17:38:35 +0100] - - page server pid 32045 won't die! >>- - - [27/November/2002:17:38:39 +0100] - - page server pid 32043 won't die! >>- - - [27/November/2002:17:38:39 +0100] - - page server pid 32047 won't die! >>- - - [27/November/2002:17:38:43 +0100] - - page server pid 32049 won't die! >> >>What kind of the reason can that be? > > > Among other things an infinite loop in embedded Perl might cause this error > message. > > Ciao > Racke Which kind of embedded Perl? An UserTag? Thanks! Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. [joachim@leidinger.net] http://www.leidinger.net From interchange-users@icdevgroup.org Tue Jan 14 04:34:01 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Tue Jan 14 04:34:01 2003 Subject: [ic] On restart of IC in rpc mode, 2 IC processes are not stopped In-Reply-To: <3E23D5F7.3000108@leidinger.net> References: <000701c2bba5$bbaa66e0$020110ac@majestic.cursor-software.co.uk> <3E23CE29.3000700@blackpoint.de> <20030114100308.1c261353.racke@linuxia.de> <3E23D5F7.3000108@leidinger.net> Message-ID: <20030114103312.64fb1a3f.racke@linuxia.de> On Tue, 14 Jan 2003 10:18:47 +0100 Joachim Leidinger wrote: > Stefan Hornburg wrote: > ... > >> > >>In the error.log file, i have for example > >> > >>- - - [27/November/2002:17:38:35 +0100] - - page server pid 32045 won't die! > >>- - - [27/November/2002:17:38:39 +0100] - - page server pid 32043 won't die! > >>- - - [27/November/2002:17:38:39 +0100] - - page server pid 32047 won't die! > >>- - - [27/November/2002:17:38:43 +0100] - - page server pid 32049 won't die! > >> > >>What kind of the reason can that be? > > > > > > Among other things an infinite loop in embedded Perl might cause this error > > message. > > > > Ciao > > Racke > > Which kind of embedded Perl? An UserTag? Any Perl code executed by Interchange might do the "trick". Ciao Racke From interchange-users@icdevgroup.org Tue Jan 14 05:34:01 2003 From: interchange-users@icdevgroup.org (Billy J. Mayberry) Date: Tue Jan 14 05:34:01 2003 Subject: [ic] SHIPPING OPTIONS Message-ID: <000501c2baef$25a36310$4c00a8c0@billy2> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Can anyone tell me why I can't use fedex as a shipping method? I am running ver 4.9.3 and setting the US in table>country to FEG I get this on the checkout screen Note: Unable to access Fedex calculator If anyone could help or lead me to the right place I would be greatful. Thanks in advance... Billy J. Mayberry The Computer Corner www.thecomputercorner.net -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use iQA/AwUBPiKV2YHUUkYUxfgPEQITdACg34iVW/T7EuN4h2YTAF/p5Ln0WRgAn2hx FV4t3oi7G0Me8YB2JxAq7Mjb =d2I8 -----END PGP SIGNATURE----- From interchange-users@icdevgroup.org Tue Jan 14 08:34:01 2003 From: interchange-users@icdevgroup.org (DB) Date: Tue Jan 14 08:34:01 2003 Subject: [ic] what i do with interchange Message-ID: <3E24119E.40208@M-and-D.com> > I have a few domains pointed at the same IC site. I use an apache > rewrite rule on the domains to add a parameter and redirect to the IC > domain. Inside of my site, I use those passed parameters to both control > the look of the site and to filter products. This allows my IC site to > completely adopt a different look and offer different types of products > depending on the originating domain. > I feed these different domains to the search engines. Each site look is > "search engine optimized" in a manner that corresponds with that product > line. This allows my single IC installation to get high ranking on a > variety of rather-competitive search engine phrases. > This has been a paid political announcement from "friends of > interchange". > > Jeff Hi... can you provide more details, such as the actual rewrite rules and examples of how you do the filtering within IC? I'd like try this out! DB From interchange-users@icdevgroup.org Tue Jan 14 09:04:00 2003 From: interchange-users@icdevgroup.org (stjohn) Date: Tue Jan 14 09:04:00 2003 Subject: [ic] embedded perl Message-ID: <015501c2bbd5$87401ff0$0400a8c0@mercury> Hi all, Posted a few days ago regarding the structure and use of the &Scratch, $Tag and $Tmp "objects" in most of the components. Just wondering if anyone and any good, solid information on the topic of component writing for interchange. I've looked through most of the interchange documentation and the rtfm site but I can't find any solid information on what these objects are and how / why to use them. I need to extend some of the functionality of interchange by using components or embedded perl and I thought the best starting point would be to look at the existing components. Most of the code makes sense but there is no explanation of the use of these objects or the structure of the components in general. Any help or pointers would be excellent, thanks in advance From interchange-users@icdevgroup.org Tue Jan 14 09:10:01 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Tue Jan 14 09:10:01 2003 Subject: [ic] Interchange-users guidelines [semi-monthly posting] Message-ID: <20030114090900.A19898@bill.heins.net> interchange-users@icdevgroup.org is a list for users who have questions about configuring, setting up, and fine tuning Interchange catalogs. Other topics will include: - announcements of Interchange releases and fixes - notification and submission of Interchange bugs - distributing pages which implement Interchange functions - discussing the future development of Interchange - any other topic relating *directly* to Interchange The list started January 5, 1997 as minivend-users. For an archive of past articles, see: http://www.icdevgroup.org/archive/interchange-users/ Also, because the list has high volume for one of its type, before posting to the list it is recommended that you use the search feature at: http://www.icdevgroup.org/ Many questions can be answered by trying some keywords at this facility. Try more than one combination. It is common courtesy when posting to a forum such as this to: 1. Include the version of software you are using, i.e. Interchange 4.8.6. Bugs are fixed and deficiencies corrected in each release of Interchange, as with almost any software. 2. Include relevant information where appropriate. The operating system in question is often relevant, as is the Perl version and database type in use. 3. When talking about tag problems, include a snippet of ITL tags which illustrates the problem. 4. When posting about PGP, Glimpse, or anything else that uses an external command, you need to state what happens when you run the same thing from the command line. 5. Include error log entries or a statement that there are none. If a post to this list doesn't include the relevant information, not only are you unlikely to get a reasonable answer, you will add to the volume of the list and make it less likely that reasonable questions are answered. All entries are archived and available via a web gateway. The "X-No-Archive: Yes" header is honored if you choose to use it. List etiquette issues: -- No HTML mail is allowed. Besides being improper email netiquette, it destroys the digest. -- Please try to keep your line size less than 80 characters. -- No PGP signatures should be used. This is not a legal record. -- No flame wars are tolerated. -- No "courtesy copies" unless specifically requested. It can be annoying to some people to receive two copies of the same message. -- If you must munge, make sure you mention this in the BODY of the message and not buried incomprehensibly in the header or in a cluttered signature attachment. -- The list changes the Reply-To: header to point to the list. While this is by popular demand, it is recognized that it is not always the best mode of operation. You should reply by email directly to the sender if the post will not be of general use. -- Contextual quoting is preferred, i.e. Quoting user1 (): > Some limited text that will give context. > Your reply. versus Your reply, lazily put at the top. Quoting user1 (): > The whole big blob of the previous posts, including > signatures and all In fact, the author of the program stops following a thread the moment this lazy quoting method is used. He figures that if you can't take half a minute of your time to save multiple minutes of the readers time, the heck with ya. For more information see the Netiquette RFC: http://www.faqs.org/rfcs/rfc1855.html Thanks for your cooperation. We believe we have one of the best user lists going, and we would like to keep it useful and pleasant to use. From interchange-users@icdevgroup.org Tue Jan 14 10:33:01 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Tue Jan 14 10:33:01 2003 Subject: [ic] Major changes to DEVEL CVS branch In-Reply-To: ; from paul@gishnetwork.com on Mon, Jan 13, 2003 at 10:39:15PM -0800 References: <3E238D57.6000403@zeald.com> Message-ID: <20030114103144.A23571@bill.heins.net> Quoting Paul Jordan (paul@gishnetwork.com): > > Mike Heins wrote: > > > Quoting Chris Tooley (christ@ntrc.net): > > > > > >>On Mon, 2003-01-13 at 20:06, Mike Heins wrote: > > --snip-- > > >>As it appears that 5.0 will be not only > > >>a major backend change and but also a major shift in UI. Has this been > > >>looked into recently? > > > > > > > > > The thing I am really interested in is some better online help. There is > > > now a built-in online help editor, but I doubt anyone except a couple of > > > people (one of whom is me) will actually take the time to contribute > > > back changes if past behavior is any indication. > > > > > > I would love to be wrong on these assumptions... 8-) > > > > Mike ... Once IC 5 is released we are planning a big upgrade to > > our companies > > internal interchange support systems. As part of this we are > > planning on going > > through the IC online help and updating the existing sections, > > adding in new > > sections etc. As usual, we will probably go to work on the visual > > design and > > layout of it as well. :-) My hope is that the work we do here > > will be able to be > > integrated into IC and will be of benefit to the rest of the community. > > Hi > > David (I have seen 5.0 David, really looks great, you guys did a great job > on the html) > > Now, for this topic... > > What about building a tool to contribute right from ADMIN, where most of us > are all day anyways. Some sort of questionnaire (or form) that emails > directly to the devgroup, and gets databased, code only, no questions. > > We could submit snippets, links to [strip] tagged content, whole pages, > helptips (for integration into backend/frontend covering demo/advanced > functions), etc. > > All I have to say is, out of sight, out of mind. One could post interesting > code, or a link to [strip] tagged content in under 60 seconds by hitting the > "contribute" tab in admin. As hectic as all our lives are, I am less likely > to search out a good home (Archives, Docs, RTFM, Forum, Wiki) for said > snippet, log in, cut, paste, explain... Alot of times I have something cool, > but don't think it is worth crowding 10000 inboxes. When I have something > cool, the world does not stop, and my credit card debt does not pause for > nobody, so I am off to the next todo item. > > I have been doing taxes, so I have not seen the Wiki, but I most likely am > not going to spend 6 hours in the Wiki, however most of us are in our ADMIN > most of the day. Alot of us are not Interchange developers, simply people > trying to make their store in IC, so the urge to stop what you are doing, > venture out to somewhere else, log it, etc is not *as viable. > > The contribute would not be for questions, so it would "archive" pure big > juicy code, snippets, helptips, etc, so we would not have to wade through > questions and quoted replies. Maybe the Wiki could be used to search these, > and/or edit these. > > If you are to empower people, you must do it where they are, not where you > want them to be. > Neat idea -- however I believe that without some hoops to jump through you will get mostly garbage. >From fairly long experience dealing with code contributions, the casual ones are rarely applicable to the real world without three times the amount of time they took to create to vet, check, and integrate them. The one area I would like to do that in is for online help. Now that it is editable, it would be fairly easy to do a "send this entry to ICDEVGROUP" button that might yield some good results. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Just because something is obviously happening doesn't mean something obvious is happening. --Larry Wall From interchange-users@icdevgroup.org Tue Jan 14 10:49:01 2003 From: interchange-users@icdevgroup.org (D Zhang - msi) Date: Tue Jan 14 10:49:01 2003 Subject: [ic] embedded perl References: <015501c2bbd5$87401ff0$0400a8c0@mercury> Message-ID: <000501c2bbe4$224ceec0$0affff0a@msi5> ----- Original Message ----- From: "stjohn" Subject: [ic] embedded perl > I've looked through most of the interchange documentation and > the rtfm site but I can't find any solid information on what these objects > are and how / why to use them. Read template and tag manuals. David --------------------------------- dzhang@msihosting.com http://www.msihosting.com Expert -- ecommerce solution, interchange hosting From interchange-users@icdevgroup.org Tue Jan 14 11:15:01 2003 From: interchange-users@icdevgroup.org (stjohn) Date: Tue Jan 14 11:15:01 2003 Subject: [ic] embedded perl References: <015501c2bbd5$87401ff0$0400a8c0@mercury> <000501c2bbe4$224ceec0$0affff0a@msi5> Message-ID: <016301c2bbe7$dcc59150$0400a8c0@mercury> >D Zhang wrote: > > Read template and tag manuals. D Zhangy, RTFM yourself!!!! As you will see from my post, I have already stated that I have read the relevant documentation - which begs the question - can you read? Upon examining ALL of the Perl source code, it starts to become clearer how the product functions, the items in question are simply identifiers for the objects defined within the Vend package. However, this is not very easy to find, are all users of interchange expected to be experienced software developers, with a lot of time on their hands? The whole point of using interchange is that it offers a fast solution. If I had 6 months to spare searching source code then I would write it ALL myself. Thanks for your lack of help, it's posts like yours that bring the excellent group down! From interchange-users@icdevgroup.org Tue Jan 14 11:49:01 2003 From: interchange-users@icdevgroup.org (Blair Campbell) Date: Tue Jan 14 11:49:01 2003 Subject: [ic] Major changes to DEVEL CVS branch References: <20030113210630.A14282@bill.heins.net> Message-ID: <069301c2bbec$b29d3b80$b17ba8c0@blairxpbox> thanks for your hard work! ----- Original Message ----- From: "Mike Heins" To: "Interchange User List" Sent: Monday, January 13, 2003 6:06 PM Subject: [ic] Major changes to DEVEL CVS branch > Dear All, > > This is to advise everyone that the nightly builds will stop temporarily. > There have been major changes to the DEVEL branch CVS prior to the > beta for Interchange 5.0. > > The fine folks at Zeald have provided professional-quality HTML for > the Interchange UI, and I have incorporated it in an update that should > greatly improve the UI, and make it more intuitive. > > In addition, the UI becomes more easily configurable than ever. > > Most custom UI pages should work unchanged, but there may be cases > where they don't; also, most menus should work fine but again there > will be cases where they won't. Because of this, I am suspending > the nightly build until some semblance of stability returns. > > In a few days, Demo space 1 should reflect the new UI and the > nightly builds will return. > > Best, > Mike > -- > Mike Heins > Perusion -- Expert Interchange Consulting http://www.perusion.com/ > phone +1.513.523.7621 > > Being against torture ought to be sort of a bipartisan thing. > -- Karl Lehenbauer > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Tue Jan 14 11:53:01 2003 From: interchange-users@icdevgroup.org (Ed LaFrance) Date: Tue Jan 14 11:53:01 2003 Subject: [ic] Newbie - Admin access from outside In-Reply-To: <1042513724.3e237f3c85653@webmail.no-ip.com> Message-ID: <5.1.1.6.0.20030114084615.03675950@mail.newmediaems.com> At 07:08 PM 01/13/2003 -0800, you wrote: >I set up the foundation demo store. I can access the demo store from the >Internet, but when i try to get to /cgi-bin/foundation/admin/index.html, it >apparently refuses the connection. > >I can't really find the reason in the doco. I find the section on restricting >access to pages using .access and the userdb, but this doesn't apply since I'm >not even logging in. I also find the WideOpen configuration which "Disables IP >qualification of user sessions"...whatever that is, since there is no doco on >what this is and what are the alternatives. > >I figure it must be a port it is trying to use that I don't permit or it's >something of the above-mentioned. > >I would deeply appreciate any pointers on how this works and generally how use >of ports and security works. > >Also, any pointers on where to look for setting up credit card >authorization and >payment. > >A couple tall orders, but much much appreciation for the help. > >Thanks, Joe What do you specifically mean by 'refuses the connection' - what error page/message are you getting. Is your web server software SSL enabled? It is possible to run the entire UI under SSL, though I do not believe that this is the default - and if you were attempting to do that without SSL capability that would most certainly cause a problem. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From interchange-users@icdevgroup.org Tue Jan 14 12:22:00 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Tue Jan 14 12:22:00 2003 Subject: [ic] embedded perl References: <015501c2bbd5$87401ff0$0400a8c0@mercury> <000501c2bbe4$224ceec0$0affff0a@msi5> <016301c2bbe7$dcc59150$0400a8c0@mercury> Message-ID: <001601c2bbf0$4d2c76e0$0a01000a@badtzmaru.com> > D Zhangy, RTFM yourself!!!! As you will see from my post, I have already > stated that I have read the relevant documentation - which begs the > question - can you read? It's *in* the manual, though. If you look in the ictags reference under tmp, scratch, and tag it has the syntax for ITL and embedded perl for every one of those. Almost all of ic's components are documented there. Jeff From interchange-users@icdevgroup.org Tue Jan 14 12:25:02 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Tue Jan 14 12:25:02 2003 Subject: [ic] embedded perl In-Reply-To: <016301c2bbe7$dcc59150$0400a8c0@mercury>; from stjohn@kr8.co.uk on Tue, Jan 14, 2003 at 04:13:20PM -0000 References: <015501c2bbd5$87401ff0$0400a8c0@mercury> <000501c2bbe4$224ceec0$0affff0a@msi5> <016301c2bbe7$dcc59150$0400a8c0@mercury> Message-ID: <20030114122247.A24490@bill.heins.net> Quoting stjohn (stjohn@kr8.co.uk): > >D Zhang wrote: > > > > Read template and tag manuals. > > D Zhangy, RTFM yourself!!!! As you will see from my post, I have already > stated that I have read the relevant documentation - which begs the > question - can you read? > > Upon examining ALL of the Perl source code, it starts to become clearer how > the product functions, the items in question are simply identifiers for the > objects defined within the Vend package. However, this is not very easy to > find, are all users of interchange expected to be experienced software > developers, with a lot of time on their hands? The whole point of using > interchange is that it offers a fast solution. If I had 6 months to spare > searching source code then I would write it ALL myself. > > Thanks for your lack of help, it's posts like yours that bring the excellent > group down! > Your outburst is totally unjustified, and his RTFM is justified. The $Tag object *is* documented, rather extensively in fact -- a call example is given for almost every standard IC tag. The other ones you mention are documented as well. So I don't know what you are reading, but you aren't reading it very thoroughly. Perhaps downloading the docs and using grep on the files will help you. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers From interchange-users@icdevgroup.org Tue Jan 14 12:26:29 2003 From: interchange-users@icdevgroup.org (Carlos Rodriguez) Date: Tue Jan 14 12:26:29 2003 Subject: [ic] Shipping not working Message-ID: Hi all, I am a newbie. My cart is not showing any shipping charges. Even after I choose a shipping method, it still displays $0.00. Any suggestions, pointers, guidance? Carlos Rodriguez 305.322.1214 From interchange-users@icdevgroup.org Tue Jan 14 12:33:00 2003 From: interchange-users@icdevgroup.org (Michael Goldfarb) Date: Tue Jan 14 12:33:00 2003 Subject: [ic] Shipping not working In-Reply-To: Message-ID: <000001c2bbf2$d79410c0$1e01a8c0@mrblondelaptop> >Hi all, > >I am a newbie. >My cart is not showing any shipping charges. Even after I choose a shipping >method, it still displays $0.00. Any suggestions, pointers, guidance? > >Carlos Rodriguez >305.322.1214 Which shipping method are you trying to use? Most posts like this that I've seen are typically because the shipping method is not associated with the country properly. Make sure that the shipping method(s) you are trying to use are properly linked with their corresponding countries by viewing the "shipmodes" column in the countries table. If that doesn't help, please list the shipping method(s) you are trying to use and the version of IC that you are running. From interchange-users@icdevgroup.org Tue Jan 14 12:52:01 2003 From: interchange-users@icdevgroup.org (D Zhang - msi) Date: Tue Jan 14 12:52:01 2003 Subject: [ic] embedded perl References: <015501c2bbd5$87401ff0$0400a8c0@mercury> <000501c2bbe4$224ceec0$0affff0a@msi5> <016301c2bbe7$dcc59150$0400a8c0@mercury> Message-ID: <004901c2bbf5$61884f60$0affff0a@msi5> ----- Original Message ----- From: "stjohn" >Just wondering if anyone and any good, solid information on the topic of component writing for >interchange. I've looked through most of the interchange documentation and >the rtfm site but I can't find any solid information on what these objects >are and how / why to use them. pages of foundation store should give you good examples of "what these objects are and how / why to use them." >Upon examining ALL of the Perl source code, ...... Understand your anxious and feeling of helpless. But, good way of learning and particularly "interchange" can save you a lot of time. >Posted a few days ago ..... Have you thought, why there was no reply? >The whole point of using interchange is that it offers a fast solution. If I had 6 months to spare >searching source code then I would write it ALL myself. I guess the answer to this is: the icgroup is stupid. It takes so many years and people around the world to make it. > Thanks for your lack of help, it's posts like yours that bring the excellent > group down! Hope your posts would bring the excellent group UP. David --------------------------------- dzhang@msihosting.com http://www.msihosting.com Expert -- ecommerce solution, interchange hosting From interchange-users@icdevgroup.org Tue Jan 14 13:01:01 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Tue Jan 14 13:01:01 2003 Subject: [ic] embedded perl In-Reply-To: <001601c2bbf0$4d2c76e0$0a01000a@badtzmaru.com>; from jeff@badtz-maru.com on Tue, Jan 14, 2003 at 12:13:46PM -0500 References: <015501c2bbd5$87401ff0$0400a8c0@mercury> <000501c2bbe4$224ceec0$0affff0a@msi5> <016301c2bbe7$dcc59150$0400a8c0@mercury> <001601c2bbf0$4d2c76e0$0a01000a@badtzmaru.com> Message-ID: <20030114130023.A25441@bill.heins.net> Quoting Jeff Dafoe (jeff@badtz-maru.com): > > D Zhangy, RTFM yourself!!!! As you will see from my post, I have already > > stated that I have read the relevant documentation - which begs the > > question - can you read? > > It's *in* the manual, though. If you look in the ictags reference under > tmp, scratch, and tag it has the syntax for ITL and embedded perl for every > one of those. Almost all of ic's components are documented there. > bill:~% grep '$Tag' /work/docs/*.sdf | wc -l 336 bill:~% It is mentioned on 336 lines in the version in CVS. bill:~% grep '$Tag' /usr/share/doc/interchange-4.8.5/*.pod | wc -l 650 bill:~% And on 650 lines in the RPM documentation for 4.8.5. I think the difference has to do with long lines in the SDF source. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. -- Dick Feynman From interchange-users@icdevgroup.org Tue Jan 14 13:07:00 2003 From: interchange-users@icdevgroup.org (D Zhang - msi) Date: Tue Jan 14 13:07:00 2003 Subject: [ic] embedded perl References: <015501c2bbd5$87401ff0$0400a8c0@mercury> <000501c2bbe4$224ceec0$0affff0a@msi5> <016301c2bbe7$dcc59150$0400a8c0@mercury> <20030114122247.A24490@bill.heins.net> Message-ID: <005701c2bbf7$83fe6a00$0affff0a@msi5> ----- Original Message ----- From: "Mike Heins" Subject: Re: [ic] embedded perl > Quoting stjohn (stjohn@kr8.co.uk): > > >D Zhang wrote: > > > > > > Read template and tag manuals. > > > > D Zhangy, RTFM yourself!!!! As you will see from my post, I have already > > stated that I have read the relevant documentation - which begs the > > question - can you read? > > > > > > Thanks for your lack of help, it's posts like yours that bring the excellent > > group down! > > > > Your outburst is totally unjustified, and his RTFM is justified. The > $Tag object *is* documented, rather extensively in fact -- a call > example is given for almost every standard IC tag. > Thanks for your comemnt. Mike. David --------------------------------- dzhang@msihosting.com http://www.msihosting.com Expert -- ecommerce solution, interchange hosting From interchange-users@icdevgroup.org Tue Jan 14 13:28:01 2003 From: interchange-users@icdevgroup.org (Chris Anderson) Date: Tue Jan 14 13:28:01 2003 Subject: [ic] IC Server is running but Interchange server not available... In-Reply-To: <20030114170001.1193.23078.Mailman@icdevgroup.org> Message-ID: >>Message: 10 >>Date: Mon, 13 Jan 2003 14:32:55 -0500 >>From: john@naturebuzz.com >>To: interchange-users@icdevgroup.org >>Subject: Re: [ic] IC Server is running but Interchange server not available... >>Reply-To: interchange-users@icdevgroup.org >>they do redirect to the /path/to/interchange >>You can simply ssh to /path/to/interchange/ >>and ./restart >>to get your copy of interchange running Interchange is running :( From interchange-users@icdevgroup.org Tue Jan 14 14:08:01 2003 From: interchange-users@icdevgroup.org (Reid Sutherland) Date: Tue Jan 14 14:08:01 2003 Subject: [ic] [4.9.5] Question about lib/UI/pages/include/item_option_simple Message-ID: <3E245FF2.6000805@thirddimension.net> Hi everyone, I have a question about the code in lib/UI/pages/include/item_option_simple. This can apply to both 4.8.6 and 4.9.5 (versions I'm running). What does $v do? ... [perl interpolate=1 tables="[cgi mv_data_table]"] my $db = $Db{[cgi mv_data_table]} or return; my ($k,$v); $db->clone_row($CGI->{ui_clone_id}, $CGI->{sku}); $db->clone_set('sku', $CGI->{ui_clone_id}, $CGI->{sku}); return; [/perl] ... It seems to serve no purpose other then to stop the Options Editor from functioning properly. .. map { my $default = 0; s/[,\r\n]//g; if(s/\*//g) { $default = 1; $hasdefault = 1; } if($v) { if(/=/) { ($left,$right) = split('=',$_); } else { $right = $_; $left = substr($right,0,3); } while($seen{$left}++) { $left++; } $_ = join('=',$left,$right); if($default) { $_ .= "*"; } } } @value; .. Anything below 'if ($v)' does not get executed which results in an option's default being lost, or not being set, when using the Options Editor. Moving 'if($default) { $_ .= "*"; )' below the if block, solves this issue. Also futher down there is this line: $odb->set_field($key,'o_widget','select'); This will cause the widget style to be lost upon use of the Options Editor. Removing this line solves this issue. Any ideas? -reid From interchange-users@icdevgroup.org Tue Jan 14 14:34:01 2003 From: interchange-users@icdevgroup.org (Dave LaTourette) Date: Tue Jan 14 14:34:01 2003 Subject: [ic] 980.csv (zip.csv) problem not allowing internal lookup In-Reply-To: <000001c2bbf2$d79410c0$1e01a8c0@mrblondelaptop> Message-ID: I'm using IC 4.8.6 and have been using the UPS WWW lookups for freight, but as you know, UPS Ground isn't resolving these days. I've decided to go to internal lookups to solve this and future problems. I've uploaded current rate charts, and a pertinent zone chart to my products directory. I've set shipping methods in the UI and the zone and rate charts show up there. I've added a catalog.cfg directive for the zone table, but when I restart IC, I get the following error message: ..Using default DBM database...Bad shipping file for zone 'u', lookup disabled. My 980.csv file looks just like the included 450.csv file (except of course for the values). I even tried stripping out all the text, but I still get the same error. Do you have any ideas what's going on, or have a working zip.csv file I could look at? Thanks, Dave LaTourette Davesport LLC ph. 425-888-4444 fax 425-888-6444 www.davesport.com From interchange-users@icdevgroup.org Tue Jan 14 14:47:00 2003 From: interchange-users@icdevgroup.org (Nick Hall) Date: Tue Jan 14 14:47:00 2003 Subject: [ic] Suggestions for a payment gateway? Message-ID: <5.2.0.9.2.20030114125258.00b4b3c8@mail.selltothem.com> Does anyone have any suggestions for or against a payment gateway or merchant provider for someone who doesn't currently have one? I've looked through the Interchange source modules for the various payment gateways and they all seem to support pretty much the same features. Has anyone had any personal experiences, good or bad, with one of these providers that would make you make a recommendation? Thanks for any advice, Nick From interchange-users@icdevgroup.org Tue Jan 14 15:10:01 2003 From: interchange-users@icdevgroup.org (Jonathan Clark) Date: Tue Jan 14 15:10:01 2003 Subject: [ic] applet installation In-Reply-To: Message-ID: <000301c2bc08$1b944fa0$0b01a8c0@NT3078> > I need help inserting a Java Applet onto a picture in IC. > Anyone know how this might work? We've tried several ways and > nothing works. All I get is a gray patch where my picture is > supposed to be. Usually this happens when the browser can't find the java applet. And usually this is because you told it to look in the wrong place. Remember, without specifying a location it will look in /cgi-bin/foundation or whatever. I suspect you need a: in your applet definition. Jonathan www.webmaint.net From interchange-users@icdevgroup.org Tue Jan 14 15:32:00 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Tue Jan 14 15:32:00 2003 Subject: [ic] Suggestions for a payment gateway? References: <5.2.0.9.2.20030114125258.00b4b3c8@mail.selltothem.com> Message-ID: <001701c2bc0a$d22db1a0$0a01000a@badtzmaru.com> > Does anyone have any suggestions for or against a payment gateway > or merchant provider for someone who doesn't currently have one? I like the bank of america gateway, which is called "estore settle-up". Aside from the issue where they seem to set everyone's account up wrong the first time (by giving it a full estore instead of just the gateway api), it's pretty painless to implement. And inexpensive too. It costs me less than $30 a month. Since they are one of the major merchant banks they can set up merchant accounts at the same time. I don't get a kickback or anything from this, but the boa rep I dealt with, Margaret Carter at 804-515-2292 was the most pleasant person I think I have dealt with on the phone in the last ten years. I suspect that this is probably more a topic for interchange-biz, not sure though. The relative ease at which boa is integrated versus some of the others that require the installation of special libraries probably has some relevancy here. Plus the fact that I can answer questions about the boa integration but not any of the others... Jeff From interchange-users@icdevgroup.org Tue Jan 14 15:35:59 2003 From: interchange-users@icdevgroup.org (marty) Date: Tue Jan 14 15:35:59 2003 Subject: [ic] 980.csv (zip.csv) problem not allowing internal lookup In-Reply-To: References: Message-ID: <1042576682.7225.19.camel@swanky.mdhome.net> On Tue, 2003-01-14 at 11:33, Dave LaTourette wrote: > I'm using IC 4.8.6 and have been using the UPS WWW lookups for freight, but > as you know, UPS Ground isn't resolving these days. > > I've decided to go to internal lookups to solve this and future problems. > I've uploaded current rate charts, and a pertinent zone chart to my products > directory. I've set shipping methods in the UI and the zone and rate charts > show up there. I've added a catalog.cfg directive for the zone table, but > when I restart IC, I get the following error message: > > ..Using default DBM database...Bad shipping file for zone 'u', lookup > disabled. This looks like a syntax error in your shipping.asc file otherwise it would say "bad shipping file for zone 980.csv" (at least that is what mine said when the actual zone file is bad) can you post the relevant section of your shipping.asc file? -- marty From interchange-users@icdevgroup.org Tue Jan 14 16:07:00 2003 From: interchange-users@icdevgroup.org (Triangle Research Server Adminstrators) Date: Tue Jan 14 16:07:00 2003 Subject: [ic] New Interchange Logo Message-ID: <017501c2bc11$a95ff7e0$6e0d450a@tri.com> Folks, I was wondering if the new Interchange Logo is GPL'd or not. Can we freely use it on our web site or do we need permission to? Thanks, Richard Templet From interchange-users@icdevgroup.org Tue Jan 14 16:19:00 2003 From: interchange-users@icdevgroup.org (Grant) Date: Tue Jan 14 16:19:00 2003 Subject: [ic] what i do with interchange In-Reply-To: <000501c2bb6f$a1227870$1e01a8c0@mrblondelaptop> Message-ID: >> I have a few domains pointed at the same IC site. I use an apache >>rewrite rule on the domains to add a parameter and redirect to the IC >>domain. Inside of my site, I use those passed parameters to both >control >>the look of the site and to filter products. This allows my IC site to >>completely adopt a different look and offer different types of products >>depending on the originating domain. >> I feed these different domains to the search engines. Each site >look >is >>"search engine optimized" in a manner that corresponds with that >product >>line. This allows my single IC installation to get high ranking on a >>variety of rather-competitive search engine phrases. >> This has been a paid political announcement from "friends of >>interchange". >> >>Jeff > >We actually do something very similar and have good success with it. IC >can accommodate everything we have needed it to do and a whole lot more! > >This has been a follow-up message from "FOI" That sounds like an awesome idea. Did you guys run into any particular problems setting that up? - Grant From interchange-users@icdevgroup.org Tue Jan 14 16:22:00 2003 From: interchange-users@icdevgroup.org (Jon Jensen) Date: Tue Jan 14 16:22:00 2003 Subject: [ic] New Interchange Logo In-Reply-To: <017501c2bc11$a95ff7e0$6e0d450a@tri.com> References: <017501c2bc11$a95ff7e0$6e0d450a@tri.com> Message-ID: On Tue, 14 Jan 2003, Triangle Research Server Adminstrators wrote: > I was wondering if the new Interchange Logo is GPL'd or not. Can we freely > use it on our web site or do we need permission to? Stefan Hornburg is the current ICDEVGROUP captain, and probably the one who should speak definitively on this matter. But it is my understanding that everything in the CVS repository and available for download in the tarball is licensed to you under the GPL. Jon From interchange-users@icdevgroup.org Tue Jan 14 16:25:03 2003 From: interchange-users@icdevgroup.org (Jim Toro) Date: Tue Jan 14 16:25:03 2003 Subject: [ic] Anyone using 4.9.5 in production In-Reply-To: <017501c2bc11$a95ff7e0$6e0d450a@tri.com> References: <017501c2bc11$a95ff7e0$6e0d450a@tri.com> Message-ID: I have been using 4.8.3 for a long time now and trying to avoid incremental upgrades. I see that 4.8.6 is worth upgrading to but everyone seems to be working with 4.9.x or higher. IC is not totally new to me, as we have been using it since MV 4.04a but I am not sure if 4.9.5 is stable enough to put into production. Just would really love to get the benefits of all the 4.9.x changes and not just do a small jump to 4.8.6 Anyone using 4.9.x in production reliably ????? From interchange-users@icdevgroup.org Tue Jan 14 16:43:01 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Tue Jan 14 16:43:01 2003 Subject: [ic] what i do with interchange References: <3E24119E.40208@M-and-D.com> Message-ID: <001301c2bc14$c32d7820$0a01000a@badtzmaru.com> > > I have a few domains pointed at the same IC site. I use an apache > > rewrite rule on the domains to add a parameter and redirect to the IC > > domain. Inside of my site, I use those passed parameters to both control > > the look of the site and to filter products. This allows my IC site to > > completely adopt a different look and offer different types of products > > depending on the originating domain. > > I feed these different domains to the search engines. Each site look is > > "search engine optimized" in a manner that corresponds with that product > > line. This allows my single IC installation to get high ranking on a > > variety of rather-competitive search engine phrases. > > Hi... can you provide more details, such as the actual rewrite rules > and examples of how you do the filtering within IC? I'd like try this out! I have a few domains that are set up to do nothing other than forward to my main domain. The apache virtualhost configuration for those domains contains the following: ErrorDocument 404 http://store.subcultural.com/subcultural/index?src=pcing RewriteEngine on RewriteRule ^.*$ http://store.subcultural.com/subcultural/index?src=pcing [L,R] Those configuration elements redirect to my main domain and add a parameter. On the main site, I simply use... [if cgi src eq pcing] [elsif cgi src eq pces] [/else] [/if] ... in various places on the page to output tags specific for that domain. I should note that the optimization strategy I am shooting for is not complete indexing of my catalog but instead focuses on a few keywords that are key to the entire product line. The cgi value is lost once the spider starts to move to the interior pages but in my strategy I do not care about those pages (although you could pick them up in the value namespace on interior pages). The first term I did this with, "punk clothes", now lists my site in the top 15 results for searches originating from either the google or inktomi engines. This is with no sites linking to me, either. I just output a page title of "punk clothes", some silly text with "punk clothes" near the very top of the page, and that's about it. I have no experience in search engine submission, I spent about a week in mid-december doing some research and seeing how I could use the fact that the site is dynamic to help get good placement. For some domains, I send an additional parameter that tells the main site to only display a certain class of products. This doesn't have anything to do with my search engine strategy but instead has to do with the fact that the "punk" teens don't want to see "goth" clothing and vice versa. To placate this idiocy, I have some logic in my page header (LEFTRIGHT_TOP) that looks for an incoming cgi variable called "scene". If it is present, I set a scratch variable called "filter". If filter is set, product scan tags have additional parameters appended to them. These parameters look for keywords in the "inactive" field (yes, I should've created another field for this) by adding se=[scratch filter]/op=rm/sf=inactive to the scan string. I have also modified the promo, random, and cross components to skip results that don't meet the filter criteria. This effectively allows for certain portions of my product catalog to be displayed. You can see this in action at www.subcultural.com . The filter thing is on the left hand side. You might notice that you can go three pages into the search results and then filter to another "scene" and the search will automatically be reissued. That is a little more complicated to do and I didn't cover how to do it in this message. You can also go to www.subcultural.com?scene=punk and you will see that the punk filter will be applied when the page loads. If you add &src=pcing you will see that the title and some of the text on the page changes as well. My using the rewrite rules as described above and various combinations of the two variables, I can control the page look and the page keywords on a per-domain basis. It's all really simple to do, since it's primary setting, testing, and retrieving of scratch, cgi, and value variables. The sky's the limit as far as what you can do once you realize the flexibility that dynamic page generation offers. Also, don't restrict yourself with the default Foundation components. I think use of the default category_vertical or category_horizontal navigation is one of the major stumbling blocks we all have, design-wise. I use a modified version at subcultural but it's still very recognizeable. At sophee, we didn't use any Foundation components. The nav isn't even database driven, it's done through an include file loaded with conditionals. Most of the logic on a sophee page is right in the page. By not trying to component-ize everything at sophee we had a lot more flexibility. Flexibility is interchange's greatest feature and I think when this feature is heavily utilized it yields the nicest results. Jeff From interchange-users@icdevgroup.org Tue Jan 14 16:51:00 2003 From: interchange-users@icdevgroup.org (Bill Carr) Date: Tue Jan 14 16:51:00 2003 Subject: [ic] Anyone using 4.9.5 in production In-Reply-To: References: <017501c2bc11$a95ff7e0$6e0d450a@tri.com> Message-ID: <1042581029.23242.22.camel@oneoneone> On Tue, 2003-01-14 at 16:25, Jim Toro wrote: [ snip ] > > > Anyone using 4.9.x in production reliably ????? Yes. http://worldwideimpact.com/ and all IC sites in clients section. We can not run in PreFork. Other than that it works well. Debian Linux, MySQL 4.0.5, Perl 5.6.1, NFS Sessions, LVS-DR + hidden-forward_shared patch -- Bill Carr Worldwide Impact bill@worldwideimpact.com 413-253-6700 From interchange-users@icdevgroup.org Tue Jan 14 17:35:01 2003 From: interchange-users@icdevgroup.org (Miguel Navarro) Date: Tue Jan 14 17:35:01 2003 Subject: [ic] credit info Message-ID: <00ca01c2bc1d$7f4ab0b0$fd02000a@spider> Hello Does anyone know where interchange stores the credit card number? I found the other information in userdb and transactions but cannot find the credit card number. Supposed to write a routine that sends this off in a pgp file. Thanks in advance M From interchange-users@icdevgroup.org Tue Jan 14 17:48:00 2003 From: interchange-users@icdevgroup.org (Thomas J.M. Burton) Date: Tue Jan 14 17:48:00 2003 Subject: [ic] credit info References: <00ca01c2bc1d$7f4ab0b0$fd02000a@spider> Message-ID: <000d01c2bc1e$db53acd0$0b00a8c0@TJMB> ----- Original Message ----- From: "Miguel Navarro" > Hello > > Does anyone know where interchange stores the credit card number? I found > the other information in userdb and transactions but cannot find the credit > card number. Supposed to write a routine that sends this off in a pgp file. As far as I know and have read on this list many time, IC doesn't store the credit card number. Plus, it's already capable of sending the cc number off in pgp file. Do you have pgp encryption set up for the catalog you are running? -Tom ___________________________________ Global Focus Digital Media, LLC www.globalfocusdm.com From interchange-users@icdevgroup.org Tue Jan 14 18:06:01 2003 From: interchange-users@icdevgroup.org (John Rennie) Date: Tue Jan 14 18:06:01 2003 Subject: [ic] Content edit bug Message-ID: <000001c2bc21$6ef221e0$0507a8c0@oemcomputer> Hi, Can anyone explain this? I've tried looking for a bug but can't track anything concrete down. Using the demo store admin, create a new page. Enter (as content): [discount] discount tag on this line [discount-price] ...price [discount-ibble] ...ibble [discount-prices] ...prices [discount-pricefixing] ...pricefixing [discount-subtotal] ...subtotal Go back to the main edit screen, and then select the new page again (to reload it). The content now reads: [discount] discount tag on this line $0.00 ...price [discount-ibble] ...ibble ...prices ...pricefixing [discount-subtotal] ...subtotal [discount-price] has been replaced with $0.00, and discount-price* have been removed completely. Nothing appears in the error log. If you examine the file on disk, it's correct, so it's something to do with the load. I posted something similar over Christmas, but the list was fairly quiet then, so it may have been overlooked. Is it a bug or am I doing something wrong? Many thanks, John From interchange-users@icdevgroup.org Tue Jan 14 18:43:01 2003 From: interchange-users@icdevgroup.org (Dave LaTourette) Date: Tue Jan 14 18:43:01 2003 Subject: [ic] 980.csv (zip.csv) problem not allowing internal lookup In-Reply-To: <1042576682.7225.19.camel@swanky.mdhome.net> Message-ID: > On Tue, 2003-01-14 at 11:33, Dave LaTourette wrote: > > I'm using IC 4.8.6 and have been using the UPS WWW lookups for > freight, but > > as you know, UPS Ground isn't resolving these days. > > > > I've decided to go to internal lookups to solve this and future > problems. > > I've uploaded current rate charts, and a pertinent zone chart > to my products > > directory. I've set shipping methods in the UI and the zone and > rate charts > > show up there. I've added a catalog.cfg directive for the zone > table, but > > when I restart IC, I get the following error message: > > > > ..Using default DBM database...Bad shipping file for zone 'u', lookup > > disabled. > > This looks like a syntax error in your shipping.asc file otherwise it > would say "bad shipping file for zone 980.csv" (at least that is what > mine said when the actual zone file is bad) > > can you post the relevant section of your shipping.asc file? > Here's the UPS Ground listing, the others are similar. I tried using the UI to do the shipping methods first, and once that didn't work, I edited the shipping.asc directly and added the value following the 'u'. I got the value from an old mail list message, and I think that is what's causing the problem. I don't know what to enter for the value! UPSGND UPS Ground weight 0 0 e Nothing to ship! {'ui_ship_type' => "UPSI",'table' => "Ground",'zone' => "980",'ups' => "1",'at_least' =>$ UPSGND UPS Ground weight 0 150 u {'ui_ship_type' => "UPSI",'zone' => "980",'table' => "Ground",'ups' => "1",'adder' => "3.00",'at_least' => "5.00",'Pri$ UPSGND UPS Ground weight 150 9999999 e Too heavy for UPS {'PriceDivide' => "1",} Thanks, Dave From interchange-users@icdevgroup.org Tue Jan 14 19:30:01 2003 From: interchange-users@icdevgroup.org (Jon) Date: Tue Jan 14 19:30:01 2003 Subject: [ic] 980.csv (zip.csv) problem not allowing internal lookup References: Message-ID: <3E24AB70.48409F5F@attglobal.net> > > On Tue, 2003-01-14 at 11:33, Dave LaTourette wrote: > > > I'm using IC 4.8.6 and have been using the UPS WWW lookups for > > freight, but > > > as you know, UPS Ground isn't resolving these days. > > > > > > I've decided to go to internal lookups to solve this and future > > problems. > > > I've uploaded current rate charts, and a pertinent zone chart > > to my products > > > directory. I've set shipping methods in the UI and the zone and > > rate charts > > > show up there. I've added a catalog.cfg directive for the zone > > table, but > > > when I restart IC, I get the following error message: > > > > > > ..Using default DBM database...Bad shipping file for zone 'u', lookup > > > disabled. > > > > This looks like a syntax error in your shipping.asc file otherwise it > > would say "bad shipping file for zone 980.csv" (at least that is what > > mine said when the actual zone file is bad) > > > > can you post the relevant section of your shipping.asc file? > > > > Here's the UPS Ground listing, the others are similar. I tried using the UI > to do the shipping methods first, and once that didn't work, I edited the > shipping.asc directly and added the value following the 'u'. I got the value > from an old mail list message, and I think that is what's causing the > problem. I don't know what to enter for the value! > > UPSGND UPS Ground weight 0 0 e Nothing to ship! > {'ui_ship_type' => "UPSI",'table' => "Ground",'zone' => "980",'ups' => > "1",'at_least' =>$ > UPSGND UPS Ground weight 0 150 u {'ui_ship_type' => > "UPSI",'zone' => "980",'table' => "Ground",'ups' => "1",'adder' => > "3.00",'at_least' => "5.00",'Pri$ > UPSGND UPS Ground weight 150 9999999 e Too heavy for UPS > {'PriceDivide' => "1",} > > Isn't there supposed to be the name of the CSV file after the 'u' in the second line ? Something like 150 u Ground Also be careful of hidden tabs so use something like vi to edit. Here is my upsg definition below from shipping.asc. It seems to work for me so maybe it will help. Jon upsg UPS Ground weight 0 0 e Nothing to ship! {'ui_ship_type' => "weight",'zone' => "ups276",'ups' => "0",'at_least' => "4",'adder' => "2.00",'PriceDivide' => "1",} upsg UPS Ground weight 0 150 u Ground [value name=zip filter=digits default=27616] 2.00 {'PriceDivide' => "1",} upsg UPS Ground weight 150 999999 e @@TOTAL@@ lbs too heavy for UPS {'PriceDivide' => "1",} From interchange-users@icdevgroup.org Tue Jan 14 20:53:00 2003 From: interchange-users@icdevgroup.org (Dave LaTourette) Date: Tue Jan 14 20:53:00 2003 Subject: [ic] 980.csv (zip.csv) problem not allowing internal lookup In-Reply-To: <3E24AB70.48409F5F@attglobal.net> Message-ID: > > > > show up there. I've added a catalog.cfg directive for the zone > > > table, but > > > > when I restart IC, I get the following error message: > > > > > > > > ..Using default DBM database...Bad shipping file for zone > 'u', lookup > > > > disabled. > > > > > > This looks like a syntax error in your shipping.asc file otherwise it > > > would say "bad shipping file for zone 980.csv" (at least that is what > > > mine said when the actual zone file is bad) > > > > > > can you post the relevant section of your shipping.asc file? > > > > > Isn't there supposed to be the name of the CSV file after the > 'u' in the > second line ? > Something like 150 u Ground > Also be careful of hidden tabs so use something like vi to edit. > > Here is my upsg definition below from shipping.asc. It seems to > work for me so > maybe it will help. > > Jon > > upsg UPS Ground weight 0 0 e Nothing to ship! > {'ui_ship_type' => "weight",'zone' => "ups276",'ups' => "0",'at_least' => > "4",'adder' => "2.00",'PriceDivide' => "1",} > upsg UPS Ground weight 0 150 u Ground [value name=zip > filter=digits default=27616] 2.00 {'PriceDivide' => "1",} > upsg UPS Ground weight 150 999999 e @@TOTAL@@ lbs > too heavy for > UPS {'PriceDivide' => "1",} > > Thanks Jon, That make sense. I changed my shipping.asc to be similar, as below for example using the names of each rate file. UPSGND UPS Ground weight 0 0 e Nothing to ship! {'ui_ship_type' => "UPSI",'table' => "Ground",'zone' => "980",'ups' => "1",'at_least' =>$ UPSGND UPS Ground weight 0 150 u Ground [value name=zip filter=digits default=98045] UPSGND UPS Ground weight 150 9999999 e Too heavy for UPS But I get the same error on IC restart. Hmmm. BTW I used the Pico editor to do it. I'll look at it in vi to see if there's any difference. Dave From interchange-users@icdevgroup.org Tue Jan 14 21:25:01 2003 From: interchange-users@icdevgroup.org (Jon) Date: Tue Jan 14 21:25:01 2003 Subject: [ic] 980.csv (zip.csv) problem not allowing internal lookup References: Message-ID: <3E24C648.6B523E6@attglobal.net> > > Isn't there supposed to be the name of the CSV file after the > > 'u' in the > > second line ? > > Something like 150 u Ground > > Also be careful of hidden tabs so use something like vi to edit. > > > > Here is my upsg definition below from shipping.asc. It seems to > > work for me so > > maybe it will help. > > > > Jon > > > > upsg UPS Ground weight 0 0 e Nothing to ship! > > {'ui_ship_type' => "weight",'zone' => "ups276",'ups' => "0",'at_least' => > > "4",'adder' => "2.00",'PriceDivide' => "1",} > > upsg UPS Ground weight 0 150 u Ground [value name=zip > > filter=digits default=27616] 2.00 {'PriceDivide' => "1",} > > upsg UPS Ground weight 150 999999 e @@TOTAL@@ lbs > > too heavy for > > UPS {'PriceDivide' => "1",} > > > > > > Thanks Jon, > > That make sense. I changed my shipping.asc to be similar, as below for > example using the names of each rate file. > > UPSGND UPS Ground weight 0 0 e Nothing to ship! > {'ui_ship_type' => "UPSI",'table' => "Ground",'zone' => "980",'ups' => > "1",'at_least' =>$ > UPSGND UPS Ground weight 0 150 u Ground [value name=zip > filter=digits default=98045] > UPSGND UPS Ground weight 150 9999999 e Too heavy for UPS > > But I get the same error on IC restart. Hmmm. BTW I used the Pico editor to > do it. I'll look at it in vi to see if there's any difference. > > Now look at your first line. The, in your case, UPSI needs to match your zone table headers.... don't quote me there it has been a while since I dug into this shipping stuff. Also in the first line where you have Ground, that needs to be your zone file. If my memory is correct.. The basic flow is to take your zone file and search for the destination zip code (first 3 digits) to find a ship to zone value which is an index into the rate table, in this case Ground. In your case the zone file would be called something like ups980 to match your from zip code. You would get this file from the UPS web site. Jon From interchange-users@icdevgroup.org Tue Jan 14 21:29:01 2003 From: interchange-users@icdevgroup.org (Jon) Date: Tue Jan 14 21:29:01 2003 Subject: [ic] Return Click Bar References: <3E224694.9E59912E@attglobal.net> Message-ID: <3E24C753.79D890AD@attglobal.net> > Probably a bad Subject, but I'm not sure what it is called > so I'm not having any luck searching for it. But I recall someone > asking for this some time ago. > > How to build a one-click type search path bar that would > look something like the following... > > Home -> ProductLevelItems -> CategoryLevelItems ..... > > Where, in the above example, the 'Home' would be active and > take the user to the front page, 'ProductLevelItems' would also > be active and take the user to the previous ProductLevelItems > search, and CategoryLevelItems would not be a live link since it is the > current page. Anyone recall doing this and how ?? > > Using IC 4.9.3 based off of foundation. > From additional searching, and a little sleep, I'm looking at the history-scan tag ? Is that the correct tag ? I didn't see anything in the documentation about it. Maybe I'm a bit delusional but I thought for sure some one had implemented this before. Jon From interchange-users@icdevgroup.org Tue Jan 14 21:50:01 2003 From: interchange-users@icdevgroup.org (Jon) Date: Tue Jan 14 21:50:01 2003 Subject: [ic] Tables download References: <000201c2af36$662c28a0$ef05b7ac@oemcomputer> <20021229234106.25fbb636.racke@linuxia.de> Message-ID: <3E24CC30.2B1A1709@attglobal.net> > On Sun, 29 Dec 2002 12:32:48 -0000 > "John Rennie \(home\)" wrote: > > > Hi, > > > > In Interchange 4.9 (demo store and my own 4.9.3 store), tables > > download doesn't work from the admin...tables view. I just get > > an empty file. Has this functionality moved? > > This smells like a bug somewhere. I got it working with commenting > the following line in catalog_after.cfg: > > $CGI->{mv_nextpage} .= $Session->{extension}; > Ignore if already answered.... Working my way through old email I had the same problem. I noticed that the download file in the URL was like ... file.txt.html which doesn't exist so you will end up with an empty file. In the download section of admin/gentable.html add the following add_dot_html => 0, That changed the url to be file.txt as expected. P.S. I can't take credit for that fix. Mike helped me with it. Jon From interchange-users@icdevgroup.org Tue Jan 14 21:59:01 2003 From: interchange-users@icdevgroup.org (Admin) Date: Tue Jan 14 21:59:01 2003 Subject: [ic] stock alert In-Reply-To: <000001c2bb0e$bb7e0650$1e01a8c0@mrblondelaptop> Message-ID: -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Michael Goldfarb Sent: Monday, January 13, 2003 8:19 AM To: interchange-users@icdevgroup.org Subject: RE: [ic] stock alert >Here is a link to a post that Russ Mann made about a year ago. I have >not personally tried it, but the code looks like it will do exactly what >you want. > >http://www.icdevgroup.org/pipermail/interchange-users/2002-March/019170. >html Now if someone could help re-write for a non-SQL system I would stop staring at that archive wondering how my limited Perl skills could modify it to work with our small store using the default DB scheme .... R Smith From interchange-users@icdevgroup.org Tue Jan 14 22:53:00 2003 From: interchange-users@icdevgroup.org (ACforSale Inc Sales Team) Date: Tue Jan 14 22:53:00 2003 Subject: [ic] Extending a UPS Zone File above 150 Message-ID: <001601c2bc49$8370d6c0$0b00a8c0@CCS> Here's the problem: I want to be able to extend our UPS Internal Lookup file past the 150lbs mark, I have the data and have entered (up to 300lbs) into the csv file, but when I check out goods above the 150 mark this shipping option does not appear, (it works perfectly for orders up to 150lbs). I have another quick fix shipping option that works on formulas for weights above 150lbs and it shows in these cases, but I would prefer to use the zone files. I would like the settings to allow for shipping weights up to 1000lbs although we rarely ship above 600lbs on an individual order. Is there a limitation somewhere in IC that restricts the Internal UPS lookup from going above 150 lbs and if so can it be over-ridden? Or is there a way of calculating shipping for each item in a cart separately and then showing the total cost? Using IC 4.9.3. on cPanel (so accessing much of IC can be limited) Thanks in advance Gerry From interchange-users@icdevgroup.org Tue Jan 14 23:29:02 2003 From: interchange-users@icdevgroup.org (Jon) Date: Tue Jan 14 23:29:02 2003 Subject: [ic] Extending a UPS Zone File above 150 References: <001601c2bc49$8370d6c0$0b00a8c0@CCS> Message-ID: <3E24E29A.80633217@attglobal.net> > Here's the problem: > I want to be able to extend our UPS Internal Lookup file past the 150lbs > mark, I have the data and have entered (up to 300lbs) into the csv file, > but when I check out goods above the 150 mark this shipping option does > not appear, (it works perfectly for orders up to 150lbs). I have another > quick fix shipping option that works on formulas for weights above > 150lbs and it shows in these cases, but I would prefer to use the zone > files. > > I would like the settings to allow for shipping weights up to 1000lbs > although we rarely ship above 600lbs on an individual order. > > Is there a limitation somewhere in IC that restricts the Internal UPS > lookup from going above 150 lbs and if so can it be over-ridden? > > Or is there a way of calculating shipping for each item in a cart > separately and then showing the total cost? > > Using IC 4.9.3. on cPanel (so accessing much of IC can be limited) First of all make sure you have read/write access to shipping.asc and the associated rate table file. This may not be the case for a cPanel hosted site. If I'm not mistaken all you need to do is modify the limit value in shipping.asc here is just a snip-it not the whole thing: upsg UPS Ground weight 0 150 u Ground Change the 150 to something higher... 600 I guess, and then make sure you have every pound 150 - 600 covered in the rate table. Or at least an entry for every weight you'll need a match for. That I think would be the Interchange part But does/would UPS, or whatever carrier, provide such a rate table ? Jon From interchange-users@icdevgroup.org Tue Jan 14 23:32:00 2003 From: interchange-users@icdevgroup.org (Cameron) Date: Tue Jan 14 23:32:00 2003 Subject: [ic] Payment gateway documentation Message-ID: <040d01c2bc4e$549c8510$0100a8c0@spankmaster> Has anyone got some "how to use our service" documentation from one of the merchant gateways that interchange currently has a module for?? It'll really help me to see how things are supposed to work, see how that translates into code, and then see if i can't repeat the performance with Paysystems.com - although i get the feeling this isn't going to work like i'd like to see it done. From interchange-users@icdevgroup.org Tue Jan 14 23:33:37 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Tue Jan 14 23:33:37 2003 Subject: [ic] Return Click Bar References: <3E224694.9E59912E@attglobal.net> <3E24C753.79D890AD@attglobal.net> Message-ID: <004801c2bc4d$a41f17c0$0a01000a@badtzmaru.com> > > How to build a one-click type search path bar that would > > look something like the following... > > > > Home -> ProductLevelItems -> CategoryLevelItems ..... > > > From additional searching, and a little sleep, I'm looking at the > history-scan tag ? Is that the correct tag ? I didn't see anything > in the documentation about it. Maybe I'm a bit delusional but > I thought for sure some one had implemented this before. I don't think history scan would do it. The problem is that more information is necessary to determine how to do it. What should the nav display if you jump straight to a product detail page (like via pasting the url in the browser)? We need a little more information about how navigation occurs on your site in order to help. Jeff From interchange-users@icdevgroup.org Wed Jan 15 00:12:00 2003 From: interchange-users@icdevgroup.org (Jon) Date: Wed Jan 15 00:12:00 2003 Subject: [ic] Return Click Bar References: <3E224694.9E59912E@attglobal.net> <3E24C753.79D890AD@attglobal.net> <004801c2bc4d$a41f17c0$0a01000a@badtzmaru.com> Message-ID: <3E24ED6A.B37508E2@attglobal.net> > > > How to build a one-click type search path bar that would > > > look something like the following... > > > > > > Home -> ProductLevelItems -> CategoryLevelItems ..... > > > > > From additional searching, and a little sleep, I'm looking at the > > history-scan tag ? Is that the correct tag ? I didn't see anything > > in the documentation about it. Maybe I'm a bit delusional but > > I thought for sure some one had implemented this before. > > I don't think history scan would do it. The problem is that more > information is necessary to determine how to do it. What should the nav > display if you jump straight to a product detail page (like via pasting the > url in the browser)? We need a little more information about how navigation > occurs on your site in order to help. Thanks Jeff. The searches are currently related to either the prod_group or category column from the products tables, or a combination of the two columns. Beyond that there would be, as you mentioned, the product detail page. In that case I would assume that would not require a link back to it, but would want to display the links to get back to where they came from. So if on a detail (flypage) then would see something like. HomeLink -> prod_groupLink -> categoryLink -> SkuNonLink If they went straight from front page to a detail page then would show HomeLink -> SkuNonLink Does that make sense ? I've seen this feature on web sites, but can't recall one now that I'm looking for it, and I thought some has done this in IC. Thanks again. Jon From interchange-users@icdevgroup.org Wed Jan 15 00:39:00 2003 From: interchange-users@icdevgroup.org (dzhang-msi) Date: Wed Jan 15 00:39:00 2003 Subject: [ic] Extending a UPS Zone File above 150 References: <001601c2bc49$8370d6c0$0b00a8c0@CCS> <3E24E29A.80633217@attglobal.net> Message-ID: <001701c2bc5b$25e89300$8703cb92@daqun> ----- Original Message ----- From: "Jon" > upsg UPS Ground weight 0 150 u Ground > > Change the 150 to something higher... 600 I guess, and > then make sure you have every pound 150 - 600 covered in the rate table. > Or at least an entry for every weight you'll need a match for. > That I think would be the Interchange part > But does/would UPS, or whatever carrier, provide such a rate table ? > > Jon UPS has discount rate for over 200 lbs, called "hundred weight". That rate is not available form the materials they distribute, but can ba calculated with their software "worldshop". So, there might be a formular for that. If it's possible to get that formular, it might be do the lookup up to 200 lbs. then, switch to formular after that. UPS may not be willing to give out that formular though, or those response to 800-pickups have no idea. > First of all make sure you have read/write access to shipping.asc and the > associated rate table file. This may not be the case for a cPanel hosted site. Well, well, don't complaint to much on cpanel though. You can still use admin interface to edit, or make a new one. David ---------------------------- dzhang@msihosting.com http://www.msihosting.com Export -- ecommerce solution, Interchange hosting From interchange-users@icdevgroup.org Wed Jan 15 01:07:00 2003 From: interchange-users@icdevgroup.org (Miguel Navarro) Date: Wed Jan 15 01:07:00 2003 Subject: [ic] credit info References: <00ca01c2bc1d$7f4ab0b0$fd02000a@spider> <000d01c2bc1e$db53acd0$0b00a8c0@TJMB> Message-ID: <011901c2bc5c$b94b7b20$fd02000a@spider> ----- Original Message ----- From: "Thomas J.M. Burton" To: Sent: Tuesday, January 14, 2003 2:47 PM Subject: Re: [ic] credit info > ----- Original Message ----- > From: "Miguel Navarro" > > > > Hello > > > > Does anyone know where interchange stores the credit card number? I > found > > the other information in userdb and transactions but cannot find the > credit > > card number. Supposed to write a routine that sends this off in a pgp > file. > > As far as I know and have read on this list many time, IC doesn't store > the credit card number. Plus, it's already capable of sending the cc > number off in pgp file. Do you have pgp encryption set up for the > catalog you are running? > > -Tom > > ___________________________________ > Global Focus Digital Media, LLC > www.globalfocusdm.com > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > I did not set it up with the pgp encryption. But I will now.. Thanks for your advice M From interchange-users@icdevgroup.org Wed Jan 15 01:15:01 2003 From: interchange-users@icdevgroup.org (dzhang-msi) Date: Wed Jan 15 01:15:01 2003 Subject: [ic] Talking about cPanel -- possible to make a deal? References: <001601c2bc49$8370d6c0$0b00a8c0@CCS> <3E24E29A.80633217@attglobal.net> Message-ID: <001001c2bc60$3c94eb30$8703cb92@daqun> Suggestion to icdevelgoup: To what I can see, there are 3 main problems when interchange is under cPanel: 1. permition settings of files 2. unable to use the restart command by a cart user 3. UI not accessible to users. Is it possible that icdevelgroup negotiates with cPanel to make a deal? There is advantage of this. 1 cPanel does make the interchange more popular 2 cPanel has good control on collecting license fee. If a deal can be reached, say $0.10 or $0.20 or so per month per installation of cPanel goes to icdevelgroup, and the two parties work together to solve the main problems to certern extend, it may be good to both sides. icdevelgroup can use the fund to do many things, say: working out a hard copy manuel, have some one working full time for coordinating the integration, etc. Just an idea to make things better. I don't know if it may or may not be practical. Or, even it's tried already. David ---------------------------- dzhang@msihosting.com http://www.msihosting.com Export -- ecommerce solution, Interchange hosting From interchange-users@icdevgroup.org Wed Jan 15 02:32:01 2003 From: interchange-users@icdevgroup.org (ACforSale Inc Sales Team) Date: Wed Jan 15 02:32:01 2003 Subject: [ic] Extending a UPS Zone File above 150 In-Reply-To: <3E24E29A.80633217@attglobal.net> Message-ID: <002a01c2bc68$0ea0e000$0b00a8c0@CCS> > Here's the problem: > I want to be able to extend our UPS Internal Lookup file past the > 150lbs mark, I have the data and have entered (up to 300lbs) into the > csv file, but when I check out goods above the 150 mark this shipping > option does not appear, (it works perfectly for orders up to 150lbs). > I have another quick fix shipping option that works on formulas for > weights above 150lbs and it shows in these cases, but I would prefer > to use the zone files. > > I would like the settings to allow for shipping weights up to 1000lbs > although we rarely ship above 600lbs on an individual order. > > Is there a limitation somewhere in IC that restricts the Internal UPS > lookup from going above 150 lbs and if so can it be over-ridden? > > Or is there a way of calculating shipping for each item in a cart > separately and then showing the total cost? > > Using IC 4.9.3. on cPanel (so accessing much of IC can be limited) First of all make sure you have read/write access to shipping.asc and the associated rate table file. This may not be the case for a cPanel hosted site. If I'm not mistaken all you need to do is modify the limit value in shipping.asc here is just a snip-it not the whole thing: upsg UPS Ground weight 0 150 u Ground Change the 150 to something higher... 600 I guess, and then make sure you have every pound 150 - 600 covered in the rate table. Or at least an entry for every weight you'll need a match for. That I think would be the Interchange part But does/would UPS, or whatever carrier, provide such a rate table ? Jon _______________________________________________ Thanks Jon I've used the UI Interface to setup the values for shipping but with cPanel I can't read (or even view) shipping.asc but when I do changes to shipping via the UI the shipping.asc file is updated so I'm assuming (a dangerous thing I know) that the correct values are put into place. BTW the rate values I'm using are a compilation of UPS and common carrier rates as we decide on the carrier depending on shipping weights and destinations and our tables are reasonably accurate. If the above is the case could there be anywhere else that the 150 limit is set that I can get at, remembering the limits of cPanel? If anyone has an idea please let me know as at the moment I'm going to try using a separate lookup with 151-300 and see if that works (the logic being 150 lines rather than the number 1-150 Gerry From interchange-users@icdevgroup.org Wed Jan 15 08:09:01 2003 From: interchange-users@icdevgroup.org (Andrei Gologan) Date: Wed Jan 15 08:09:01 2003 Subject: [ic] Generating a custom report References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS> Message-ID: <025f01c2bc97$1f9a1370$5101010a@pcagologan> Hi, I try to generate a custom report. The code I use is: [set first_done][/set] [search-region more=1 search=" ra=yes st=db fi=orderline ml=50 sp=admin/reports/test tf=sku to=x "] [search-list] [/search-list] [more-list] [/more-list] [/search-region]

More [more]
but it allwys returns empty, no data is visible ..... it seems that the data is there , i can see it on the number of pages generated ...but i cant see it .... if i choose summary only = no it displays a page filled with [item-data orderline] I am using the tool at the admininterface to generate it ...what am I doing wrong ? I want to see statistics on the items that were sold ... Same thing happens in the live demo 1 of interchange as well .... Thank you! Andrei From interchange-users@icdevgroup.org Wed Jan 15 08:36:01 2003 From: interchange-users@icdevgroup.org (=?iso-8859-1?Q?Paco_S=E1nchez?=) Date: Wed Jan 15 08:36:01 2003 Subject: [ic] Different shipping and payment methods depending on products purchased References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS> Message-ID: <00ab01c2bc9a$f6388580$95824fd4@europa> Hello I have set up an online store with Interchange 4.8.6 in two different languages, English and Spanish. Allright, now here comes the problem I would like to solve: Depending on the products, we currently have two different shipping points, one in Europe and the other in Asia. Of course, shipping rates should be different depending on what product you buy. Is it anyway to do this with Interchange, that is, a checkout page that is "smart" and displays shipping options depending on shipping point of products purchased? Paco Snchez http://pacosanchez.com mailto:psanchez%40pacosanchez%2ecom ICQ 101879542 From interchange-users@icdevgroup.org Wed Jan 15 08:38:10 2003 From: interchange-users@icdevgroup.org (=?iso-8859-1?Q?Paco_S=E1nchez?=) Date: Wed Jan 15 08:38:10 2003 Subject: [ic] Currencies and PayPal References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS> Message-ID: <00ac01c2bc9a$f743db00$95824fd4@europa> Hello, We have implemented payment by PayPal at our online store. Currently we are indicating all prices in Euros, and this is our solution: [tmp dirty_cost][total-cost][/tmp] [tmp clean_price][perl] my $FilterData = $Scratch->{dirty_cost}; $FilterData =~ s/\€//g; return $FilterData; [/perl][/tmp] [if value payment_method eq paypal]

[L 36_35]Please click this button to complete payment of your order with your PayPal account or c$

[/if] As you can see, in this example, the currency code is EUR. Now we would also like to accept US dollars, Canadian dollars and British pouds, which can now be processed with paypal, however have no idea on how to do this. Say the customer chooses US dollars in the currency selection panel. The URL would be something like www.interchange.com/interchange/process/locale/en_US/currency/en_US/index.ht ml. Is it anyway to put any interchange tag at so that it shows the chosen currency, instead of EUR to PayPal? Thanks for your help. Paco Snchez http://pacosanchez.com mailto:psanchez%40pacosanchez%2ecom ICQ 101879542 From interchange-users@icdevgroup.org Wed Jan 15 08:50:01 2003 From: interchange-users@icdevgroup.org (=?iso-8859-1?Q?Paco_S=E1nchez?=) Date: Wed Jan 15 08:50:01 2003 Subject: [ic] Non stock items References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS> Message-ID: <00ad01c2bc9c$f2992cc0$95824fd4@europa> Anyway to avoid placing orders for products that are out of stock? I have implemented the following, but only works in the flypage.html: [if-item-data inventory quantity > 0] [L 11_5]Quantity:[/L] [/if-item-data] It makes possible purchasing an item when stock is greater than 0. Paco Snchez http://pacosanchez.com mailto:psanchez%40pacosanchez%2ecom ICQ 101879542 From interchange-users@icdevgroup.org Wed Jan 15 09:18:00 2003 From: interchange-users@icdevgroup.org (Schuyler Langdon) Date: Wed Jan 15 09:18:00 2003 Subject: [ic] accessories tag References: <1042486375.3e231467e55cf@naturebuzz.com> <000f01c2bb58$d1fc8a60$1702a8c0@gordito> Message-ID: <004b01c2bd04$d9e6dde0$1702a8c0@gordito> I wrote > I have matrix options (ic 4.86) for products that can be displayed as a > select menu with the following tag: > [options code=os28005] > > However, I want to use an accessories tag something like this so > that they can simply be listed. > [accessories code=os28005 table=options type=show] > > This does not work though, does anyone know if or how this can be done using > the accessories tag? > Simple tag question, Anyone, Bueller ? Schuyler Langdon GatorDev.com From interchange-users@icdevgroup.org Wed Jan 15 09:32:00 2003 From: interchange-users@icdevgroup.org (Joachim Leidinger) Date: Wed Jan 15 09:32:00 2003 Subject: [ic] Currencies and PayPal References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS> <00ac01c2bc9a$f743db00$95824fd4@europa> Message-ID: <3E2570AC.8070603@leidinger.net> Paco Snchez wrote: > Hello, > > We have implemented payment by PayPal at our online store. Currently we are > indicating all prices in Euros, and this is our solution: > > [tmp dirty_cost][total-cost][/tmp] [DEL the rest].... Did you try with [tmp noformat_cost][total-cost noformat=1][/tmp] and work with [if scratch mv_locale =~ /en_US/] do something ...etc. ? Joachim -- Hans-Joachim Leidinger | Dipl.-Phys.Ing. [joachim@leidinger.net] http://www.leidinger.net From interchange-users@icdevgroup.org Wed Jan 15 10:20:03 2003 From: interchange-users@icdevgroup.org (Interchange server) Date: Wed Jan 15 10:20:03 2003 Subject: [ic] Credit card handling Message-ID: <1042644255.5067.5.camel@lx450.beloura.local> Hello group, I've put together a few pages about setting up credit card handling. Most people in this group will run into these topics sooner or later, and I'm sure quite a few people here are more knowledgeable about the subject than I am at this point. If I have missed something or if I'm uttering complete nonsense in the document mentioned below, I'd be glad to receive comments about it. http://x.y-portal.com/public/creditcard_processing.pdf.gz (about 30k) Regards, Marc Brevoort From interchange-users@icdevgroup.org Wed Jan 15 10:44:00 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Wed Jan 15 10:44:00 2003 Subject: [ic] accessories tag References: <1042486375.3e231467e55cf@naturebuzz.com> <000f01c2bb58$d1fc8a60$1702a8c0@gordito> <004b01c2bd04$d9e6dde0$1702a8c0@gordito> Message-ID: <007e01c2bcab$ab875dc0$0a01000a@badtzmaru.com> > > However, I want to use an accessories tag something like this so > > that they can simply be listed. > > [accessories code=os28005 table=options type=show] > > > > This does not work though, does anyone know if or how this can be done > using the accessories tag? I know how it can be done without using the accessories tag, by building your own loop to display the options. There's a message I posted in the last month showing how to do this, it might not have been indexed yet in the archives, you'd have to go right to the pipermail page that shows all the messages. If you can't find it, let me know. Jeff From interchange-users@icdevgroup.org Wed Jan 15 10:58:00 2003 From: interchange-users@icdevgroup.org (John Matecsa) Date: Wed Jan 15 10:58:00 2003 Subject: [ic] locale - apply changes - where do the pennies go? Message-ID: <1042646119.2730.60.camel@localhost.localdomain> Since I've been using locale features to dynamically switch between French and English with Interchange 4.8.6 I've had a puzzling problem. In the back end, if I "apply changes", the pennies on item prices in the back and front end are truncated to zero. This affects more than just the catalog that changes were applied too. As soon as I restart Interchange the pennies come back. The problem runs deeper than currency presentation, items sold, are recorded with pennies truncated to zero in the database. Note that I've added rows to the locale table, but haven't deleted or modified what was there to begin with. Any suggestions? -- John Matecsa Picasso Fish Corporation From interchange-users@icdevgroup.org Wed Jan 15 12:08:00 2003 From: interchange-users@icdevgroup.org (Ed LaFrance) Date: Wed Jan 15 12:08:00 2003 Subject: [ic] Generating a custom report In-Reply-To: <025f01c2bc97$1f9a1370$5101010a@pcagologan> References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS> Message-ID: <5.1.1.6.0.20030115090323.009d1520@mail.newmediaems.com> At 02:07 PM 01/15/2003 +0100, you wrote: >Hi, >I try to generate a custom report. The code I use is: > > >[set first_done][/set] >[search-region more=1 search=" > ra=yes > st=db > fi=orderline > ml=50 > sp=admin/reports/test > tf=sku > to=x > "] >[search-list] > >[/search-list] >[more-list] > > > > >[/more-list] > >[/search-region] >

More[more]
> >but it allwys returns empty, no data is visible ..... it seems that the data >is there , i can see it on the number of pages generated ...but i cant see >it .... if i choose summary only = no it displays a page filled with >[item-data orderline] > >I am using the tool at the admininterface to generate it ...what am I doing >wrong ? >I want to see statistics on the items that were sold ... >Same thing happens in the live demo 1 of interchange as well .... > >Thank you! >Andrei You might want to include some [item-*] tags to actually display the data from the search, i.e.: [item-data orderline sku] [item-data orderline quantity] [item-data orderline status] ... slightly faster would be to add return_fields spec to your search terms: rf=sku,quantity,status Then you can do: [item-code] [item-param quantity] [item-param status] - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From interchange-users@icdevgroup.org Wed Jan 15 12:15:01 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Wed Jan 15 12:15:01 2003 Subject: [ic] Major changes to DEVEL CVS branch In-Reply-To: <20030114103144.A23571@bill.heins.net>; from mike@perusion.com on Tue, Jan 14, 2003 at 10:31:44AM -0500 References: <3E238D57.6000403@zeald.com> <20030114103144.A23571@bill.heins.net> Message-ID: <20030115121441.A7118@bill.heins.net> Quoting Mike Heins (mike@perusion.com): > Quoting Paul Jordan (paul@gishnetwork.com): > > All I have to say is, out of sight, out of mind. One could post interesting > > code, or a link to [strip] tagged content in under 60 seconds by hitting the > > "contribute" tab in admin. As hectic as all our lives are, I am less likely > > to search out a good home (Archives, Docs, RTFM, Forum, Wiki) for said > > snippet, log in, cut, paste, explain... Alot of times I have something cool, > > but don't think it is worth crowding 10000 inboxes. When I have something > > cool, the world does not stop, and my credit card debt does not pause for > > nobody, so I am off to the next todo item. > > > > I have been doing taxes, so I have not seen the Wiki, but I most likely am > > not going to spend 6 hours in the Wiki, however most of us are in our ADMIN > > most of the day. Alot of us are not Interchange developers, simply people > > trying to make their store in IC, so the urge to stop what you are doing, > > venture out to somewhere else, log it, etc is not *as viable. > > > > The contribute would not be for questions, so it would "archive" pure big > > juicy code, snippets, helptips, etc, so we would not have to wade through > > questions and quoted replies. Maybe the Wiki could be used to search these, > > and/or edit these. > > > > If you are to empower people, you must do it where they are, not where you > > want them to be. > > > > Neat idea -- however I believe that without some hoops to jump through > you will get mostly garbage. > > >From fairly long experience dealing with code contributions, the casual > ones are rarely applicable to the real world without three times the > amount of time they took to create to vet, check, and integrate them. > > The one area I would like to do that in is for online help. Now that > it is editable, it would be fairly easy to do a "send this entry to > ICDEVGROUP" button that might yield some good results. > I have done this in the latest CVS. When you do a help edit, you can check a box which will send the help to the docs list. We will see if anyone contributes. 8-) -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Software axiom: Lack of speed kills. From interchange-users@icdevgroup.org Wed Jan 15 12:19:01 2003 From: interchange-users@icdevgroup.org (Geoff Sternecker) Date: Wed Jan 15 12:19:01 2003 Subject: [ic] Interchange Products Price Message-ID: <200301151116.43483.geoffs@rdgi.com> When you are developing a site, do you generally enter the MSRP, List, or their actual cost, into the price field of the products table? Would I be correct to assume that most folks are putting in their MSRP (highest price) and using discounts and coupons to work backward?? It's become a discussion around here.. any input would be greatly appreciated. Thanks in advance, GeoffS -- Geoff Sternecker From interchange-users@icdevgroup.org Wed Jan 15 12:27:00 2003 From: interchange-users@icdevgroup.org (Michael Goldfarb) Date: Wed Jan 15 12:27:00 2003 Subject: [ic] Interchange Products Price In-Reply-To: <200301151116.43483.geoffs@rdgi.com> Message-ID: <000d01c2bcbb$36345220$1e01a8c0@mrblondelaptop> >When you are developing a site, do you generally enter the MSRP, List, or >their actual cost, into the price field of the products table? > >Would I be correct to assume that most folks are putting in their MSRP >(highest price) and using discounts and coupons to work backward?? > >It's become a discussion around here.. any input would be greatly >appreciated. > >Thanks in advance, >GeoffS It's really up to you and what works best in your scenario. Most of our clients use what you refer to as MSRP as the price that is displayed to most visitors. We have some that also store additional prices like actual cost which can be used for reporting. Again, it is totally up to you and whatever you think will work best. I can say that no matter how you decide to proceed that IC can accommodate :) From interchange-users@icdevgroup.org Wed Jan 15 13:55:00 2003 From: interchange-users@icdevgroup.org (Steve in DC) Date: Wed Jan 15 13:55:00 2003 Subject: [ic] Help with Perl scripting for credit card processing Message-ID: <020501c2bcc7$6af01d30$a21f0740@sp1> I need to get some assitance on writing the perl scripts necessary for the credit card processing in Interchange. Please contact me directly at steve@dcsteve72.com. Thanks. _________________________________________________________________ Steve in DC email: steve@dcsteve72.com Washington, DC web: http://www.dcsteve72.com From interchange-users@icdevgroup.org Wed Jan 15 15:27:00 2003 From: interchange-users@icdevgroup.org (George) Date: Wed Jan 15 15:27:00 2003 Subject: [ic] confirm 199889 - Question Message-ID: <004601c2bcd4$606d0000$8401a8c0@pc9> Hello: I work for AP Group and we are designing a website for one of our clients. It seem that Interchange Shopping cart is not that user friendly and I was wondering if you could let me know where you can add the gateway information. How to process credit cards. I have 3 designers looking at it and no one can figure it out. I would really appreciate your help. Thanks in advance. George Arce AP Group Project Manager Toll Free 877-724-7829 Phone 310-888-2400 Email george@apgroup.la Fax 877-247-6079 From interchange-users@icdevgroup.org Wed Jan 15 15:56:01 2003 From: interchange-users@icdevgroup.org (C.B. Currier) Date: Wed Jan 15 15:56:01 2003 Subject: [ic] CyberCash Integration w/ MCK problem In-Reply-To: <1902.216.200.97.45.1042482946.squirrel@mail.spinrx.com> References: <1902.216.200.97.45.1042482946.squirrel@mail.spinrx.com> Message-ID: <2385.216.200.97.45.1042664125.squirrel@mail.spinrx.com> Did not get a response form anyone on the list regarding this message previously but thought I would repost & ask if anyone also knew of another place I might go to seek out CyberCash Forum style help. Trying to work out the following error: I cannot figure where to go from here. (cybercash): Charge failed, reason: Location: CCMckDirectLib3_2; Message: Encryption failed All files have been copied as per instructions in the CyberCash instructions. The MCK tests work, but I am getting the above error. -- C.B. Currier From interchange-users@icdevgroup.org Wed Jan 15 16:31:01 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Wed Jan 15 16:31:01 2003 Subject: [ic] confirm 199889 - Question References: <004601c2bcd4$606d0000$8401a8c0@pc9> Message-ID: <001401c2bcdc$1ba01c20$0a01000a@badtzmaru.com> > information. How to process credit cards. I have 3 designers looking at it > and no one can figure it out. I would really appreciate your help. You might want to take the designers off it and put a programmer on it, payment gateway integration probably isn't a design issue. The gateway information goes in the catalog.cfg file located in the catalog root directory. Jeff From interchange-users@icdevgroup.org Wed Jan 15 16:40:04 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Wed Jan 15 16:40:04 2003 Subject: [ic] locale - apply changes - where do the pennies go? In-Reply-To: <1042646119.2730.60.camel@localhost.localdomain> References: <1042646119.2730.60.camel@localhost.localdomain> Message-ID: <20030115223744.7384d27c.racke@linuxia.de> On 15 Jan 2003 10:55:19 -0500 John Matecsa wrote: > Since I've been using locale features to dynamically switch between > French and English with Interchange 4.8.6 I've had a puzzling problem. Please specify "dynamically switch". > > In the back end, if I "apply changes", the pennies on item prices in the > back and front end are truncated to zero. This affects more than just > the catalog that changes were applied too. As soon as I restart > Interchange the pennies come back. The problem runs deeper than currency > presentation, items sold, are recorded with pennies truncated to zero in > the database. > > Note that I've added rows to the locale table, but haven't deleted or > modified what was there to begin with. > > Any suggestions? I'm pretty sure that Interchange is buggy with switching locales. There are a number of reports which describe odd behaviour of Interchange, especially dropping fractional numbers. For one thing, you cannot switch the currency twice on an Interchange page without wreaking havoc. Though I'm really interested in Interchange's i18n features, I fear I cannot do much about it due to limited resources. I'm sorry that I'm not able to give you and others more help in this respect. Bye Racke From interchange-users@icdevgroup.org Wed Jan 15 17:11:01 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Wed Jan 15 17:11:01 2003 Subject: [ic] locale - apply changes - where do the pennies go? In-Reply-To: <20030115223744.7384d27c.racke@linuxia.de>; from racke@linuxia.de on Wed, Jan 15, 2003 at 10:37:44PM +0100 References: <1042646119.2730.60.camel@localhost.localdomain> <20030115223744.7384d27c.racke@linuxia.de> Message-ID: <20030115171000.A9961@bill.heins.net> Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > On 15 Jan 2003 10:55:19 -0500 > John Matecsa wrote: > > > Since I've been using locale features to dynamically switch between > > French and English with Interchange 4.8.6 I've had a puzzling problem. > > Please specify "dynamically switch". > > > > > In the back end, if I "apply changes", the pennies on item prices in the > > back and front end are truncated to zero. This affects more than just > > the catalog that changes were applied too. As soon as I restart > > Interchange the pennies come back. The problem runs deeper than currency > > presentation, items sold, are recorded with pennies truncated to zero in > > the database. > > > > Note that I've added rows to the locale table, but haven't deleted or > > modified what was there to begin with. > > > > Any suggestions? > > I'm pretty sure that Interchange is buggy with switching locales. There are > a number of reports which describe odd behaviour of Interchange, especially > dropping fractional numbers. For one thing, you cannot switch the currency > twice on an Interchange page without wreaking havoc. Though I'm really > interested in Interchange's i18n features, I fear I cannot do much about > it due to limited resources. I believe these problems go away completely if you just set LC_ALL to "C" before starting Interchange. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Software axiom: Lack of speed kills. From interchange-users@icdevgroup.org Wed Jan 15 17:45:01 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Wed Jan 15 17:45:01 2003 Subject: [ic] locale - apply changes - where do the pennies go? In-Reply-To: <20030115171000.A9961@bill.heins.net> References: <1042646119.2730.60.camel@localhost.localdomain> <20030115223744.7384d27c.racke@linuxia.de> <20030115171000.A9961@bill.heins.net> Message-ID: <20030115234154.074835e8.racke@linuxia.de> On Wed, 15 Jan 2003 17:10:00 -0500 Mike Heins wrote: > Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > > On 15 Jan 2003 10:55:19 -0500 > > John Matecsa wrote: > > > > > Since I've been using locale features to dynamically switch between > > > French and English with Interchange 4.8.6 I've had a puzzling problem. > > > > Please specify "dynamically switch". > > > > > > > > In the back end, if I "apply changes", the pennies on item prices in the > > > back and front end are truncated to zero. This affects more than just > > > the catalog that changes were applied too. As soon as I restart > > > Interchange the pennies come back. The problem runs deeper than currency > > > presentation, items sold, are recorded with pennies truncated to zero in > > > the database. > > > > > > Note that I've added rows to the locale table, but haven't deleted or > > > modified what was there to begin with. > > > > > > Any suggestions? > > > > I'm pretty sure that Interchange is buggy with switching locales. There are > > a number of reports which describe odd behaviour of Interchange, especially > > dropping fractional numbers. For one thing, you cannot switch the currency > > twice on an Interchange page without wreaking havoc. Though I'm really > > interested in Interchange's i18n features, I fear I cannot do much about > > it due to limited resources. > > I believe these problems go away completely if you just set LC_ALL to "C" > before starting Interchange. Switching the currency twice on a page won't work flawlessly regardless of this setting. This is a bug and I reported it in an earlier posting to interchange-core, I guess. Not easy to fix though. Ciao Racke From interchange-users@icdevgroup.org Wed Jan 15 18:03:01 2003 From: interchange-users@icdevgroup.org (pat@venturesonline.com) Date: Wed Jan 15 18:03:01 2003 Subject: [ic] Out Of the Office Message-ID: Hi, I will be out of the office until Tuesday, January 21st, 2003. If your inquiry is business related and you need a response before that time, please email info@venturesonline.com or if your request is support related, please open a support ticket on our help desk at: https://www.venturesonline.com/helpdesk. Otherwise, I will respond to your email either late Tuesday or Wednesday. (Anticipating having to go through thousands of emails). Sincerely, Pat Fread :) www.VenturesOnline.com From interchange-users@icdevgroup.org Wed Jan 15 18:25:01 2003 From: interchange-users@icdevgroup.org (pat@venturesonline.com) Date: Wed Jan 15 18:25:01 2003 Subject: [ic] Out Of the Office Message-ID: Hi, I will be out of the office until Tuesday, January 21st, 2003. If your inquiry is business related and you need a response before that time, please email info@venturesonline.com or if your request is support related, please open a support ticket on our help desk at: https://www.venturesonline.com/helpdesk. Otherwise, I will respond to your email either late Tuesday or Wednesday. (Anticipating having to go through thousands of emails). Sincerely, Pat Fread :) www.VenturesOnline.com From interchange-users@icdevgroup.org Wed Jan 15 18:27:01 2003 From: interchange-users@icdevgroup.org (pat@venturesonline.com) Date: Wed Jan 15 18:27:01 2003 Subject: [ic] Out Of the Office Message-ID: Hi, I will be out of the office until Tuesday, January 21st, 2003. If your inquiry is business related and you need a response before that time, please email info@venturesonline.com or if your request is support related, please open a support ticket on our help desk at: https://www.venturesonline.com/helpdesk. Otherwise, I will respond to your email either late Tuesday or Wednesday. (Anticipating having to go through thousands of emails). Sincerely, Pat Fread :) www.VenturesOnline.com From interchange-users@icdevgroup.org Wed Jan 15 18:33:00 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Wed Jan 15 18:33:00 2003 Subject: [ic] locale - apply changes - where do the pennies go? In-Reply-To: <20030115234154.074835e8.racke@linuxia.de>; from racke@linuxia.de on Wed, Jan 15, 2003 at 11:41:54PM +0100 References: <1042646119.2730.60.camel@localhost.localdomain> <20030115223744.7384d27c.racke@linuxia.de> <20030115171000.A9961@bill.heins.net> <20030115234154.074835e8.racke@linuxia.de> Message-ID: <20030115183223.A10742@bill.heins.net> Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > On Wed, 15 Jan 2003 17:10:00 -0500 > Mike Heins wrote: > > > Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > > > On 15 Jan 2003 10:55:19 -0500 > > > John Matecsa wrote: > > > > > > > Since I've been using locale features to dynamically switch between > > > > French and English with Interchange 4.8.6 I've had a puzzling problem. > > > > > > Please specify "dynamically switch". > > > > > > > > > > > In the back end, if I "apply changes", the pennies on item prices in the > > > > back and front end are truncated to zero. This affects more than just > > > > the catalog that changes were applied too. As soon as I restart > > > > Interchange the pennies come back. The problem runs deeper than currency > > > > presentation, items sold, are recorded with pennies truncated to zero in > > > > the database. > > > > > > > > Note that I've added rows to the locale table, but haven't deleted or > > > > modified what was there to begin with. > > > > > > > > Any suggestions? > > > > > > I'm pretty sure that Interchange is buggy with switching locales. There are > > > a number of reports which describe odd behaviour of Interchange, especially > > > dropping fractional numbers. For one thing, you cannot switch the currency > > > twice on an Interchange page without wreaking havoc. Though I'm really > > > interested in Interchange's i18n features, I fear I cannot do much about > > > it due to limited resources. > > > > I believe these problems go away completely if you just set LC_ALL to "C" > > before starting Interchange. > > Switching the currency twice on a page won't work flawlessly regardless of this > setting. This is a bug and I reported it in an earlier posting to interchange-core, > I guess. Not easy to fix though. Au contraire: reconfig=[reconfig] [calc] @$Items = (); $CGI->{mv_order_item} = 'os28004'; $CGI->{mv_todo} = 'refresh'; return; [/calc] [update process] Default: [total-cost] [setlocale locale=de_DE] de_DE: [total-cost] [setlocale locale=fr_FR] fr_FR: [total-cost] [setlocale locale=en_US] en_US: [total-cost] [setlocale locale=de_DE] de_DE: [total-cost] Yields for me: 1 Default: $14.95 de_DE: DM 27,64 fr_FR: 91,61 FF en_US: $14.95 de_DE: DM 27,64 What is not working? If it cannot be described, it cannot be fixed. (Run on latest CVS devel.) Note that I am running with an environment of LC_ALL at "C". If I set it to de_DE or some other locale that uses "," as a decimal separator there are problems, I agree. If there is something wrong that can actually be described and duplicated, I am sure it will be trivial to fix. But so far I see nothing. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Software axiom: Lack of speed kills. From interchange-users@icdevgroup.org Wed Jan 15 18:39:00 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Wed Jan 15 18:39:00 2003 Subject: [ic] Out Of the Office In-Reply-To: ; from pat@venturesonline.com on Wed, Jan 15, 2003 at 04:01:18PM -0700 References: Message-ID: <20030115183819.B10742@bill.heins.net> Quoting pat@venturesonline.com (pat@venturesonline.com): > Hi, > > I will be out of the office until Tuesday, January 21st, 2003. > > If your inquiry is business related and you need a response before > that time, please email info@venturesonline.com or if your request is > support related, please open a support ticket on our help desk at: > https://www.venturesonline.com/helpdesk. > > Otherwise, I will respond to your email either late Tuesday or > Wednesday. (Anticipating having to go through thousands of emails). > I wouldn't argue if people who used procmail to set up autoresponders were jailed, but it is probably a bit extreme. 8-) Assuming the offender hasn't subsribed another address to make it impossible to figure out who he is, he/she will be unsubscribed before another flood of these stupid things hits us. Doesn't anyone know how to program email software? It should be automatic to discard Priority: bulk or Priority: junk messages before doing anything like this. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Fast, reliable, cheap. Pick two and we'll talk. -- unknown From interchange-users@icdevgroup.org Wed Jan 15 18:45:01 2003 From: interchange-users@icdevgroup.org (Ho Koon Leong) Date: Wed Jan 15 18:45:01 2003 Subject: [ic] Interchange 4.9.5 can't find perl-Safe-Hole Message-ID: <5.2.0.9.0.20030116074040.00a91bc8@onemail.com.sg> I am using Mandrake Linux 9.0 and I can't get Interchange 4.9.5 to load the catalogs because it could not find perl-Safe-Hole. I have installed the program using RPM but interchange refused to acknowledge that it is there! What went wrong? What else can I do? Thanks. Koon Leong From interchange-users@icdevgroup.org Wed Jan 15 18:47:01 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Wed Jan 15 18:47:01 2003 Subject: [ic] locale - apply changes - where do the pennies go? In-Reply-To: <20030115183223.A10742@bill.heins.net> References: <1042646119.2730.60.camel@localhost.localdomain> <20030115223744.7384d27c.racke@linuxia.de> <20030115171000.A9961@bill.heins.net> <20030115234154.074835e8.racke@linuxia.de> <20030115183223.A10742@bill.heins.net> Message-ID: <20030116004458.07179446.racke@linuxia.de> On Wed, 15 Jan 2003 18:32:23 -0500 Mike Heins wrote: > Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > > On Wed, 15 Jan 2003 17:10:00 -0500 > > Mike Heins wrote: > > > > > Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > > > > On 15 Jan 2003 10:55:19 -0500 > > > > John Matecsa wrote: > > > > > > > > > Since I've been using locale features to dynamically switch between > > > > > French and English with Interchange 4.8.6 I've had a puzzling problem. > > > > > > > > Please specify "dynamically switch". > > > > > > > > > > > > > > In the back end, if I "apply changes", the pennies on item prices in the > > > > > back and front end are truncated to zero. This affects more than just > > > > > the catalog that changes were applied too. As soon as I restart > > > > > Interchange the pennies come back. The problem runs deeper than currency > > > > > presentation, items sold, are recorded with pennies truncated to zero in > > > > > the database. > > > > > > > > > > Note that I've added rows to the locale table, but haven't deleted or > > > > > modified what was there to begin with. > > > > > > > > > > Any suggestions? > > > > > > > > I'm pretty sure that Interchange is buggy with switching locales. There are > > > > a number of reports which describe odd behaviour of Interchange, especially > > > > dropping fractional numbers. For one thing, you cannot switch the currency > > > > twice on an Interchange page without wreaking havoc. Though I'm really > > > > interested in Interchange's i18n features, I fear I cannot do much about > > > > it due to limited resources. > > > > > > I believe these problems go away completely if you just set LC_ALL to "C" > > > before starting Interchange. > > > > Switching the currency twice on a page won't work flawlessly regardless of this > > setting. This is a bug and I reported it in an earlier posting to interchange-core, > > I guess. Not easy to fix though. > > Au contraire: > > reconfig=[reconfig] > [calc] > @$Items = (); > $CGI->{mv_order_item} = 'os28004'; > $CGI->{mv_todo} = 'refresh'; > return; > [/calc] > > [update process] > > Default: [total-cost] > > [setlocale locale=de_DE] > de_DE: [total-cost] > > [setlocale locale=fr_FR] > fr_FR: [total-cost] > > [setlocale locale=en_US] > en_US: [total-cost] > > [setlocale locale=de_DE] > de_DE: [total-cost] > You changed the whole locale, not the currency alone. Try the same sample with [setlocale currency=..]. > > Yields for me: > > 1 > > Default: $14.95 > > de_DE: DM 27,64 > > fr_FR: 91,61 FF > > en_US: $14.95 > > de_DE: DM 27,64 > > What is not working? If it cannot be described, it cannot be fixed. > > (Run on latest CVS devel.) > > Note that I am running with an environment of LC_ALL at "C". If I set it > to de_DE or some other locale that uses "," as a decimal separator there > are problems, I agree. So if ExecutionLocale isn't sufficient to solve the problem with the broken fractional digits, shouldn't we preset the locale in the init scripts or is there some other measure like a warning on startup ? Bye Racke From interchange-users@icdevgroup.org Wed Jan 15 20:24:00 2003 From: interchange-users@icdevgroup.org (pat@venturesonline.com) Date: Wed Jan 15 20:24:00 2003 Subject: [ic] Out Of the Office Message-ID: Hi, I will be out of the office until Tuesday, January 21st, 2003. If your inquiry is business related and you need a response before that time, please email info@venturesonline.com or if your request is support related, please open a support ticket on our help desk at: https://www.venturesonline.com/helpdesk. Otherwise, I will respond to your email either late Tuesday or Wednesday. (Anticipating having to go through thousands of emails). Sincerely, Pat Fread :) www.VenturesOnline.com From interchange-users@icdevgroup.org Wed Jan 15 20:29:00 2003 From: interchange-users@icdevgroup.org (pat@venturesonline.com) Date: Wed Jan 15 20:29:00 2003 Subject: [ic] Out Of the Office Message-ID: Hi, I will be out of the office until Tuesday, January 21st, 2003. If your inquiry is business related and you need a response before that time, please email info@venturesonline.com or if your request is support related, please open a support ticket on our help desk at: https://www.venturesonline.com/helpdesk. Otherwise, I will respond to your email either late Tuesday or Wednesday. (Anticipating having to go through thousands of emails). Sincerely, Pat Fread :) www.VenturesOnline.com From interchange-users@icdevgroup.org Wed Jan 15 20:38:00 2003 From: interchange-users@icdevgroup.org (Chris Slaght) Date: Wed Jan 15 20:38:00 2003 Subject: [ic] stock alert References: <000001c2bb0e$bb7e0650$1e01a8c0@mrblondelaptop> Message-ID: <012401c2bcff$94198ce0$6301000a@chris> >Information Systems Solutions LTD. > > The functionality you are referring to is not a standard part of > Foundation (at least in the 4.8x branch) > > Here is a link to a post that Russ Mann made about a year ago. I have > not personally tried it, but the code looks like it will do exactly what > you want. > > http://www.icdevgroup.org/pipermail/interchange-users/2002-March/019170. > html > Thanks, That worked great! I had to make some modification but the framework was complete. Chris Slaght CookingToys.com From interchange-users@icdevgroup.org Wed Jan 15 21:03:00 2003 From: interchange-users@icdevgroup.org (Chris Anderson) Date: Wed Jan 15 21:03:00 2003 Subject: [ic] Is anyone using Peachtree w/ IC In-Reply-To: <012401c2bcff$94198ce0$6301000a@chris> Message-ID: I will need to setup IC w/ Peachtree, has anyone done this? Chris From interchange-users@icdevgroup.org Wed Jan 15 21:28:00 2003 From: interchange-users@icdevgroup.org (Jon) Date: Wed Jan 15 21:28:00 2003 Subject: [ic] Extending a UPS Zone File above 150 References: <001601c2bc49$8370d6c0$0b00a8c0@CCS> <3E24E29A.80633217@attglobal.net> <001701c2bc5b$25e89300$8703cb92@daqun> Message-ID: <3E261882.DB16BA8C@attglobal.net> > > upsg UPS Ground weight 0 150 u Ground > > > > Change the 150 to something higher... 600 I guess, and > > then make sure you have every pound 150 - 600 covered in the rate table. > > Or at least an entry for every weight you'll need a match for. > > That I think would be the Interchange part > > But does/would UPS, or whatever carrier, provide such a rate table ? > > > > Jon > > UPS has discount rate for over 200 lbs, called "hundred weight". That rate > is not available form the materials they distribute, but can ba calculated > with their software "worldshop". So, there might be a formular for that. Worldship > > > If it's possible to get that formular, it might be do the lookup up to 200 > lbs. then, switch to formular after that. > UPS may not be willing to give out that formular though, or those response > to 800-pickups have no idea. I confess, I did not research the higher weights from UPS. I don't expect to be above 10 pounds myself. > > > > First of all make sure you have read/write access to shipping.asc and > the > > associated rate table file. This may not be the case for a cPanel hosted > site. > > Well, well, don't complaint to much on cpanel though. You can still use > admin interface to edit, or make a new one. Na, not complaining at all. :)) Just wanted to give him a heads up. Jon From interchange-users@icdevgroup.org Wed Jan 15 21:38:01 2003 From: interchange-users@icdevgroup.org (Jon) Date: Wed Jan 15 21:38:01 2003 Subject: [ic] Talking about cPanel -- possible to make a deal? References: <001601c2bc49$8370d6c0$0b00a8c0@CCS> <3E24E29A.80633217@attglobal.net> <001001c2bc60$3c94eb30$8703cb92@daqun> Message-ID: <3E261B00.898A815B@attglobal.net> Yes, this is on the top but justified. I wanted to begin by saying I didn't bring up the cPanel issue this time :)) Just adding my 2 cents. > Suggestion to icdevelgoup: > > To what I can see, there are 3 main problems when interchange is under > cPanel: > > 1. permition settings of files Isn't that a cPanel configuration issue ? Or rather the configuration of file permissions when the cart is created or some time like that. In any case should be easy to resolve. > > 2. unable to use the restart command by a cart user This can be done at the hosting company pretty simply I believe. Possibly as a separate script. I've seen it as an added feature to the restart section of the 'Web Host Manager' tool... don't know anything about that tool though. > > 3. UI not accessible to users. It is accessible to the owners of the shopping cart with cart permissions. Not sure what you mean here. > > > Is it possible that icdevelgroup negotiates with cPanel to make a deal? > > There is advantage of this. > > 1 cPanel does make the interchange more popular > 2 cPanel has good control on collecting license fee. > > If a deal can be reached, say $0.10 or $0.20 or so per month per > installation of cPanel goes to icdevelgroup, and the two parties work > together to solve the main problems to certern extend, it may be good to > both sides. icdevelgroup can use the fund to do many things, say: working > out a hard copy manuel, have some one working full time for coordinating the > integration, etc. > > Just an idea to make things better. I don't know if it may or may not be > practical. Or, even it's tried already. > Of course I would not be in a position to comment to the above section Jon From interchange-users@icdevgroup.org Wed Jan 15 22:08:01 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Wed Jan 15 22:08:01 2003 Subject: [ic] locale - apply changes - where do the pennies go? In-Reply-To: <20030116004458.07179446.racke@linuxia.de>; from racke@linuxia.de on Thu, Jan 16, 2003 at 12:44:58AM +0100 References: <1042646119.2730.60.camel@localhost.localdomain> <20030115223744.7384d27c.racke@linuxia.de> <20030115171000.A9961@bill.heins.net> <20030115234154.074835e8.racke@linuxia.de> <20030115183223.A10742@bill.heins.net> <20030116004458.07179446.racke@linuxia.de> Message-ID: <20030115220728.A13314@bill.heins.net> Quoting Stefan Hornburg (Racke) (racke@linuxia.de): > > Switching the currency twice on a page won't work flawlessly regardless of this > > > setting. This is a bug and I reported it in an earlier posting to interchange-core, > > > I guess. Not easy to fix though. > > > > Au contraire: > > > > reconfig=[reconfig] > > [calc] > > @$Items = (); > > $CGI->{mv_order_item} = 'os28004'; > > $CGI->{mv_todo} = 'refresh'; > > return; > > [/calc] > > > > [update process] > > > > Default: [total-cost] > > > > [setlocale locale=de_DE] > > de_DE: [total-cost] > > > > [setlocale locale=fr_FR] > > fr_FR: [total-cost] > > > > [setlocale locale=en_US] > > en_US: [total-cost] > > > > [setlocale locale=de_DE] > > de_DE: [total-cost] > > > > You changed the whole locale, not the currency alone. Try the same sample with > [setlocale currency=..]. Aha. OK, that shouldn't be too difficult to fix. > > > > > Yields for me: > > > > 1 > > > > Default: $14.95 > > > > de_DE: DM 27,64 > > > > fr_FR: 91,61 FF > > > > en_US: $14.95 > > > > de_DE: DM 27,64 > > > > What is not working? If it cannot be described, it cannot be fixed. > > > > (Run on latest CVS devel.) > > > > Note that I am running with an environment of LC_ALL at "C". If I set it > > to de_DE or some other locale that uses "," as a decimal separator there > > are problems, I agree. > > So if ExecutionLocale isn't sufficient to solve the problem with the > broken fractional digits, shouldn't we preset the locale in the init > scripts or is there some other measure like a warning on startup ? It should be sufficient. There is probably just a fault in the keys that [setlocale currency=de_DE] sets. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Nature, to be commanded, must be obeyed. -- Francis Bacon From interchange-users@icdevgroup.org Wed Jan 15 22:35:01 2003 From: interchange-users@icdevgroup.org (Vadim Pushkin) Date: Wed Jan 15 22:35:01 2003 Subject: [ic] Need Help Creating Items Message-ID: Hello: New to this list but I spend a good amount of time searhing the archives and found no answer helpful. I am currently using a CVS of 4.9.6 and I am having some difficulties setting up and creating items. I sell computer memory and custom built desktop PC's at local computer shows, I am now at the point where I would like to begin selling via internet using minivend/interchange. I can not make item that allows for multiple and dynamic changes for PC's various options and parts. For instance, if I create PC item, one that has two CPU option, how do I also allow option for 2nd CPU and for various CPU speeds? The same goes for memory and hard drives. I sell tower that allows you to have up to four hard disk drives, along with floppy, DVD and or CD rom, BUT if you chooose DVD, then you are not able to choose CDROM, and of course vice-versa. I wish not to have to create many items as it would prohibit me from allowing "Specials" at a later time. Here is my problem. You choose tower case. You choose motherboard. Motherboard you choose allows two CPU's. You are then allowed to buy one or two CPU's. (You are only allowed to buy one if you had chosen a different motherboard. Next you choose floppy, CD, DVD or JAZ drive. If you choose all of the above, you only have enough space for one hard drive. If you choose one floppy and one DVD, then you are allowed two hard drives!!! Does this make sense? Can someone PLEASE, PLEASE help me to create item that removes AND adds options based on previous choices? I LOVE Interchange!!! Vadim Anatoly Pushkin -- The Ukranian Stallion -- _________________________________________________________________ MSN 8: advanced junk mail protection and 2 months FREE*. http://join.msn.com/?page=features/junkmail From interchange-users@icdevgroup.org Wed Jan 15 23:06:01 2003 From: interchange-users@icdevgroup.org (Vadim Pushkin) Date: Wed Jan 15 23:06:01 2003 Subject: [ic] I Use VeriSign, Unable to Test with 4+1's... Message-ID: hello again. I have an account (payflow) with verisign. I have the following information configured within the admin/preferences (no category). MV_PAYMENT_HOST https://test-payflow.verisign.com MV_PAYMENT_ID vadimsPCs MV_PAYMENT_MODE signio MV_PAYMENT_PARTNER VeriSign MV_PAYMENT_REFERER MV_PAYMENT_SECRET MY-LOGIN-PASSWORD MV_PAYMENT_VENDOR vadimsPCs As you can see PAYMENT_ID and MV_PAYMENT_VENDOR are the same. Is this correct? I only see failures, even with the VeriSign test server. Whenever I try to buy something, using the 4111 1111 1111 1111 credit card, I get the following error: " There were errors in your last submission: (Payment process): There was an error accepting payment: Real-time charge failed. Reason: The areas you need to correct are shown in this color below. Please verify the information below and click the "Place Order" button to process your order. " The problem with the above is that I never actually see anything in RED except for the error message itself. Is there any way of telling if credit auth is happening or if it works at all? Can someone help me with what I should have or do when using VeriSign? Thanks to you all. Vadim _________________________________________________________________ MSN 8: advanced junk mail protection and 2 months FREE*. http://join.msn.com/?page=features/junkmail From interchange-users@icdevgroup.org Wed Jan 15 23:30:00 2003 From: interchange-users@icdevgroup.org (Michael C. Ibarra) Date: Wed Jan 15 23:30:00 2003 Subject: [ic] Broken Icons Under Admin (but fixed...) Message-ID: <1042691465.aa5ca8c444e62@webmail.hawk.com> I've recently noticed, after performing a CVS up, that I had alot of broken icons and backgrounds. I rectified this by copying everything under /src/interchange/share/interchange/en_US to /apache/htdocs/interchange/en_US Since I would like to keep up with CVS, hopefully in a helpful way, I would like to know if there is anything else that I need to do in order to keep up with changes, especially those like this? I normally just perform a CVS update, followed by the normal .log removal and finished up by a restart of interchange. Thank you in advance, -mike From interchange-users@icdevgroup.org Thu Jan 16 00:00:01 2003 From: interchange-users@icdevgroup.org (marty) Date: Thu Jan 16 00:00:01 2003 Subject: [ic] I Use VeriSign, Unable to Test with 4+1's... In-Reply-To: References: Message-ID: <1042693288.16203.5.camel@swanky.mdhome.net> On Wed, 2003-01-15 at 20:04, Vadim Pushkin wrote: > hello again. > > I have an account (payflow) with verisign. I have the following > information configured within the admin/preferences (no category). > > MV_PAYMENT_HOST https://test-payflow.verisign.com > MV_PAYMENT_ID vadimsPCs > MV_PAYMENT_MODE signio > MV_PAYMENT_PARTNER VeriSign > MV_PAYMENT_REFERER > MV_PAYMENT_SECRET MY-LOGIN-PASSWORD > MV_PAYMENT_VENDOR vadimsPCs > You will definitely want to take out the https:// just use test-payflow.verisign.com I'm not sure about the variable identifiers, I'm using the SIGNIO_SERVER identifier instead, but yours may work fine. -- marty From interchange-users@icdevgroup.org Thu Jan 16 00:03:00 2003 From: interchange-users@icdevgroup.org (Joe Kupferling) Date: Thu Jan 16 00:03:00 2003 Subject: [ic] new table with new price field Message-ID: <00a001c2bd1c$73563a40$9e61d30c@c1404715a> I've created a table called customorder with a price field called customprice. I can run queries on this new table and pull up the custom price, but I can't pass this price on to the shopping cart. Is this a situation where I'll have to do some Perl coding in lib/Vend, or am I just missing something in another file like after.cfg? I haven't done anything other then create the table and columns, add a couple lines of data, and create the html page with query. The table contains 4 columns called number, username, sku, and customprice. The rows below 'number' are numbered 1-1000, the other columns should be self-explanatory. Thanks, Joe From interchange-users@icdevgroup.org Thu Jan 16 01:57:00 2003 From: interchange-users@icdevgroup.org (D Zhang - msi) Date: Thu Jan 16 01:57:00 2003 Subject: [ic] new table with new price field References: <00a001c2bd1c$73563a40$9e61d30c@c1404715a> Message-ID: <002301c2bd2c$20f78be0$0affff0a@msi5> ----- Original Message ----- From: "Joe Kupferling" To: Sent: Thursday, January 16, 2003 12:02 AM Subject: [ic] new table with new price field > I've created a table called customorder with a price field called > customprice. I can run queries on this new table and pull up the custom > price, but I can't pass this price on to the shopping cart. Is this a > situation where I'll have to do some Perl coding in lib/Vend, or am I just > missing something in another file like after.cfg? I haven't done anything > other then create the table and columns, add a couple lines of data, and > create the html page with query. > > The table contains 4 columns called number, username, sku, and customprice. > The rows below 'number' are numbered 1-1000, the other columns should be > self-explanatory. > > Thanks, > Joe > Look at your catelog.cfg, work on lines and files indecated; ===================== ### WARNING -- if you have an etc/after.cfg file it may override these settings! PriceField 0 CommonAdjust :sale_price, ;:price, ;$, ==:options ProductFiles products ===================== David --------------------------------- dzhang@msihosting.com http://www.msihosting.com Expert -- ecommerce solution, interchange hosting > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > From interchange-users@icdevgroup.org Thu Jan 16 03:00:01 2003 From: interchange-users@icdevgroup.org (D Zhang - msi) Date: Thu Jan 16 03:00:01 2003 Subject: [ic] Talking about cPanel -- possible to make a deal? References: <001601c2bc49$8370d6c0$0b00a8c0@CCS> <3E24E29A.80633217@attglobal.net> <001001c2bc60$3c94eb30$8703cb92@daqun> <3E261B00.898A815B@attglobal.net> Message-ID: <002901c2bd34$ee6f0f00$0affff0a@msi5> ----- Original Message ----- From: "Jon" > > > > To what I can see, there are 3 main problems when interchange is under > > cPanel: > > > > 1. permition settings of files > > Isn't that a cPanel configuration issue ? Or rather the configuration of file > permissions when the cart is created or some time like that. In any case should be easy to > resolve. > To be practical, tt should be some how made workable settings as default, rather than who ever's configuration. > > > > 2. unable to use the restart command by a cart user > > This can be done at the hosting company pretty simply I believe. > Possibly as a separate script. I've seen it as an added feature to the > restart section of the 'Web Host Manager' tool... don't know anything > about that tool though. > I saw one as "reset" but not "retart". It removes everything, and builds a fresh cart. I would not expect every or most hosting company with cpanel to make a script. > > > > 3. UI not accessible to users. > > It is accessible to the owners of the shopping cart with cart permissions. > Not sure what you mean here. > Sorry, what I tried to say was the shared parts in lib. I didn't look at details. But, it seems that it could give a user more control if some of them move to cart directory. > > > > Is it possible that icdevelgroup negotiates with cPanel to make a deal? > > > > There is advantage of this. > > > > 1 cPanel does make the interchange more popular > > 2 cPanel has good control on collecting license fee. > > > > If a deal can be reached, say $0.10 or $0.20 or so per month per > > installation of cPanel goes to icdevelgroup, and the two parties work > > together to solve the main problems to certern extend, it may be good to > > both sides. icdevelgroup can use the fund to do many things, say: working > > out a hard copy manuel, have some one working full time for coordinating the > > integration, etc. > > > > Just an idea to make things better. I don't know if it may or may not be > > practical. Or, even it's tried already. > > > > Of course I would not be in a position to comment to the above section > That let me wonder if I were in a position to suggest it. I am not a member of icdevelgroup, but simply an interchange user. I love interchange. I appreciate icdevelgroup's work very much, and wish they get necessary fund. Now, there is no support from some major (or well known) commercial companpy (I don't know though, I just know that RedHat stopped support). Things may become difficult. Just think, a deal with cpanel could be good to every one, generate constant fund, more or less, and make something become possible. David --------------------------------- dzhang@msihosting.com http://www.msihosting.com Expert -- ecommerce solution, interchange hosting From interchange-users@icdevgroup.org Thu Jan 16 04:53:01 2003 From: interchange-users@icdevgroup.org (Rich Doughty) Date: Thu Jan 16 04:53:01 2003 Subject: [ic] SQL Statements within Usertags Message-ID: <20030116095234.A4792@earth.opusvl.com> whats the "recommended" way of executing SQL within a usertag? I've been using $Tag->sql (...), but is there any way of accessing the DB connection object for example, and avoiding the $Tag->sql (...) overhead? cheers - Rich Doughty From interchange-users@icdevgroup.org Thu Jan 16 05:23:00 2003 From: interchange-users@icdevgroup.org (Rene Hertell) Date: Thu Jan 16 05:23:00 2003 Subject: [ic] Broken Icons Under Admin (but fixed...) In-Reply-To: <1042691465.aa5ca8c444e62@webmail.hawk.com> Message-ID: > I've recently noticed, after performing a CVS up, that I > had alot of broken icons and backgrounds. I rectified this > by copying everything under > > /src/interchange/share/interchange/en_US > to > /apache/htdocs/interchange/en_US you should link that directory instead. It makes life much easier here you have the guide how to do that: http://www.icdevgroup.org/i/dev/docfly.html?mv_arg=ic_howto_cvs06%2e01 Ren From interchange-users@icdevgroup.org Thu Jan 16 06:30:01 2003 From: interchange-users@icdevgroup.org (Hillary Corney) Date: Thu Jan 16 06:30:01 2003 Subject: [ic] Barclaycard ePDQ ClearCommerce engine Help In-Reply-To: Message-ID: Hi All, Has anyone written a payment interface for Interchange to the Barclaycard ePDQ ClearCommerce engine. Or written an XML interface to a similar payment gateway. I could really do with some pointers as the 525 page API manual is rather unhelpful and dense (or is it me that is dense!). The folk at barclaycard ePDQ support are friendly and helpful but not programmers or scripters. Cheers, Hillary _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Thu Jan 16 07:21:01 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Thu Jan 16 07:21:01 2003 Subject: [ic] SQL Statements within Usertags In-Reply-To: <20030116095234.A4792@earth.opusvl.com> References: <20030116095234.A4792@earth.opusvl.com> Message-ID: <20030116132013.55c1ba85.racke@linuxia.de> On Thu, 16 Jan 2003 09:52:35 +0000 Rich Doughty wrote: > whats the "recommended" way of executing SQL within a usertag? I've been > using $Tag->sql (...), but is there any way of accessing the DB connection > object for example, and avoiding the $Tag->sql (...) overhead? I often use the following technique: [perl tables=foo] $set = $Db{foo}->query('select question,answer from foo'); for (@$set) { ($question, $answer) = @$_; ... } [/perl] Ciao Racke From interchange-users@icdevgroup.org Thu Jan 16 07:30:01 2003 From: interchange-users@icdevgroup.org (Rich Doughty) Date: Thu Jan 16 07:30:01 2003 Subject: [ic] SQL Statements within Usertags In-Reply-To: <20030116132013.55c1ba85.racke@linuxia.de>; from racke@linuxia.de on Thu, Jan 16, 2003 at 01:20:13PM +0100 References: <20030116095234.A4792@earth.opusvl.com> <20030116132013.55c1ba85.racke@linuxia.de> Message-ID: <20030116122903.A15941@earth.opusvl.com> On 16 Jan 2003, Stefan Hornburg wrote: > On Thu, 16 Jan 2003 09:52:35 +0000 > Rich Doughty wrote: > > > whats the "recommended" way of executing SQL within a usertag? I've been > > using $Tag->sql (...), but is there any way of accessing the DB connection > > object for example, and avoiding the $Tag->sql (...) overhead? > > I often use the following technique: > > [perl tables=foo] > $set = $Db{foo}->query('select question,answer from foo'); > for (@$set) { > ($question, $answer) = @$_; > ... > } > [/perl] > cheers. were using mysql exclusively, so can the table name be arbitrary, or does it have to be one of the explicitly registered tables (products, userdb - in our case)? - Rich Doughty From interchange-users@icdevgroup.org Thu Jan 16 07:45:00 2003 From: interchange-users@icdevgroup.org (Andrei Gologan) Date: Thu Jan 16 07:45:00 2003 Subject: [ic] Generating a custom report References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS> <5.1.1.6.0.20030115090323.009d1520@mail.newmediaems.com> Message-ID: <002c01c2bd5c$f02bfa10$5101010a@pcagologan> > At 02:07 PM 01/15/2003 +0100, you wrote: > >Hi, > >I try to generate a custom report. The code I use is: > > > > > >[set first_done][/set] > >[search-region more=1 search=" > > ra=yes > > st=db > > fi=orderline > > ml=50 > > sp=admin/reports/test > > tf=sku > > to=x > > "] > >[search-list] > > > >[/search-list] > >[more-list] > > > > > > > > > >[/more-list] > > > >[/search-region] > >

More[more]
> > > >but it allwys returns empty, no data is visible ..... it seems that the data > >is there , i can see it on the number of pages generated ...but i cant see > >it .... if i choose summary only = no it displays a page filled with > >[item-data orderline] > > > >I am using the tool at the admininterface to generate it ...what am I doing > >wrong ? > >I want to see statistics on the items that were sold ... > >Same thing happens in the live demo 1 of interchange as well .... > > > >Thank you! > >Andrei > > You might want to include some [item-*] tags to actually display the data > from the search, i.e.: > > [item-data orderline sku] > [item-data orderline quantity] > [item-data orderline status] > > ... slightly faster would be to add return_fields spec to your search terms: > > rf=sku,quantity,status > > > Then you can do: > > [item-code] > [item-param quantity] > [item-param status] > ok, now i get data, this is great, but how can I group it ? so i want to see totals for an username for one item, now it just displays the : username - item - quantity ....if a customer orderd more than once the same item, i get to lines ...and i only want to have one. thank you !! Andrei From interchange-users@icdevgroup.org Thu Jan 16 07:47:09 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Thu Jan 16 07:47:09 2003 Subject: [ic] SQL Statements within Usertags In-Reply-To: <20030116122903.A15941@earth.opusvl.com> References: <20030116095234.A4792@earth.opusvl.com> <20030116132013.55c1ba85.racke@linuxia.de> <20030116122903.A15941@earth.opusvl.com> Message-ID: <20030116134333.271f3adc.racke@linuxia.de> On Thu, 16 Jan 2003 12:29:03 +0000 Rich Doughty wrote: > On 16 Jan 2003, Stefan Hornburg wrote: > > On Thu, 16 Jan 2003 09:52:35 +0000 > > Rich Doughty wrote: > > > > > whats the "recommended" way of executing SQL within a usertag? I've been > > > using $Tag->sql (...), but is there any way of accessing the DB connection > > > object for example, and avoiding the $Tag->sql (...) overhead? > > > > I often use the following technique: > > > > [perl tables=foo] > > $set = $Db{foo}->query('select question,answer from foo'); > > for (@$set) { > > ($question, $answer) = @$_; > > ... > > } > > [/perl] > > > > cheers. > > were using mysql exclusively, so can the table name be arbitrary, or does it > have to be one of the explicitly registered tables (products, userdb - in > our case)? To my knowledge, any query in the example above would work in your case, regardless of the tables= and $Db parameter. Ciao Racke From interchange-users@icdevgroup.org Thu Jan 16 07:57:00 2003 From: interchange-users@icdevgroup.org (Rich Doughty) Date: Thu Jan 16 07:57:00 2003 Subject: [ic] SQL Statements within Usertags In-Reply-To: <20030116134333.271f3adc.racke@linuxia.de>; from racke@linuxia.de on Thu, Jan 16, 2003 at 01:43:33PM +0100 References: <20030116095234.A4792@earth.opusvl.com> <20030116132013.55c1ba85.racke@linuxia.de> <20030116122903.A15941@earth.opusvl.com> <20030116134333.271f3adc.racke@linuxia.de> Message-ID: <20030116125624.A17248@earth.opusvl.com> On 16 Jan 2003, Stefan Hornburg wrote: > On Thu, 16 Jan 2003 12:29:03 +0000 > Rich Doughty wrote: > > > On 16 Jan 2003, Stefan Hornburg wrote: > > > On Thu, 16 Jan 2003 09:52:35 +0000 > > > Rich Doughty wrote: > > > > > > > whats the "recommended" way of executing SQL within a usertag? I've been > > > > using $Tag->sql (...), but is there any way of accessing the DB connection > > > > object for example, and avoiding the $Tag->sql (...) overhead? > > > > > > I often use the following technique: > > > > > > [perl tables=foo] > > > $set = $Db{foo}->query('select question,answer from foo'); > > > for (@$set) { > > > ($question, $answer) = @$_; > > > ... > > > } > > > [/perl] > > > > > > > cheers. > > > > were using mysql exclusively, so can the table name be arbitrary, or does it > > have to be one of the explicitly registered tables (products, userdb - in > > our case)? > > To my knowledge, any query in the example above would work in your case, regardless of > the tables= and $Db parameter. I'm getting an error $Db {products} undefined. keys (%Db) returns empty, although %Db *is* defined. what do i do with the tables="" attribute within the usertag? - Rich Doughty From interchange-users@icdevgroup.org Thu Jan 16 08:13:00 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Thu Jan 16 08:13:00 2003 Subject: [ic] SQL Statements within Usertags In-Reply-To: <20030116125624.A17248@earth.opusvl.com> References: <20030116095234.A4792@earth.opusvl.com> <20030116132013.55c1ba85.racke@linuxia.de> <20030116122903.A15941@earth.opusvl.com> <20030116134333.271f3adc.racke@linuxia.de> <20030116125624.A17248@earth.opusvl.com> Message-ID: <20030116141124.0f1d3ca9.racke@linuxia.de> On Thu, 16 Jan 2003 12:56:24 +0000 Rich Doughty wrote: > On 16 Jan 2003, Stefan Hornburg wrote: > > On Thu, 16 Jan 2003 12:29:03 +0000 > > Rich Doughty wrote: > > > > > On 16 Jan 2003, Stefan Hornburg wrote: > > > > On Thu, 16 Jan 2003 09:52:35 +0000 > > > > Rich Doughty wrote: > > > > > > > > > whats the "recommended" way of executing SQL within a usertag? I've been > > > > > using $Tag->sql (...), but is there any way of accessing the DB connection > > > > > object for example, and avoiding the $Tag->sql (...) overhead? > > > > > > > > I often use the following technique: > > > > > > > > [perl tables=foo] > > > > $set = $Db{foo}->query('select question,answer from foo'); > > > > for (@$set) { > > > > ($question, $answer) = @$_; > > > > ... > > > > } > > > > [/perl] > > > > > > > > > > cheers. > > > > > > were using mysql exclusively, so can the table name be arbitrary, or does it > > > have to be one of the explicitly registered tables (products, userdb - in > > > our case)? > > > > To my knowledge, any query in the example above would work in your case, regardless of > > the tables= and $Db parameter. > > I'm getting an error $Db {products} undefined. > keys (%Db) returns empty, although %Db *is* defined. Please post your erroneous code. Bye Racke From interchange-users@icdevgroup.org Thu Jan 16 08:48:01 2003 From: interchange-users@icdevgroup.org (Rich Doughty) Date: Thu Jan 16 08:48:01 2003 Subject: [ic] SQL Statements within Usertags In-Reply-To: <20030116141124.0f1d3ca9.racke@linuxia.de>; from racke@linuxia.de on Thu, Jan 16, 2003 at 02:11:24PM +0100 References: <20030116095234.A4792@earth.opusvl.com> <20030116132013.55c1ba85.racke@linuxia.de> <20030116122903.A15941@earth.opusvl.com> <20030116134333.271f3adc.racke@linuxia.de> <20030116125624.A17248@earth.opusvl.com> <20030116141124.0f1d3ca9.racke@linuxia.de> Message-ID: <20030116134737.A21440@earth.opusvl.com> On 16 Jan 2003, Stefan Hornburg wrote: > > > > > > To my knowledge, any query in the example above would work in your case, regardless of > > > the tables= and $Db parameter. > > > > I'm getting an error $Db {products} undefined. > > keys (%Db) returns empty, although %Db *is* defined. > > Please post your erroneous code. > Usertag is: UserTag testcase Interpolate 1 UserTag testcase HasEndTag 1 UserTag testcase Routine <query ('SELECT * FROM products'); return 1; } EOR page contains: [testcase] test [/testcase] Results are: Apache internal Server error - Premature end of script headers IC log shows "Runtime error: Can't call method "query" on an undefined value at (eval 840) line 5." database setup in catalog.cfg is: Database userdb userdb.txt __SQLDSN__ Database userdb USER __SQLUSER__ Database userdb PASS __SQLPASS__ Database products products.txt __SQLDSN__ Database products USER __SQLUSER__ Database products PASS __SQLPASS__ (where __SQLDSN__ is dbi::mysql::__DBNAME__::__DBPORT__) IC v4.8.6 Perl 5.8.0 (i386-linux-thread-multi - could this cause problems like it does with locking?) all i want to do is reuse the DBI connection within my tag. thanks for any help - Rich Doughty From interchange-users@icdevgroup.org Thu Jan 16 08:55:01 2003 From: interchange-users@icdevgroup.org (Jon) Date: Thu Jan 16 08:55:01 2003 Subject: [ic] Talking about cPanel -- possible to make a deal? References: <001601c2bc49$8370d6c0$0b00a8c0@CCS> <3E24E29A.80633217@attglobal.net> <001001c2bc60$3c94eb30$8703cb92@daqun> <3E261B00.898A815B@attglobal.net> <002901c2bd34$ee6f0f00$0affff0a@msi5> Message-ID: <3E26B9AA.B08C0C0F@attglobal.net> > > > To what I can see, there are 3 main problems when interchange is under > > > cPanel: > > > > > > 1. permition settings of files > > > > Isn't that a cPanel configuration issue ? Or rather the configuration of > file > > permissions when the cart is created or some time like that. In any case > should be easy to > > resolve. > > > > To be practical, tt should be some how made workable settings as default, > rather than who ever's configuration. > I agree. Point being that it is an easy problem to over come. > > > > > > > 2. unable to use the restart command by a cart user > > > > This can be done at the hosting company pretty simply I believe. > > Possibly as a separate script. I've seen it as an added feature to the > > restart section of the 'Web Host Manager' tool... don't know anything > > about that tool though. > > > > I saw one as "reset" but not "retart". It removes everything, and builds a > fresh cart. > I would not expect every or most hosting company with cpanel to make a > script. Again it doesn't appear to be to difficult to over come and solved. Dare I say SMOP :)) being a programmer by profession. > > > > > > > > 3. UI not accessible to users. > > > > It is accessible to the owners of the shopping cart with cart permissions. > > Not sure what you mean here. > > > > Sorry, what I tried to say was the shared parts in lib. I didn't look at > details. But, it seems that it could give a user more control if some of > them move to cart directory. > > > > > > > Is it possible that icdevelgroup negotiates with cPanel to make a deal? > > > > > > There is advantage of this. > > > > > > 1 cPanel does make the interchange more popular > > > 2 cPanel has good control on collecting license fee. > > > > > > If a deal can be reached, say $0.10 or $0.20 or so per month per > > > installation of cPanel goes to icdevelgroup, and the two parties work > > > together to solve the main problems to certern extend, it may be good to > > > both sides. icdevelgroup can use the fund to do many things, say: > working > > > out a hard copy manuel, have some one working full time for coordinating > the > > > integration, etc. > > > > > > Just an idea to make things better. I don't know if it may or may not be > > > practical. Or, even it's tried already. > > > > > > > Of course I would not be in a position to comment to the above section > > > > That let me wonder if I were in a position to suggest it. I am not a member > of icdevelgroup, but simply an interchange user. I love interchange. I > appreciate icdevelgroup's work very much, and wish they get necessary fund. > Now, there is no support from some major (or well known) commercial companpy > (I don't know though, I just know that RedHat stopped support). Things may > become difficult. Just think, a deal with cpanel could be good to every one, > generate constant fund, more or less, and make something become possible. > I do also appreciate IC and I'm constantly amazed how a number of particular people are able devote so much time and some how still make a living. Amazing ! In any case, my view, limited as it is, I would think those that stand to gain directly from making cPanel become a more viable solution for IC ought to stand up and put forth the effort. The things you've mentioned already, though I'm sure there are more, should be fixable. Ok, let me say it... I think cPanel people ought to come forth and make a few changes that would appear to go a long way. Many of us have already read from key people in IC development, those amazing people, how they've tried to get cPanel to make some changes. I'm sure there are a number of reasons why they haven't made the changes and I probably shouldn't speculate here. So what can we, or I, do.... Jon From interchange-users@icdevgroup.org Thu Jan 16 09:12:00 2003 From: interchange-users@icdevgroup.org (Rene Hertell) Date: Thu Jan 16 09:12:00 2003 Subject: [ic] A Question about changing the locale Message-ID: Hi, Is it possible to make a locale-switch in the middle of a page and show values based on that? I have a date-widget specified for one field with the table-editor that should show the date in a different language. If I switch the language like this, the table-editor shows still the date in the original language. But If I set the locale on the previous page, the date shows as i need it. Here is the code i tried with: [perl] $Scratch->{original_language}=$Scratch->{mv_locale}; $Scratch->{mv_locale}="fi_FI"; return; [/perl] [table-editor ....] [perl] $Scratch->{mv_locale} = $Scratch->{original_language}; return; [/perl] Is it possible to specify just the table-editor-part to be a different locale, instead of having to switch it on the previous page? Regards, Ren From interchange-users@icdevgroup.org Thu Jan 16 09:18:01 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Thu Jan 16 09:18:01 2003 Subject: [ic] SQL Statements within Usertags In-Reply-To: <20030116134737.A21440@earth.opusvl.com> References: <20030116095234.A4792@earth.opusvl.com> <20030116132013.55c1ba85.racke@linuxia.de> <20030116122903.A15941@earth.opusvl.com> <20030116134333.271f3adc.racke@linuxia.de> <20030116125624.A17248@earth.opusvl.com> <20030116141124.0f1d3ca9.racke@linuxia.de> <20030116134737.A21440@earth.opusvl.com> Message-ID: <20030116151632.1d41a64d.racke@linuxia.de> On Thu, 16 Jan 2003 13:47:37 +0000 Rich Doughty wrote: > On 16 Jan 2003, Stefan Hornburg wrote: > > > > > > > > > > > To my knowledge, any query in the example above would work in your case, regardless of > > > > the tables= and $Db parameter. > > > > > > I'm getting an error $Db {products} undefined. > > > keys (%Db) returns empty, although %Db *is* defined. > > > > Please post your erroneous code. > > > > Usertag is: > UserTag testcase Interpolate 1 > UserTag testcase HasEndTag 1 > UserTag testcase Routine < sub { > my ($body) = @_; > my $rv; > > my $rs = $Db {products}->query ('SELECT * FROM products'); > > return 1; > } > EOR > > page contains: > [testcase] test [/testcase] > > Results are: > Apache internal Server error - Premature end of script headers > > IC log shows "Runtime error: Can't call method "query" on an > undefined value at (eval 840) line 5." > > database setup in catalog.cfg is: > Database userdb userdb.txt __SQLDSN__ > Database userdb USER __SQLUSER__ > Database userdb PASS __SQLPASS__ > Database products products.txt __SQLDSN__ > Database products USER __SQLUSER__ > Database products PASS __SQLPASS__ > > (where __SQLDSN__ is dbi::mysql::__DBNAME__::__DBPORT__) > > IC v4.8.6 > Perl 5.8.0 (i386-linux-thread-multi - could this cause problems like it does > with locking?) > > > all i want to do is reuse the DBI connection within my tag. You need to put [perl tables=products][/perl] somewhere on your page before using your usertag or call the above code within Autoload. Bye Racke From interchange-users@icdevgroup.org Thu Jan 16 09:28:00 2003 From: interchange-users@icdevgroup.org (Geoff Sternecker) Date: Thu Jan 16 09:28:00 2003 Subject: [ic] Interchange 4.9.5 can't find perl-Safe-Hole In-Reply-To: <5.2.0.9.0.20030116074040.00a91bc8@onemail.com.sg> References: <5.2.0.9.0.20030116074040.00a91bc8@onemail.com.sg> Message-ID: <200301160825.40384.geoffs@rdgi.com> On Wednesday 15 January 2003 11:44 pm, Ho Koon Leong wrote: > could not find perl-Safe-Hole. What else can I do? run: perl -MCPAN -e "install Safe::Hole" -geoffs -- Geoff Sternecker From interchange-users@icdevgroup.org Thu Jan 16 09:48:01 2003 From: interchange-users@icdevgroup.org (Dave Paton) Date: Thu Jan 16 09:48:01 2003 Subject: [ic] can the 4.9.4 Authorizenet.pm be used in a 4.8.6 catalog? Message-ID: Hi Mike and everyone. Can the 4.9.4 Authorizenet.pm be used in a 4.8.6 catalog to pick up the improved ability to settle auth_only orders? I have a catalog on the edge of going live and would like to stay with 4.8.6 for it. It uses Authorize.net and the client is going to need to settle after shipment. That one 4.9 piece would be great to have, for the rest I would wait for 5.0. Would it break the 4.8.6 order module to have the newer Authorizenet.pm included? Thanks. From interchange-users@icdevgroup.org Thu Jan 16 09:55:01 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Thu Jan 16 09:55:01 2003 Subject: [ic] A Question about changing the locale In-Reply-To: References: Message-ID: <20030116152051.54e4977b.racke@linuxia.de> On Thu, 16 Jan 2003 16:11:03 +0200 "Rene Hertell" wrote: > Hi, > > Is it possible to make a locale-switch in the middle of a page and show > values based on that? > > I have a date-widget specified for one field with the table-editor that > should show the date in a different language. If I switch the language like > this, the table-editor shows still the date in the original language. But If > I set the locale on the previous page, the date shows as i need it. > > Here is the code i tried with: > > [perl] > $Scratch->{original_language}=$Scratch->{mv_locale}; > $Scratch->{mv_locale}="fi_FI"; > return; > [/perl] > [table-editor ....] > [perl] > $Scratch->{mv_locale} = $Scratch->{original_language}; > return; > [/perl] $Scratch->{mv_locale} is considered to be read-only, use the [setlocale] tag instead. Bye Racke From interchange-users@icdevgroup.org Thu Jan 16 10:45:00 2003 From: interchange-users@icdevgroup.org (Frank Maestas) Date: Thu Jan 16 10:45:00 2003 Subject: [ic] IC and MySQL not creating tables from makecat Message-ID: <000801c2bd75$d1da6790$2a00a8c0@frankmaestas> Hello, Using RedHat 8.0, Interchange 4.8.6, and MySQL 3.23.52. MySQL is running just fine. When using makecat to create the catalog database, makecat produces no errors, but there are no tables created. The database name is there, but is empty. Have restarted IC and MySQL. Am using root and a password for MySQL database creation when prompted. Is this a MySQL permissions issue or is there a "specific" Perl CPAN module that I may be missing? Frank Maestas TTS Performance Systems Inc. frank.maestas@ttseagle.com From interchange-users@icdevgroup.org Thu Jan 16 11:34:00 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Thu Jan 16 11:34:00 2003 Subject: [ic] SQL Statements within Usertags In-Reply-To: <20030116134737.A21440@earth.opusvl.com> Message-ID: <000601c2bd7c$f2ccd620$020110ac@majestic.cursor-software.co.uk> Rich Doughty [rich@opusvl.com] wrote: > > Usertag is: > UserTag testcase Interpolate 1 > UserTag testcase HasEndTag 1 > UserTag testcase Routine < sub { > my ($body) = @_; > my $rv; > > my $rs = $Db {products}->query ('SELECT * FROM products'); > > return 1; > } > EOR > > page contains: > [testcase] test [/testcase] > > Results are: > Apache internal Server error - Premature end of script headers > > IC log shows "Runtime error: Can't call method "query" on an > undefined value at (eval 840) line 5." > Try this sort of thing instead (untested): UserTag testcase Interpolate 1 UserTag testcase hasEndTag 1 UserTag testcase Routine <query($query) or die 'SELECT on products failed'; foreach (@$resultset){ # $_->[0] is foo # $_->[1] is bar } undef; } EOR -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Thu Jan 16 11:40:00 2003 From: interchange-users@icdevgroup.org (Rene Hertell) Date: Thu Jan 16 11:40:00 2003 Subject: [ic] A Question about changing the locale In-Reply-To: <20030116152051.54e4977b.racke@linuxia.de> Message-ID: > $Scratch->{mv_locale} is considered to be read-only, use the > [setlocale] tag > instead. > > Bye > Racke Thanks Racke! This works like a charm! :-) Rene From interchange-users@icdevgroup.org Thu Jan 16 13:05:01 2003 From: interchange-users@icdevgroup.org (Michael C. Ibarra) Date: Thu Jan 16 13:05:01 2003 Subject: [ic] I Use VeriSign, Unable to Test with 4+1's... In-Reply-To: <1042693288.16203.5.camel@swanky.mdhome.net> References: <1042693288.16203.5.camel@swanky.mdhome.net> Message-ID: <1042740350.1bbf57c573c05@webmail.hawk.com> Greetings: I have a similiar problem and question, however my problem lies with how to actually get the pfpro binaries and libraries installed properly. 1. What must I do, aside from modifying my interchange.cfg to include Require module Vend::Payment::Signio so that it sees the VeriSign certificate that came with the versign dev pkg? 2. Where should I install the verisign pkg? Is the location something that needs to be added, like an environmental variable, file or other? For instance, PFPRO_CERT_PATH? 3. Must I do anything else besides installing their (Verisigns) cert? For instance, do I have to generate my own as well? Aside from the one for my SSL server? Thanks all in advance, -mike Quoting marty : > On Wed, 2003-01-15 at 20:04, Vadim Pushkin wrote: > > hello again. > > > > I have an account (payflow) with verisign. I have the following > > information configured within the admin/preferences (no category). > > > > MV_PAYMENT_HOST https://test-payflow.verisign.com > > MV_PAYMENT_ID vadimsPCs > > MV_PAYMENT_MODE signio > > MV_PAYMENT_PARTNER VeriSign > > MV_PAYMENT_REFERER > > MV_PAYMENT_SECRET MY-LOGIN-PASSWORD > > MV_PAYMENT_VENDOR vadimsPCs > > > > You will definitely want to take out the https:// > > just use test-payflow.verisign.com > > I'm not sure about the variable identifiers, I'm using the SIGNIO_SERVER > identifier instead, but yours may work fine. > -- > marty > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Thu Jan 16 13:47:00 2003 From: interchange-users@icdevgroup.org (Michael C. Ibarra) Date: Thu Jan 16 13:47:00 2003 Subject: [ic] I Use VeriSign, Unable to Test with 4+1's... In-Reply-To: <1042740350.1bbf57c573c05@webmail.hawk.com> References: <1042693288.16203.5.camel@swanky.mdhome.net> <1042740350.1bbf57c573c05@webmail.hawk.com> Message-ID: <1042742884.a305bdea2f0e8@webmail.hawk.com> OK, made a few changes, now I get different errors. First, I linked everything in ~payflow/bin to ~interchange/bin, same for lib and finally linking ~payflow/certs to ~interchange/ certs. Now instead of getting the previous error message, I now get the following: (Payment process): There was an error accepting payment: Real-time charge failed. Reason: Charge error: 4 Reason: Invalid amount: Range must be $0.01 thru $25000.00. Please call in your order or try again. Credit Card Information: Charge error: 4 Reason: Invalid amount: Range must be $0.01 thru $25000.00. Please call in your order or try again. My total amount is in fact $3,051.59 Does anyone have any insight into what is going on here? I am using the latest version of IC. Best regards, -mike Quoting "Michael C. Ibarra" : > Greetings: > > I have a similiar problem and question, however my problem > lies with how to actually get the pfpro binaries and libraries > installed properly. > > 1. What must I do, aside from modifying my interchange.cfg to > include Require module Vend::Payment::Signio so that it sees > the VeriSign certificate that came with the versign dev pkg? > > 2. Where should I install the verisign pkg? Is the location > something that needs to be added, like an environmental variable, > file or other? For instance, PFPRO_CERT_PATH? > > 3. Must I do anything else besides installing their (Verisigns) > cert? For instance, do I have to generate my own as well? Aside > from the one for my SSL server? > > Thanks all in advance, > > -mike > > Quoting marty : > > > On Wed, 2003-01-15 at 20:04, Vadim Pushkin wrote: > > > hello again. > > > > > > I have an account (payflow) with verisign. I have the following > > > information configured within the admin/preferences (no category). > > > > > > MV_PAYMENT_HOST https://test-payflow.verisign.com > > > MV_PAYMENT_ID vadimsPCs > > > MV_PAYMENT_MODE signio > > > MV_PAYMENT_PARTNER VeriSign > > > MV_PAYMENT_REFERER > > > MV_PAYMENT_SECRET MY-LOGIN-PASSWORD > > > MV_PAYMENT_VENDOR vadimsPCs > > > > > > > You will definitely want to take out the https:// > > > > just use test-payflow.verisign.com > > > > I'm not sure about the variable identifiers, I'm using the SIGNIO_SERVER > > identifier instead, but yours may work fine. > > -- > > marty > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@icdevgroup.org > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Thu Jan 16 14:51:01 2003 From: interchange-users@icdevgroup.org (Kevin Old) Date: Thu Jan 16 14:51:01 2003 Subject: [ic] FYI - *****UPS Ground Residential Code Change***** Message-ID: <1042728240.2777.13.camel@localhost.localdomain> Hello everyone, I am currently testing a site for shipping options and noticed that UPS Ground Residential wasn't showing up as a shipping option anymore. After researching on the UPS site, it seems they've changed the GRDRES code to GRD. A quick fix is to recreate a UPS Residential shipping method and change the "Name of the method" from GRDRES to GRD. This works for me and didn't require any behind the scenes coding changes. Just wanted to let everyone know. Hope this helps! Kevin -- Kevin Old From interchange-users@icdevgroup.org Thu Jan 16 15:05:01 2003 From: interchange-users@icdevgroup.org (Matt Kerner) Date: Thu Jan 16 15:05:01 2003 Subject: [ic] CyberCash Integration w/ MCK problem In-Reply-To: <2385.216.200.97.45.1042664125.squirrel@mail.spinrx.com> Message-ID: I've been having trouble off and on with CyberCash. I finally got the 3.2.0.4 library installed and it does not work under RedHat 7.2 (or newer). In the error log I see the following errors when I try to place an order: sh: /usr/local/interchange/lib/MCKencrypt: No such file or directory If I replace the MCKencrypt/MCKdecrypt files with those from the newer (3.2.0.6) library the error goes away, but IC returns: (cybercash): Charge failed, reason: Location: CCMckDirectLib3_2; Message: Decryption failed I've seen the above error with an Encryption failed message in the past (and commentary on the lists), but nothing about a Decryption failure. Any advice? Tips? Thanks, Kerner From interchange-users@icdevgroup.org Thu Jan 16 15:25:01 2003 From: interchange-users@icdevgroup.org (Michael C. Ibarra) Date: Thu Jan 16 15:25:01 2003 Subject: [ic] I Use VeriSign, Unable to Test with 4+1's... (more error info...) In-Reply-To: <1042742884.a305bdea2f0e8@webmail.hawk.com> References: <1042693288.16203.5.camel@swanky.mdhome.net> <1042740350.1bbf57c573c05@webmail.hawk.com> <1042742884.a305bdea2f0e8@webmail.hawk.com> Message-ID: <1042748774.2db1a74f87b65@webmail.hawk.com> Hello Again: Here is more info that I've gotten from my error.log - - - [16/jan/2003:09:57:36 -0500] - - Reconfig of store_products successful. 12.2.55.2 9dCgd9dB:12.2.55.2 - [16/jan/2003:09:59:55 -0500] store_products /cgi- bin/products/process.html Safe: Real-time charge failed. Reason: Charge error: 4 Reason: Invalid amount: Range must be $0.01 thru $25000.00. Please call in your order or try again. > > > die errmsg( > "Real-time charge failed. Reason: %s\n", > errmsg($Session->{cybercash_error}), > ); > I do not even see a file named process.html ??? Placeholder? Thanks, -mike Quoting "Michael C. Ibarra" : > OK, made a few changes, now I get different errors. > First, I linked everything in ~payflow/bin to ~interchange/bin, > same for lib and finally linking ~payflow/certs to ~interchange/ > certs. Now instead of getting the previous error message, I now get > the following: > > > (Payment process): There was an error accepting payment: Real-time charge > failed. Reason: Charge error: 4 Reason: Invalid amount: Range must be $0.01 > thru $25000.00. Please call in your order or try again. > Credit Card Information: Charge error: 4 Reason: Invalid amount: Range must > be > $0.01 thru $25000.00. Please call in your order or try again. > > My total amount is in fact $3,051.59 Does anyone have any insight into > what is going on here? I am using the latest version of IC. > > Best regards, > > -mike > > Quoting "Michael C. Ibarra" : > > > Greetings: > > > > I have a similiar problem and question, however my problem > > lies with how to actually get the pfpro binaries and libraries > > installed properly. > > > > 1. What must I do, aside from modifying my interchange.cfg to > > include Require module Vend::Payment::Signio so that it sees > > the VeriSign certificate that came with the versign dev pkg? > > > > 2. Where should I install the verisign pkg? Is the location > > something that needs to be added, like an environmental variable, > > file or other? For instance, PFPRO_CERT_PATH? > > > > 3. Must I do anything else besides installing their (Verisigns) > > cert? For instance, do I have to generate my own as well? Aside > > from the one for my SSL server? > > > > Thanks all in advance, > > > > -mike > > > > Quoting marty : > > > > > On Wed, 2003-01-15 at 20:04, Vadim Pushkin wrote: > > > > hello again. > > > > > > > > I have an account (payflow) with verisign. I have the following > > > > information configured within the admin/preferences (no category). > > > > > > > > MV_PAYMENT_HOST https://test-payflow.verisign.com > > > > MV_PAYMENT_ID vadimsPCs > > > > MV_PAYMENT_MODE signio > > > > MV_PAYMENT_PARTNER VeriSign > > > > MV_PAYMENT_REFERER > > > > MV_PAYMENT_SECRET MY-LOGIN-PASSWORD > > > > MV_PAYMENT_VENDOR vadimsPCs > > > > > > > > > > You will definitely want to take out the https:// > > > > > > just use test-payflow.verisign.com > > > > > > I'm not sure about the variable identifiers, I'm using the SIGNIO_SERVER > > > identifier instead, but yours may work fine. > > > -- > > > marty > > > > > > _______________________________________________ > > > interchange-users mailing list > > > interchange-users@icdevgroup.org > > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > > > _______________________________________________ > > interchange-users mailing list > > interchange-users@icdevgroup.org > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Thu Jan 16 15:34:00 2003 From: interchange-users@icdevgroup.org (Rich Kelly) Date: Thu Jan 16 15:34:00 2003 Subject: [ic] FYI - *****UPS Ground Residential Code Change***** In-Reply-To: <1042728240.2777.13.camel@localhost.localdomain> Message-ID: > Hello everyone, > > I am currently testing a site for shipping options and noticed that UPS > Ground Residential wasn't showing up as a shipping option anymore. > > After researching on the UPS site, it seems they've changed the GRDRES > code to GRD. > > A quick fix is to recreate a UPS Residential shipping method and change > the "Name of the method" from GRDRES to GRD. > > This works for me and didn't require any behind the scenes coding > changes. > > Just wanted to let everyone know. > > Hope this helps! > Kevin > -- > Kevin Old > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > Thats it?!? I am also missing the Ground Commercial did they change that too Please provide a link From interchange-users@icdevgroup.org Thu Jan 16 16:02:00 2003 From: interchange-users@icdevgroup.org (DB) Date: Thu Jan 16 16:02:00 2003 Subject: [ic] IC and MySQL not creating tables from makecat Message-ID: <3E271DA3.1020108@M-and-D.com> > Hello, > > Using RedHat 8.0, Interchange 4.8.6, and MySQL 3.23.52. > > MySQL is running just fine. When using makecat to create the catalog > database, > makecat produces no errors, but there are no tables created. The database > name is there, but is empty. Have restarted IC and MySQL. Am using root and > a password for MySQL database creation when prompted. > > Is this a MySQL permissions issue or is there a "specific" Perl CPAN module > that I may be missing? > > > > Frank Maestas > TTS Performance Systems Inc. > frank.maestas@ttseagle.com IC doesn't run as root... be sure the user that IC runs as (often it is interch) has permission to access the database. DB From interchange-users@icdevgroup.org Thu Jan 16 16:05:01 2003 From: interchange-users@icdevgroup.org (David Etheredge) Date: Thu Jan 16 16:05:01 2003 Subject: [ic] adding weight to shipping calculation Message-ID: <001901c2bda2$2022d320$05a2a2a2@david98> > How can I add 1 lb to my total shipping weight? > I have exact weights for my products, but the total does not include the > weight of packaging material. >From checkout.html [if items] [then] >>> [seti weight] [summary amount="0.8"] [/seti] [item-list modular=1] From interchange-users@icdevgroup.org Thu Jan 16 16:32:00 2003 From: interchange-users@icdevgroup.org (C.B. Currier) Date: Thu Jan 16 16:32:00 2003 Subject: [ic] CyberCash Integration w/ MCK problem In-Reply-To: References: <2385.216.200.97.45.1042664125.squirrel@mail.spinrx.com> Message-ID: <3269.216.200.97.45.1042752694.squirrel@mail.spinrx.com> My apologies, what I asked about and am struggling with is the mck-3.3.1-i586-pc-linux-gnulibc2.1 distribution. Where might I find other distributions? I have searched extensively but the version you speak of I have not ever seen. C.B. Currier Matt Kerner said: > I've been having trouble off and on with CyberCash. I finally got the > 3.2.0.4 library installed and it does not work under RedHat 7.2 (or > newer). > > In the error log I see the following errors when I try to place an > order: > sh: /usr/local/interchange/lib/MCKencrypt: No such file or directory > > If I replace the MCKencrypt/MCKdecrypt files with those from the newer > (3.2.0.6) library the error goes away, but IC returns: > > (cybercash): Charge failed, reason: Location: CCMckDirectLib3_2; > Message: Decryption failed > > I've seen the above error with an Encryption failed message in the past > (and commentary on the lists), but nothing about a Decryption failure. > > Any advice? Tips? > > Thanks, > Kerner > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Thu Jan 16 17:33:00 2003 From: interchange-users@icdevgroup.org (Michael Stone) Date: Thu Jan 16 17:33:00 2003 Subject: [ic] FYI - *****UPS Ground Residential Code Change***** In-Reply-To: <1042728240.2777.13.camel@localhost.localdomain> Message-ID: I was having problems of a similar nature. UPS Ground Commercial was not available to my sites. Do you know if UPS GNDCOM was also changed? And if so to what. I likewise checked ups.com but was unable to find their shipping codes. I know others have been experiencing this problem. Could you give us the ups web location where you found these codes. Perhaps your solution for GRNDRES will also apply to GNDCOM. Thanks, Michael Stone > Hello everyone, > > I am currently testing a site for shipping options and noticed that UPS > Ground Residential wasn't showing up as a shipping option anymore. > > After researching on the UPS site, it seems they've changed the GRDRES > code to GRD. > > A quick fix is to recreate a UPS Residential shipping method and change > the "Name of the method" from GRDRES to GRD. > > This works for me and didn't require any behind the scenes coding > changes. > > Just wanted to let everyone know. > > Hope this helps! > Kevin From interchange-users@icdevgroup.org Thu Jan 16 17:35:37 2003 From: interchange-users@icdevgroup.org (Michael C. Ibarra) Date: Thu Jan 16 17:35:37 2003 Subject: [ic] Broken Icons Under Admin (but fixed...) In-Reply-To: References: Message-ID: <1042756433.bd545437cce8f@webmail.hawk.com> Quoting Rene Hertell : > > I've recently noticed, after performing a CVS up, that I > > had alot of broken icons and backgrounds. I rectified this > > by copying everything under > > > > /src/interchange/share/interchange/en_US > > to > > /apache/htdocs/interchange/en_US > > you should link that directory instead. It makes life much easier Thank you, works as expected. > here you have the guide how to do that: > http://www.icdevgroup.org/i/dev/docfly.html?mv_arg=ic_howto_cvs06%2e01 One question that I have here is that my catalog lives under ~interchange/catalogs/store_products and foundation, which is what the above doc states to backup, assumes that my catalog lives under foundation as well. Is my catalog in the wrong place? Thanks again, -mike From interchange-users@icdevgroup.org Thu Jan 16 17:37:00 2003 From: interchange-users@icdevgroup.org (marty) Date: Thu Jan 16 17:37:00 2003 Subject: [ic] I Use VeriSign, Unable to Test with 4+1's... (more error info...) In-Reply-To: <1042748774.2db1a74f87b65@webmail.hawk.com> References: <1042693288.16203.5.camel@swanky.mdhome.net> <1042740350.1bbf57c573c05@webmail.hawk.com> <1042742884.a305bdea2f0e8@webmail.hawk.com> <1042748774.2db1a74f87b65@webmail.hawk.com> Message-ID: <1042756559.21662.3.camel@swanky.mdhome.net> On Thu, 2003-01-16 at 12:26, Michael C. Ibarra wrote: > Hello Again: [snip] Have you been able to successfully complete a transaction using the test.sh script provided by Verisign? -- marty From interchange-users@icdevgroup.org Thu Jan 16 17:53:01 2003 From: interchange-users@icdevgroup.org (Michael C. Ibarra) Date: Thu Jan 16 17:53:01 2003 Subject: [ic] I Use VeriSign, Unable to Test with 4+1's... (more error info...) In-Reply-To: <1042756559.21662.3.camel@swanky.mdhome.net> References: <1042693288.16203.5.camel@swanky.mdhome.net> <1042740350.1bbf57c573c05@webmail.hawk.com> <1042742884.a305bdea2f0e8@webmail.hawk.com> <1042748774.2db1a74f87b65@webmail.hawk.com> <1042756559.21662.3.camel@swanky.mdhome.net> Message-ID: <1042757611.a4687cadd2a52@webmail.hawk.com> Quoting marty : > [snip] > > Have you been able to successfully complete a transaction using the > test.sh script provided by Verisign? yes -mike From interchange-users@icdevgroup.org Thu Jan 16 18:41:01 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Thu Jan 16 18:41:01 2003 Subject: [ic] can the 4.9.4 Authorizenet.pm be used in a 4.8.6 catalog? In-Reply-To: Message-ID: <000001c2bdb8$ada37cc0$020110ac@majestic.cursor-software.co.uk> Dave Paton [dpwork@earthlink.net] wrote: > > Hi Mike and everyone. Can the 4.9.4 Authorizenet.pm be used in a 4.8.6 > catalog to pick up the improved ability to settle auth_only orders? I have a > catalog on the edge of going live and would like to stay with 4.8.6 for it. > It uses Authorize.net and the client is going to need to settle after > shipment. That one 4.9 piece would be great to have, for the rest I would > wait for 5.0. Would it break the 4.8.6 order module to have the newer > Authorizenet.pm included? Thanks. > There's no reason why it shouldn't work. Keep a backup of your current AuthorizeNet.pm file - just in case. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Thu Jan 16 18:54:00 2003 From: interchange-users@icdevgroup.org (Michael C. Ibarra) Date: Thu Jan 16 18:54:00 2003 Subject: [ic] I Use VeriSign, Unable to Test with 4+1's... (more error info...) In-Reply-To: <1042757611.a4687cadd2a52@webmail.hawk.com> References: <1042693288.16203.5.camel@swanky.mdhome.net> <1042740350.1bbf57c573c05@webmail.hawk.com> <1042742884.a305bdea2f0e8@webmail.hawk.com> <1042748774.2db1a74f87b65@webmail.hawk.com> <1042756559.21662.3.camel@swanky.mdhome.net> <1042757611.a4687cadd2a52@webmail.hawk.com> Message-ID: <1042761288.d1dc8390364b4@webmail.hawk.com> My currency, at least what the debug file show, shows my delimiter to be a comma , versus a dot . So 40.94 tries to get approved for 40,94 Any ideas? Thanks, -mike Michael C. Ibarra Hawk Technologies, Inc http://www.hawk.com 800.hawk.com Quoting "Michael C. Ibarra" : > Quoting marty : > > > [snip] > > > > Have you been able to successfully complete a transaction using the > > test.sh script provided by Verisign? > > yes > > -mike > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Thu Jan 16 19:36:00 2003 From: interchange-users@icdevgroup.org (interch) Date: Thu Jan 16 19:36:00 2003 Subject: [ic] FYI - *****UPS Ground Residential Code Change***** References: Message-ID: <02bf01c2bdc0$6a303570$0600a8c0@chris2> My suspicion is that they changed the ratefinder to mimic the same behavior as their official online tools. With the online tools ups ground is always ups ground commercial unless you set a value in another variable that tells the system it is residential. I'll bet that sending GRD is in fact calculating for ups ground commercial, not residential. Chris ----- Original Message ----- From: "Michael Stone" To: Sent: Thursday, January 16, 2003 2:31 PM Subject: Re: [ic] FYI - *****UPS Ground Residential Code Change***** > I was having problems of a similar nature. UPS Ground Commercial was not > available to my sites. Do you know if UPS GNDCOM was also changed? And if > so to what. I likewise checked ups.com but was unable to find their > shipping codes. I know others have been experiencing this problem. Could > you give us the ups web location where you found these codes. Perhaps your > solution for GRNDRES will also apply to GNDCOM. > > Thanks, > Michael Stone > > > > Hello everyone, > > > > I am currently testing a site for shipping options and noticed that UPS > > Ground Residential wasn't showing up as a shipping option anymore. > > > > After researching on the UPS site, it seems they've changed the GRDRES > > code to GRD. > > > > A quick fix is to recreate a UPS Residential shipping method and change > > the "Name of the method" from GRDRES to GRD. > > > > This works for me and didn't require any behind the scenes coding > > changes. > > > > Just wanted to let everyone know. > > > > Hope this helps! > > Kevin > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Thu Jan 16 21:06:00 2003 From: interchange-users@icdevgroup.org (Tim Stoakes) Date: Thu Jan 16 21:06:00 2003 Subject: [ic] suid makecat Message-ID: <20030117123456.6f696ef2.tim@ehost.com.au> Hi, We're implementing a browser driven interface to setting up interchange catalogs. One of the steps involved in this is the makecat of course. I have written a wrapper that is suid the interchange user, that checks parameters etc. for safety. However, makecat is called from here as suid aswell, and it is giving me a lot of errors due to the forced -T mechanism. Has anyone got any solutions to this, other than me auditing makecat and making it -T safe? Or is what we are trying to do a crazy idea? Thanks for the help Tim Stoakes From interchange-users@icdevgroup.org Thu Jan 16 21:20:01 2003 From: interchange-users@icdevgroup.org (interchange-users@icdevgroup.org) Date: Thu Jan 16 21:20:01 2003 Subject: [ic] suid makecat In-Reply-To: <20030117123456.6f696ef2.tim@ehost.com.au> References: <20030117123456.6f696ef2.tim@ehost.com.au> Message-ID: <20030117021904.GB14892@maine.com> On Fri, Jan 17, 2003 at 12:34:56PM +1030, Tim Stoakes wrote: > Hi, > > We're implementing a browser driven interface to setting up interchange catalogs. One of the steps involved in this is the makecat of course. I have written a wrapper that is suid the interchange user, that checks parameters etc. for safety. However, makecat is called from here as suid aswell, and it is giving me a lot of errors due to the forced -T mechanism. > > Has anyone got any solutions to this, other than me auditing makecat and making it -T safe? > > Or is what we are trying to do a crazy idea? reinventing cpanel? > > Thanks for the help > > Tim Stoakes > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From interchange-users@icdevgroup.org Thu Jan 16 21:44:00 2003 From: interchange-users@icdevgroup.org (Tim Stoakes) Date: Thu Jan 16 21:44:00 2003 Subject: [ic] suid makecat In-Reply-To: <20030117021904.GB14892@maine.com> References: <20030117123456.6f696ef2.tim@ehost.com.au> <20030117021904.GB14892@maine.com> Message-ID: <20030117131320.15cf9f26.tim@ehost.com.au> On Thu, 16 Jan 2003 21:19:05 -0500 cfm@maine.com wrote: > On Fri, Jan 17, 2003 at 12:34:56PM +1030, Tim Stoakes wrote: > > Hi, > > > > We're implementing a browser driven interface to setting up interchange catalogs. One of the steps involved in this is the makecat of course. I have written a wrapper that is suid the interchange user, that checks parameters etc. for safety. However, makecat is called from here as suid aswell, and it is giving me a lot of errors due to the forced -T mechanism. > > > > Has anyone got any solutions to this, other than me auditing makecat and making it -T safe? > > > > Or is what we are trying to do a crazy idea? > > reinventing cpanel? After hearing so many bad comments about CPanel we did not go down that road. This is just for internal use anyway, so that we can setup many catalogs quickly with inexperienced staff. -- Tim Stoakes From interchange-users@icdevgroup.org Thu Jan 16 21:47:01 2003 From: interchange-users@icdevgroup.org (Michael C. Ibarra) Date: Thu Jan 16 21:47:01 2003 Subject: FIXED -- Re: [ic] I Use VeriSign, Unable to Test with 4+1's... (more error info...) In-Reply-To: <1042757611.a4687cadd2a52@webmail.hawk.com> References: <1042693288.16203.5.camel@swanky.mdhome.net> <1042740350.1bbf57c573c05@webmail.hawk.com> <1042742884.a305bdea2f0e8@webmail.hawk.com> <1042748774.2db1a74f87b65@webmail.hawk.com> <1042756559.21662.3.camel@swanky.mdhome.net> <1042757611.a4687cadd2a52@webmail.hawk.com> Message-ID: <1042771695.3dba8b976a0ce@webmail.hawk.com> Fixed, added the following to ~interchange/catalogs/my_catalog/catalog.cfg and it works! If only I can test it for more than $1,000.00 :-) # Internationalization Locale en_US mon_thousands_sep , Locale en_US mon_decimal_point . Locale en_US p_cs_precedes 1 Locale en_US currency_symbol $ LocaleDatabase locale -mike Quoting "Michael C. Ibarra" : > > [snip] From interchange-users@icdevgroup.org Thu Jan 16 22:12:01 2003 From: interchange-users@icdevgroup.org (interchange-users@icdevgroup.org) Date: Thu Jan 16 22:12:01 2003 Subject: [ic] suid makecat In-Reply-To: <20030117131320.15cf9f26.tim@ehost.com.au> References: <20030117123456.6f696ef2.tim@ehost.com.au> <20030117021904.GB14892@maine.com> <20030117131320.15cf9f26.tim@ehost.com.au> Message-ID: <20030117031053.GC15113@maine.com> On Fri, Jan 17, 2003 at 01:13:20PM +1030, Tim Stoakes wrote: > On Thu, 16 Jan 2003 21:19:05 -0500 > cfm@maine.com wrote: > > On Fri, Jan 17, 2003 at 12:34:56PM +1030, Tim Stoakes wrote: > > > Hi, > > > > > > We're implementing a browser driven interface to setting up interchange catalogs. One of the steps involved in this is the makecat of course. I have written a wrapper that is suid the interchange user, that checks parameters etc. for safety. However, makecat is called from here as suid aswell, and it is giving me a lot of errors due to the forced -T mechanism. > > > > > > Has anyone got any solutions to this, other than me auditing makecat and making it -T safe? > > > > > > Or is what we are trying to do a crazy idea? > > > > reinventing cpanel? > > After hearing so many bad comments about CPanel we did not go down that road. This is just for internal use anyway, so that we can setup many catalogs quickly with inexperienced staff. Just for internal use with inexperienced staff. Stop. > > -- > Tim Stoakes > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Content/site management, online commerce, internet integration, Debian linux From interchange-users@icdevgroup.org Thu Jan 16 22:43:00 2003 From: interchange-users@icdevgroup.org (Tim Stoakes) Date: Thu Jan 16 22:43:00 2003 Subject: [ic] suid makecat In-Reply-To: <20030117031053.GC15113@maine.com> References: <20030117123456.6f696ef2.tim@ehost.com.au> <20030117021904.GB14892@maine.com> <20030117131320.15cf9f26.tim@ehost.com.au> <20030117031053.GC15113@maine.com> Message-ID: <20030117141212.7f9927d8.tim@ehost.com.au> On Thu, 16 Jan 2003 22:10:53 -0500 cfm@maine.com wrote: > On Fri, Jan 17, 2003 at 01:13:20PM +1030, Tim Stoakes wrote: > > On Thu, 16 Jan 2003 21:19:05 -0500 > > cfm@maine.com wrote: --snip-- > > > reinventing cpanel? > > > > After hearing so many bad comments about CPanel we did not go down that road. This is just for internal use anyway, so that we can setup many catalogs quickly with inexperienced staff. > > > Just for internal use with inexperienced staff. > > Stop. > Perhaps a rephrase: staff that are not using the root account or the interchange account. They will be shielded from doing anything else by the wrapper script, with the only parameters being the catalog name and template type (sanity checked of course). Most people *should* be able to handle that level of technical skill surely?! -- Tim Stoakes From interchange-users@icdevgroup.org Fri Jan 17 00:38:01 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Fri Jan 17 00:38:01 2003 Subject: [ic] suid makecat In-Reply-To: <20030117141212.7f9927d8.tim@ehost.com.au>; from tim@ehost.com.au on Fri, Jan 17, 2003 at 02:12:12PM +1030 References: <20030117123456.6f696ef2.tim@ehost.com.au> <20030117021904.GB14892@maine.com> <20030117131320.15cf9f26.tim@ehost.com.au> <20030117031053.GC15113@maine.com> <20030117141212.7f9927d8.tim@ehost.com.au> Message-ID: <20030117003731.A27548@bill.heins.net> Quoting Tim Stoakes (tim@ehost.com.au): > On Thu, 16 Jan 2003 22:10:53 -0500 > cfm@maine.com wrote: > > On Fri, Jan 17, 2003 at 01:13:20PM +1030, Tim Stoakes wrote: > > > On Thu, 16 Jan 2003 21:19:05 -0500 > > > cfm@maine.com wrote: > --snip-- > > > > reinventing cpanel? > > > > > > After hearing so many bad comments about CPanel we did not go down that road. This is just for internal use anyway, so that we can setup many catalogs quickly with inexperienced staff. > > > > > > Just for internal use with inexperienced staff. > > > > Stop. > > > > Perhaps a rephrase: staff that are not using the root account or the > interchange account. They will be shielded from doing anything else by > the wrapper script, with the only parameters being the catalog name > and template type (sanity checked of course). Most people *should* be > able to handle that level of technical skill surely?! > The way it has been done in the past is to actually have the IC server do it. It is not that hard, and there is even a piece in CVS that does it. Basically, you build a catalog that is AllowGlobal and place the procedure in a page. You authenticate via HTTP basic auth, and collect the information. Then you build the catalog by calling makecat. Since it is already running as the right user ID there are no issues with tainting. In fact, if you would make an eg/ style package with HOWTO I would give you a complete working install. Until then, I will just share the actual page that builds the catalog, though there is nothing too difficult there: @_UI_STD_HEAD_@ [tmp ui_failure][/tmp] [perl global=1] no strict; delete $Scratch->{restart}; delete $Scratch->{ui_failure}; if (! $CGI->{catname}) { $Scratch->{ui_failure} = "No catalog name given."; return; } my $catname = $CGI->{catname}; my $demotype = $CGI->{demotype} || 'cl_foundation'; my $demomode = $CGI->{demomode} || $Global::Variable->{SB_DEMOMODE} || 0; my $icuser = $Global::Variable->{SB_ICUSER} || `cat $Global::VendRoot/_uid` || `cat $Global::VendRoot/.uid` || getpwuid($]); my $icgrp = $Global::Variable->{SB_ICGROUP} || getgrgid( (getpwnam($icuser))[3] ); $icuser =~ s/\s+//g; my $catbase = $Global::Variable->{SB_CATBASE} || '/var/lib/interchange'; my $tmpbase = $Global::Variable->{SB_TMPBASE} || '/var/cache/interchange'; my $logbase = $Global::Variable->{SB_LOGBASE} || '/var/log/interchange'; my $icbase = $Global::Variable->{SB_ICBASE} || $Global::VendRoot; my $cgibase = $Global::Variable->{SB_CGIBASE} || '/cgi-bin'; my $cgidir = $Global::Variable->{SB_CGIDIR} || '/var/www/cgi-bin'; my $docroot = $Global::Variable->{SB_DOCROOT} || '/var/www/html'; my $sqluser = $Global::Variable->{SB_SQLUSER} || 'root'; my $sqlpass = $Global::Variable->{SB_SQLPASS} || ''; my $httpdconf = $Global::Variable->{SB_HTTPDCONF} || '/etc/httpd/conf/httpd.conf'; my $domain = $CGI->{domainname} || $Global::Variable->{SB_DOMAIN}; $catname = lc $catname; $catname =~ s/-/_/g; $catname =~ s/\W+//g; my $userstuff = $Global::AdminUser; $userstuff =~ s/\s*\n.*//s; my ($superuser, $specialcrypt) = split /:/, $userstuff; $Scratch->{go_url} = "$domain$cgibase/$catname"; if(defined $Global::Catalog{$_} and ! $CGI->{overwrite}) { $Scratch->{ui_failure} = "Catalog $catname already exists."; return; } push @args, "$Global::VendRoot/bin/makecat"; push @args, '-F', "--cgibase=$cgibase", "--basedir=$catbase", "--documentroot=$docroot", "--minivenduser=$icuser", "--minivendgroup=$icgrp", "--serverconf=$httpdconf", "--vendroot=$icbase", "--catroot=$catbase/$catname", "--cgidir=$cgidir", "--servername=$domain", "--cgiurl=$cgibase/$catname", "--demotype=$demotype", "--mailorderto=$icuser\@$domain", "--catuser=$icuser", # "mysql=1", "pgsql=1", "demomode=$demomode", "sqluser=$sqluser", "style=foundation", "cryptpw=$specialcrypt", "alreadycrypt=1", "superuser=$superuser", "logdir=$logbase/$catname", "cachedir=$tmpbase/$catname", "sampdatatype=none", "--permtype=user", "--samplehtml=$docroot/$catname", "--imagedir=$docroot/$catname/images", "--imageurl=/$catname/images", "--linkmode=UNIX", "--sampleurl=http://$domain/$catname", "--catalogname=$catname", ; if ($sqlpass) { push @args, "sqlpass=$sqlpass", "mysqlcreateopt='-u root -p'"; } else { push @args, "mysqlcreateopt='-u root'"; } my $command_line = join " ", @args; my $output = ''; #open(BUILD, "$command_line 2>/tmp/catman.err.$$ |") open(BUILD, "$command_line 2>&1 |") or die "can't fork: $!\n"; while() { $output .= $_; } close BUILD; if($?) { my $stat = $? >> 8; $output =~ s/^\s+//; $output =~ s/\s+$//; HTML::Entities::encode_entities($output); $output =~ s/\n/
\n/g; $Scratch->{ui_failure} = <Failed to build, status $stat

Command line was:

$command_line

Output was:

$output

EOT } else { $Scratch->{ui_message} = $output; sleep $Global::HouseKeeping || 3; sleep $Global::HouseKeeping || 3; $Scratch->{restart} = 1; } [/perl] [if !scratch ui_failure] [if scratch restart] [set restart][/set] [perl global=1] #my $out = `$Global::VendRoot/bin/restart`; my $out = `/usr/sbin/interchange -r`; #$Scratch->{bounce_out} = $out; $Scratch->{bounce_page} = '@@MV_PAGE@@'; return; [/perl] [/if] [bounce href="http://[scratch go_url]/admin/wizard/index?give_help=1"] [/if]

You can [page index]start over and hope things work out better next time.

@_UI_STD_FOOTER_@ -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Prove you aren't stupid. Say NO to Passport. From interchange-users@icdevgroup.org Fri Jan 17 01:38:01 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Fri Jan 17 01:38:01 2003 Subject: [ic] IC and MySQL not creating tables from makecat In-Reply-To: <000801c2bd75$d1da6790$2a00a8c0@frankmaestas> Message-ID: <000201c2bdf2$d27651a0$020110ac@majestic.cursor-software.co.uk> Frank Maestas [fmaestas@ttseagle.com] wrote: > > Using RedHat 8.0, Interchange 4.8.6, and MySQL 3.23.52. > > MySQL is running just fine. When using makecat to create the catalog > database, > makecat produces no errors, but there are no tables created. The database > name is there, but is empty. Have restarted IC and MySQL. Am using root and > a password for MySQL database creation when prompted. > > Is this a MySQL permissions issue or is there a "specific" Perl CPAN module > that I may be missing? > Makecat creates an empty database. Interchange will create and populate the appropriate tables when you (re)start. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Fri Jan 17 02:34:00 2003 From: interchange-users@icdevgroup.org (David Etheredge) Date: Fri Jan 17 02:34:00 2003 Subject: [ic] UPS charges not correct ( using wrong zip ? ) Message-ID: <001101c2bdfa$47e29320$05a2a2a2@david98> I am still having a severe problem with the UPS external (web) lookup. I have the shipping zip as 35006 and default zip as 35006, but the UPS still appears to be using the 450.csv for zone calculation or some other zip code table. I have been through the entire shipping setup and tables and can not find anywhere that the system is using anything wrong. Everything is set to 350. If it looks up a package for zip 35006 it sets zone 7 or 8 while it should be zone 2! It charges more to ship to my own zipcode and neighboring states than it does to the west coast! This is not a new problem, I checked back and it has existed since I started using Interchange. Also, how can I trap and log the data being sent to UPS and returned? Any ideas? From interchange-users@icdevgroup.org Fri Jan 17 04:08:16 2003 From: interchange-users@icdevgroup.org (TheDateRace) Date: Fri Jan 17 04:08:16 2003 Subject: [ic] passing a variable to mail_receipt Message-ID: I have the following code on receipt.html. How is it possible that I can get [value newuser] into mail_receipt? I can't seem to get the variable to pass. I have tried [value newuser] and [cgi newuser]. We have a unique setup and is hard to explain but our checkout must be setup like this. We are not using data sessions or userdb. ================= [item-list] [tmp] [query sql="select count(*) from customer where username = '[cgi uname]'" list=1] [seti user][sql-code][/seti] [if scratch user > 0] [value name="newuser" set="[cgi uname]_[value mv_order_number]"] [/if] [if scratch user < 1] [value name="newuser" set="[cgi uname]"] [/sql] [/if][/query] [/tmp] [/item-list] ================= Regards, Jim From interchange-users@icdevgroup.org Fri Jan 17 09:15:01 2003 From: interchange-users@icdevgroup.org (Kit Goins) Date: Fri Jan 17 09:15:01 2003 Subject: [ic] NEW- how to setup compare items/products Message-ID: I'm new to interchange...and i was wondering... Can interchange, be setup to display items/products clicked on, and then have those items compared by prices, or products in either the same catgory...or in different ones.??? If so, How do I do that...exactly??? Can someone either explain the step-by-step...or lead me to a easy tutuorial...about this. or walk me thru it on ICQ or a chatroom... please help me in this...I've been thru the docs...and help system...and it appears to me, that it can be done, somehow... via the search builder page app. but it's real confusing to me, seeing as I'm new to this. Get your Free E-mail at http://myispnetmail.zzn.com ___________________________________________________________ Get your own Web-based E-mail Service at http://www.zzn.com From interchange-users@icdevgroup.org Fri Jan 17 10:37:00 2003 From: interchange-users@icdevgroup.org (Brian Ellis) Date: Fri Jan 17 10:37:00 2003 Subject: [ic] Internal Server Error on the Design Tab Message-ID: <3E2822DC.2020406@saberlogic.com> I know this has been dealt with before, and I have read through every related post I could find but this has really got me pickled. Yes, I am running RedHat 8, but not apache 2. Currently, the server is running apache 1.3.27. But as you can see from the blurb I left below, I am using the new redhat version of perl (5.8.0) which I figure is where the problem stems. I would REALLY like to not have to reinstall perl as this will fsck up just about everything else on the server :) But anyways, back to the problem. As far as I can tell, the error only comes from the design tab. Like every body else, a quick trip into my apache's error log shows Premature end of script headers: /var/www/cgi-bin/ I dont see anything in any thing related in any of the interchange logs. I followed a patch that was posted a while ago: http://www.icdevgroup.org/pipermail/interchange-users/2002-August/024217.html But didnt do anything to help my cause. All I really saw different between the original version of tlink was in the send arguments there was an added "@ARGV=(join ' ',@ARGV)" which didnt make much sense to me but I am reaching toward desparate. I added that line in both my tlink.pl and my mod_perl_tlink.pl in my /usr/local/interchange/src/ which was the only place that I found those files. So I hope that I applied them correctly. Here is the information that I can gather from the interchange administration page: Interchange Server Information Interchange version 4.8.6 Interchange PID 8736 Interchange SUID User Last time server restarted Fri Jan 17 11:15:39 2003 Last time changes applied Fri Jan 17 11:15:39 2003 (apply now) Environment variables passed MOD_PERL Perl Information Perl Version Perl 5.8.0 (called with: /usr/bin/perl) Optional Module Information Digest::MD5 found (v2.20). LWP::Simple found (v1.36). MIME::Base64 found (v2.12). SQL::Statement found (v0.1021). Safe::Hole found (v0.08). Storable found (v2.06). Tie::Watch found (v1.0). URI::URL found (v5.03). Safe operations untrapped ftfile sort rand Database Information Database Interfaces GDBM available (v1.06) No Berkeley DB_File. DBI enabled (v1.32), available drivers: ADO ExampleP Multiplex Proxy mysql Database Tables 2ndDayAir Ground NextDayAir access affiliate area cat component country gift_certs ichelp icmenu inventory locale merchandising mv_metadata options order_returns orderline pricing products route state transactions userdb variable Has this problem been solved or am I pretty much stuck? Any help you can offer is greatly appreciated. Regards, -- Brian Ellis SaberLogic - Consultant 330.335.6442 www.saberlogic.com From interchange-users@icdevgroup.org Fri Jan 17 10:52:01 2003 From: interchange-users@icdevgroup.org (ACforSale Inc) Date: Fri Jan 17 10:52:01 2003 Subject: [ic] UPS charges not correct ( using wrong zip ? ) In-Reply-To: <001101c2bdfa$47e29320$05a2a2a2@david98> Message-ID: <000401c2be40$4a9d91a0$0b00a8c0@CCS> I am still having a severe problem with the UPS external (web) lookup. I have the shipping zip as 35006 and default zip as 35006, but the UPS still appears to be using the 450.csv for zone calculation or some other zip code table. I have been through the entire shipping setup and tables and can not find anywhere that the system is using anything wrong. Everything is set to 350. If it looks up a package for zip 35006 it sets zone 7 or 8 while it should be zone 2! It charges more to ship to my own zipcode and neighboring states than it does to the west coast! This is not a new problem, I checked back and it has existed since I started using Interchange. Also, how can I trap and log the data being sent to UPS and returned? Any ideas? _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users Check your variable table to see what the default zip there is set to. It should be set to your ship from zip. Gerry From interchange-users@icdevgroup.org Fri Jan 17 11:01:01 2003 From: interchange-users@icdevgroup.org (Brian Ellis) Date: Fri Jan 17 11:01:01 2003 Subject: [ic] Internal Server Error on the Design Tab In-Reply-To: <3E2822DC.2020406@saberlogic.com> References: <3E2822DC.2020406@saberlogic.com> Message-ID: <3E28288F.7070203@saberlogic.com> Brian Ellis wrote: > I know this has been dealt with before, and I have read through every > related post I could find but this has really got me pickled. > Yes, I am running RedHat 8, but not apache 2. Currently, the server is > running apache 1.3.27. But as you can see from the blurb I left below, > I am using the new redhat version of perl (5.8.0) which I figure is > where the problem stems. I would REALLY like to not have to reinstall > perl as this will fsck up just about everything else on the server :) > But anyways, back to the problem. As far as I can tell, the error > only comes from the design tab. Another part that I forgot, I installed all of the modules via CPAN. Basically I tried to install the Bundle::Interchange and also got all the rpm's for the perl modules and installed them from CPAN (I figured that there were some extras that would be nice). But like I said, everything was installed from CPAN. All of the stores are also using MySQL as there database backend. I've tried this on 3 seperate stores. I even had originally blamed a store that I had moved over and went through and deleted the store and recreated ( :( ) but obviously that wasnt the issue. Brian Ellis SaberLogic - Consultant 330.335.6442 www.saberlogic.com From interchange-users@icdevgroup.org Fri Jan 17 12:06:00 2003 From: interchange-users@icdevgroup.org (Gerry Kirk) Date: Fri Jan 17 12:06:00 2003 Subject: [ic] test - please ignore Message-ID: <3E282F9E.6020607@alumni.uwaterloo.ca> Testing a post via the gmane interface. - Gerry From interchange-users@icdevgroup.org Fri Jan 17 13:09:00 2003 From: interchange-users@icdevgroup.org (ACforSale Inc) Date: Fri Jan 17 13:09:00 2003 Subject: [ic] Revisiting Internal UPS Lookup In-Reply-To: <001101c2bdfa$47e29320$05a2a2a2@david98> Message-ID: <000901c2be53$6ccb21d0$0b00a8c0@CCS> I have still not had any success trying to get the Internal UPS Lookup function to return any shipping values. What I'm trying to do is have a lookup read up to and over the 150lbs limit that UPS has. To start with I'm using IC 4.9.3 under Cpanel. Here's what I have: In etc/after.cfg (unable to directly edit catalog.cfg) Database Ground Ground.csv CSV In shipping.asc (this is changed by using the UI and cannot be directly edited) INTGND Ground Shipping (48 States) weight 0 0 e Nothing to ship! {'ui_ship_type' => "UPSI",'zone' => "330",'table' => "Ground",'ups' => "1",'adder' => "4.50",'at_least' => "10.00",'PriceDivide' => "1",} INTGND Ground Shipping (48 States) weight 0 600 u Ground [default zip 33155] INTGND Ground Shipping (48 States) weight 601 9999999 e Please call for Shipping Quote NOTE: When I use INTGND as the DEFAULT_SHIP_MODE in variable database then I get this error on the checkout page "Note: No zone found for geo code Gro, type Ground" In 330 Zone file 330.csv Dest. ZIP,Ground,3 Day Select,2nd Day Air,2nd Day Air A.M.,Next Day Air Saver,Next Day Air 004-005,6,306,206,246,136,106 006-007,-,-,225,-,-,125 8,-,-,226,-,-,126 9,-,-,225,-,-,125 010-043,6,306,206,246,136,106 44,7,307,207,247,137,107 [snip] In Ground.csv Exceed,2,3,4,5,6,7,8 1,4.54,4.65,4.89,4.97,5.17,5.22,5.33 2,4.61,4.82,5.2,5.31,5.63,5.73,6.02 3,4.72,4.99,5.43,5.61,5.93,6.09,6.54 [snip] 600,244.91,306.29,366.29,428.69,494.9,558.98,627.13 If anyone can find out where there is something wrong please let me know. TIA Gerry From interchange-users@icdevgroup.org Fri Jan 17 13:31:01 2003 From: interchange-users@icdevgroup.org (interch) Date: Fri Jan 17 13:31:01 2003 Subject: [ic] suid makecat References: <20030117123456.6f696ef2.tim@ehost.com.au> <20030117021904.GB14892@maine.com> <20030117131320.15cf9f26.tim@ehost.com.au> <20030117031053.GC15113@maine.com> Message-ID: <002f01c2be56$8b41b7c0$0600a8c0@chris2> The way we automated our catalog setups, and a lot of other setups, is to run a setup daemon under daemontools as root that queries a database every few minutes. If there is an entry in the database with setup information for the catalog, run makecat with the correct options as root, flag the database that the account was setup. Makes the setup on the server easy no hassles with any suid scripts, and makes integrating with pretty much any type of front end easy. Chris ----- Original Message ----- From: To: Sent: Thursday, January 16, 2003 7:10 PM Subject: Re: [ic] suid makecat > On Fri, Jan 17, 2003 at 01:13:20PM +1030, Tim Stoakes wrote: > > On Thu, 16 Jan 2003 21:19:05 -0500 > > cfm@maine.com wrote: > > > On Fri, Jan 17, 2003 at 12:34:56PM +1030, Tim Stoakes wrote: > > > > Hi, > > > > > > > > We're implementing a browser driven interface to setting up interchange catalogs. One of the steps involved in this is the makecat of course. I have written a wrapper that is suid the interchange user, that checks parameters etc. for safety. However, makecat is called from here as suid aswell, and it is giving me a lot of errors due to the forced -T mechanism. > > > > > > > > Has anyone got any solutions to this, other than me auditing makecat and making it -T safe? > > > > > > > > Or is what we are trying to do a crazy idea? > > > > > > reinventing cpanel? > > > > After hearing so many bad comments about CPanel we did not go down that road. This is just for internal use anyway, so that we can setup many catalogs quickly with inexperienced staff. > > > Just for internal use with inexperienced staff. > > Stop. > > > > > -- > > Tim Stoakes > > _______________________________________________ > > interchange-users mailing list > > interchange-users@icdevgroup.org > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > > -- > > Christopher F. Miller, Publisher cfm@maine.com > MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 > 1.207.657.5078 http://www.maine.com/ > Content/site management, online commerce, internet integration, Debian linux > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Fri Jan 17 13:43:01 2003 From: interchange-users@icdevgroup.org (Brian Ellis) Date: Fri Jan 17 13:43:01 2003 Subject: [ic] Internal Server Error on the Design Tab In-Reply-To: <3E28288F.7070203@saberlogic.com> References: <3E2822DC.2020406@saberlogic.com> <3E28288F.7070203@saberlogic.com> Message-ID: <3E284E75.30100@saberlogic.com> > > >> I know this has been dealt with before, and I have read through every >> related post I could find but this has really got me pickled. >> Yes, I am running RedHat 8, but not apache 2. Currently, the server >> is running apache 1.3.27. But as you can see from the blurb I left >> below, I am using the new redhat version of perl (5.8.0) which I >> figure is where the problem stems. I would REALLY like to not have to >> reinstall perl as this will fsck up just about everything else on the >> server :) But anyways, back to the problem. As far as I can tell, >> the error only comes from the design tab. > > > I was looking through my error logs and came across this in one of my store error logs: 192.168.2.1 XH42xnBe:192.168.2.1 - [17/January/2003:10:31:05 -0500] bargainshack /cgi-bin/bargainshack/admin/layout.html setting col=link_type key=00002 = simple 192.168.2.1 XH42xnBe:192.168.2.1 - [17/January/2003:10:31:05 -0500] bargainshack /cgi-bin/bargainshack/admin/layout.html setting col=sort key=00002 = 05 192.168.2.1 XH42xnBe:192.168.2.1 - [17/January/2003:10:31:05 -0500] bargainshack /cgi-bin/bargainshack/admin/layout.html setting col=selector key=00002 = category=Boyd Glass 192.168.2.1 XH42xnBe:192.168.2.1 - [17/January/2003:10:31:05 -0500] bargainshack /cgi-bin/bargainshack/admin/layout.html setting col=sel key=00002 = 00002 192.168.2.1 XH42xnBe:192.168.2.1 - [17/January/2003:10:31:05 -0500] bargainshack /cgi-bin/bargainshack/admin/layout.html setting col=name key=00002 = Boyd Glass 192.168.2.1 XH42xnBe:192.168.2.1 - [17/January/2003:10:31:05 -0500] bargainshack /cgi-bin/bargainshack/admin/layout.html setting col=display_type key=00002 = name 192.168.2.1 XH42xnBe:192.168.2.1 - [17/January/2003:10:31:05 -0500] bargainshack /cgi-bin/bargainshack/admin/layout.html setting col=link_type key=00003 = simple 192.168.2.1 XH42xnBe:192.168.2.1 - [17/January/2003:10:31:05 -0500] bargainshack /cgi-bin/bargainshack/admin/layout.html setting col=sort key=00003 = 05 192.168.2.1 XH42xnBe:192.168.2.1 - [17/January/2003:10:31:05 -0500] bargainshack /cgi-bin/bargainshack/admin/layout.html setting col=selector key=00003 = category=Cat Nests 192.168.2.1 XH42xnBe:192.168.2.1 - [17/January/2003:10:31:05 -0500] bargainshack /cgi-bin/bargainshack/admin/layout.html setting col=sel key=00003 = 00003 192.168.2.1 XH42xnBe:192.168.2.1 - [17/January/2003:10:31:05 -0500] bargainshack /cgi-bin/bargainshack/admin/layout.html setting col=name key=00003 = Cat Nests 192.168.2.1 XH42xnBe:192.168.2.1 - [17/January/2003:10:31:05 -0500] bargainshack /cgi-bin/bargainshack/admin/layout.html setting col=display_type key=00003 = name I was wondering if there is anything in there that may help. The part that caught my eye the most was for example: col=link_type key=00002 = simple Is that last = normal? The reson I ask is that there is no variable setting that value to. This probably is completely irrelivant but I am just hoping for a miracle :) -- Brian Ellis SaberLogic - Consultant 330.335.6442 www.saberlogic.com From interchange-users@icdevgroup.org Fri Jan 17 14:16:01 2003 From: interchange-users@icdevgroup.org (Matt Kerner) Date: Fri Jan 17 14:16:01 2003 Subject: [ic] CyberCash Decryption Error In-Reply-To: <2385.216.200.97.45.1042664125.squirrel@mail.spinrx.com> Message-ID: <0DD9D6D5-2A50-11D7-BAD1-000393717580@showmeinteractive.com> I've jumped through many hurdles trying to get cybercash working and this is the latest. Encryption apparently works fine as the current error is: (cybercash): Charge failed, reason: Location: CCMckDirectLib3_2; Message: Decryption failed Here is what I have done so far: 1. Install MCK 3.2.0.4 2. Make required changes to .pm files 3. Make changes to the catalog.cfg (pointing to the merchant file) 4. Replace the MCKencrypt & MCKdecrypt binaries with binaries from the MCK 3.2.0.6 (the older ones don't run under RedHat 7.2 and newer). 5. Restart Interchange 6. Place an order with the test (4111111111111111) credit card number 7. Error message above. Migrating this client from CyberCash is not an option. Has anybody seen this error before? Is there any solution? Thanks, Kerner From interchange-users@icdevgroup.org Fri Jan 17 14:40:01 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Fri Jan 17 14:40:01 2003 Subject: [ic] suid makecat In-Reply-To: <002f01c2be56$8b41b7c0$0600a8c0@chris2> References: <20030117123456.6f696ef2.tim@ehost.com.au> <20030117021904.GB14892@maine.com> <20030117131320.15cf9f26.tim@ehost.com.au> <20030117031053.GC15113@maine.com> <002f01c2be56$8b41b7c0$0600a8c0@chris2> Message-ID: <20030117203845.672fd9c4.racke@linuxia.de> On Fri, 17 Jan 2003 10:30:41 -0800 "interch" wrote: > > The way we automated our catalog setups, and a lot of other setups, is to > run a setup daemon under daemontools as root that queries a database every > few minutes. If there is an entry in the database with setup information > for the catalog, run makecat with the correct options as root, flag the > database that the account was setup. Makes the setup on the server easy no > hassles with any suid scripts, and makes integrating with pretty much any > type of front end easy. > We use a similar setup for our hosting services and it is nice way to integrate things together. Some servers like Exim need no further setup, they can draw all informations from the database, others might need the generation of directories, configurations etc. Keeping all informations in a database is very useful for a multi-user/mulit-server setup. Bye Racke From interchange-users@icdevgroup.org Fri Jan 17 15:02:00 2003 From: interchange-users@icdevgroup.org (=?iso-8859-1?Q?Oliver_F=FCrst?=) Date: Fri Jan 17 15:02:00 2003 Subject: [ic] IClear Payment in germany Message-ID: <003b01c2be63$4533d620$0201a8c0@FOX.local> Hello List, I want to use the IClear Payment here in Germany. Has someone already done the payment module for interchange and can give me a sign where to get it ? I think I'm able to program this myself (my perl is better than my english :-) ), but I would like a hint where I can start! So the payment process looks like: 1. I have to open a page at the Payment Server with a special URL wich has the products and prices of the cart as a Parameter 2. The Payment Server will open an URL on my server whith the result of the payment process and the Adress of the customer (so I don't need to have them in Interchange) as Parameter . There could be 2 Answers : Payment Accepted or Denyed At the moment I have no idea where to start. It would be very helpfull if there was a Payment-module with the same functions I hope you can help Oliver From interchange-users@icdevgroup.org Fri Jan 17 15:18:00 2003 From: interchange-users@icdevgroup.org (Mark Langkau) Date: Fri Jan 17 15:18:00 2003 Subject: [ic] suid makecat Message-ID: <1042834610.3e2864b24c7ca@imeme.net> I'm interested in a web based catalog setup capability too. There are some Webmin modules out there, but for older versions of IC. I'm somewhat new to IC, but I'd be willing to help put a HOWTO doc together about this if I can get it to work. -- Mark Langkau mailto:mark@langkau.org Mike Heins wrote [msg to Tim Stoakes]: >In fact, if you would make an eg/ style package with HOWTO I would >give you a complete working install. Until then, I will just share >the actual page that builds the catalog, though there is nothing >too difficult there: From interchange-users@icdevgroup.org Fri Jan 17 15:22:01 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Fri Jan 17 15:22:01 2003 Subject: [ic] IClear Payment in germany In-Reply-To: <003b01c2be63$4533d620$0201a8c0@FOX.local> References: <003b01c2be63$4533d620$0201a8c0@FOX.local> Message-ID: <20030117212042.5cce3082.racke@linuxia.de> On Fri, 17 Jan 2003 21:01:48 +0100 Oliver Frst wrote: > Hello List, > > I want to use the IClear Payment here in Germany. > > Has someone already done the payment module for interchange and can give me > a sign where to get it ? > > I think I'm able to program this myself (my perl is better than my english > :-) ), but I would like a hint where I can start! > > So the payment process looks like: > > 1. I have to open a page at the Payment Server with a special URL wich has > the products and prices of the cart as a Parameter > > 2. The Payment Server will open an URL on my server whith the result of the > payment process and the Adress of the customer (so I don't need to have them > in Interchange) as Parameter . There could be 2 Answers : Payment Accepted > or Denyed Hallo, Oliver ! Die sogenannten "asynchronen" Payment-Gateways sind nicht so beliebt bei den Interchange-Programmierern, da sie die Behandlung unntig erschweren. Bietet IClear kein vernnftiges API ? Ansonsten sind die Paymentmodule fr erfahrene Programmierer keine harte Nu. Ciao Racke From interchange-users@icdevgroup.org Fri Jan 17 15:37:00 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Fri Jan 17 15:37:00 2003 Subject: [ic] IClear Payment in germany In-Reply-To: <20030117212042.5cce3082.racke@linuxia.de> References: <003b01c2be63$4533d620$0201a8c0@FOX.local> <20030117212042.5cce3082.racke@linuxia.de> Message-ID: <20030117213601.1bbfd492.racke@linuxia.de> On Fri, 17 Jan 2003 21:20:42 +0100 Stefan Hornburg wrote: > On Fri, 17 Jan 2003 21:01:48 +0100 > Oliver Frst wrote: > > > Hello List, > > > > I want to use the IClear Payment here in Germany. > > > > Has someone already done the payment module for interchange and can give me > > a sign where to get it ? > > > > I think I'm able to program this myself (my perl is better than my english > > :-) ), but I would like a hint where I can start! > > > > So the payment process looks like: > > > > 1. I have to open a page at the Payment Server with a special URL wich has > > the products and prices of the cart as a Parameter > > > > 2. The Payment Server will open an URL on my server whith the result of the > > payment process and the Adress of the customer (so I don't need to have them > > in Interchange) as Parameter . There could be 2 Answers : Payment Accepted > > or Denyed > > Hallo, Oliver ! > > Die sogenannten "asynchronen" Payment-Gateways sind nicht so beliebt bei den > Interchange-Programmierern, da sie die Behandlung unntig erschweren. > Bietet IClear kein vernnftiges API ? > > Ansonsten sind die Paymentmodule fr erfahrene Programmierer keine harte > Nu. Oops, wrong target. Please excuse. Ciao Racke From interchange-users@icdevgroup.org Fri Jan 17 15:44:01 2003 From: interchange-users@icdevgroup.org (Matthew Villa) Date: Fri Jan 17 15:44:01 2003 Subject: [ic] Use Checkboxes instead Message-ID: <004f01c2be69$225eb1f0$bb7ba8c0@webmaster> Hey everyone, I need to allow the user to select products by using checkboxes instead of typing the quantity amount in a text field. Anyone have any idea on how to do this? If so your comments will be appreciated. Matthew Villa From interchange-users@icdevgroup.org Fri Jan 17 16:02:00 2003 From: interchange-users@icdevgroup.org (Rene Hertell) Date: Fri Jan 17 16:02:00 2003 Subject: [ic] Use Checkboxes instead In-Reply-To: <004f01c2be69$225eb1f0$bb7ba8c0@webmaster> Message-ID: > Hey everyone, > > I need to allow the user to select products by using checkboxes instead > of typing the quantity amount in a text field. Anyone have any idea on > how to do this? If so your comments will be appreciated. Why don't you use a select-box? regards, Rene From interchange-users@icdevgroup.org Fri Jan 17 16:19:00 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Fri Jan 17 16:19:00 2003 Subject: [ic] Use Checkboxes instead In-Reply-To: <004f01c2be69$225eb1f0$bb7ba8c0@webmaster> Message-ID: <000001c2be6d$e4478400$020110ac@majestic.cursor-software.co.uk> Matthew Villa [matt@1percent.com] wrote: > > I need to allow the user to select products by using checkboxes instead > of typing the quantity amount in a text field. Anyone have any idea on > how to do this? If so your comments will be appreciated. > What have you tried so far? It doesn't seem too difficult to me. A checkbox either sends a value or it doesn't. A checkbox that sends a qty of 1 should do the trick. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Fri Jan 17 16:22:01 2003 From: interchange-users@icdevgroup.org (David Zhang) Date: Fri Jan 17 16:22:01 2003 Subject: [ic] Use Checkboxes instead In-Reply-To: <004f01c2be69$225eb1f0$bb7ba8c0@webmaster> Message-ID: -----Original Message----- From: interchange-users-admin@icdevgroup.org Subject: [ic] Use Checkboxes instead Hey everyone, I need to allow the user to select products by using checkboxes instead of typing the quantity amount in a text field. Anyone have any idea on how to do this? If so your comments will be appreciated. Matthew Villa _______________________________________________ replace the text input field with checkboxes. I don;t know how you are going to handle multiple checked checkboxes, though, say, 2, 5, 10 at the same time. How many do they want to buy? You also need to work on variable names, since each checkbox should have a unique name, while there is only one variable for buying quanity. David ---------------------------------------------- dzhang@msihosting.com http://www.msihosting.com Export -- Ecommerce solution, interchange hosting From interchange-users@icdevgroup.org Fri Jan 17 16:23:00 2003 From: interchange-users@icdevgroup.org (Billy J. Mayberry) Date: Fri Jan 17 16:23:00 2003 Subject: [ic] CyberCash Decryption Error References: <0DD9D6D5-2A50-11D7-BAD1-000393717580@showmeinteractive.com> Message-ID: <006701c2be6d$3a39e2a0$0800a8c0@billy> ----- Original Message ----- From: "Matt Kerner" To: Sent: Friday, January 17, 2003 2:15 PM Subject: [ic] CyberCash Decryption Error > I've jumped through many hurdles trying to get cybercash working and > this is the latest. > > Encryption apparently works fine as the current error is: > (cybercash): Charge failed, reason: Location: CCMckDirectLib3_2; > Message: Decryption failed > > Here is what I have done so far: > 1. Install MCK 3.2.0.4 > 2. Make required changes to .pm files > 3. Make changes to the catalog.cfg (pointing to the merchant file) > 4. Replace the MCKencrypt & MCKdecrypt binaries with binaries from the > MCK 3.2.0.6 (the older ones don't run under RedHat 7.2 and newer). > 5. Restart Interchange > 6. Place an order with the test (4111111111111111) credit card number > 7. Error message above. > > Migrating this client from CyberCash is not an option. Has anybody > seen this error before? Is there any solution? > > Thanks, > Kerner > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > I have seen this error usually on the encyrpt part. If you go to our demo store at http://secure.thecomputercorner.com/demo2 and place an order it will do everthing this is on a rh 8.0 and ic 4.9.3 and cybercash 3.2.0.4 and it works fine. I had the same problem with the newer versions of cybercash and it was will the encyrpt not decyrpt. If you need some help call me at 740-383-4919 ext 10 and I can walk you through what we had to do. But it works fine on our end. Hope this will help... Bill From interchange-users@icdevgroup.org Fri Jan 17 16:27:00 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Fri Jan 17 16:27:00 2003 Subject: [ic] Use Checkboxes instead References: <004f01c2be69$225eb1f0$bb7ba8c0@webmaster> Message-ID: <007001c2be6e$1ab5d780$0a01000a@badtzmaru.com> > I need to allow the user to select products by using checkboxes instead > of typing the quantity amount in a text field. Anyone have any idea on > how to do this? If so your comments will be appreciated. I suspect if you set the name of the checkbox to the same thing that the quantity value is currently named and set the value of the checkbox to "1" it might do what you want. Jeff From interchange-users@icdevgroup.org Fri Jan 17 16:30:01 2003 From: interchange-users@icdevgroup.org (Matthew Villa) Date: Fri Jan 17 16:30:01 2003 Subject: [ic] Use Checkboxes instead In-Reply-To: Message-ID: <005a01c2be6f$9f129e40$bb7ba8c0@webmaster> > Why don't you use a select-box? > It's for a cross-sell message to allow customers to add additional products to their order by using checkboxes. For example, if you purchase a portable cd player you may want to add batteries, headphones or even a cd cleaning kit. So, then they will be able to check off which accessories they want to add on the same page that displays the product. Matthew From interchange-users@icdevgroup.org Fri Jan 17 16:44:01 2003 From: interchange-users@icdevgroup.org (Michael Goldfarb) Date: Fri Jan 17 16:44:01 2003 Subject: [ic] Use Checkboxes instead In-Reply-To: <005a01c2be6f$9f129e40$bb7ba8c0@webmaster> Message-ID: <000101c2be71$6a8d6b30$1e01a8c0@mrblondelaptop> >> Why don't you use a select-box? >> > >It's for a cross-sell message to allow customers to add additional >products to their order by using checkboxes. For example, if you >purchase a portable cd player you may want to add batteries, headphones >or even a cd cleaning kit. So, then they will be able to check off which >accessories they want to add on the same page that displays the product. > >Matthew We did this in a pretty cool way using the UpSell Feature. I don't remember how much modification I did to this code before this final version, but it looks like you can just plug this right into the UpSell Component file. It will display the item of the page the person is on as well as any items that are associated as UpSell items for that product. It will list a column with checkboxes that people can check to add them to the order. I don't know if this is the best solution, but it has worked well for a lot of our clients. Just make sure the following variables are included near the top of your flypage.html file: [set upsell][item-data merchandising upsell_to][/set] [seti main_item][item-code][/seti] [seti main_title][item-field description][/seti] [seti main_price][currency][item-field price][/currency][/seti] (Sorry about the font colors that are given... I was lazy and didn't do this version with the Foundation theme.cfg) ------------------------------------------------------------------------ -- [if scratch upsell]
 Associated Items
[loop random="[control size 15]" list="[scratchd upsell]"] [/loop]
Add Pic Item Price
   [scratch main_title] - (current item) [scratch main_price]
 [loop-description] - [loop-field introdesc] [loop-price]

[/if] [seti main_item][/seti] [seti main_title][/seti] [seti main_price][/seti] From interchange-users@icdevgroup.org Fri Jan 17 16:47:00 2003 From: interchange-users@icdevgroup.org (Matthew Villa) Date: Fri Jan 17 16:47:00 2003 Subject: [ic] Use Checkboxes instead In-Reply-To: <000001c2be6d$e4478400$020110ac@majestic.cursor-software.co.uk> Message-ID: <005d01c2be71$c10509f0$bb7ba8c0@webmaster> > It doesn't seem too difficult to me. A checkbox either sends > a value or it doesn't. A checkbox that sends a qty of 1 > should do the trick. It doesn't work with IC. Regardless if the form element is checked or not, its added the additional items to the cart. From interchange-users@icdevgroup.org Fri Jan 17 17:00:01 2003 From: interchange-users@icdevgroup.org (Michael Goldfarb) Date: Fri Jan 17 17:00:01 2003 Subject: [ic] Use Checkboxes instead In-Reply-To: <005a01c2be6f$9f129e40$bb7ba8c0@webmaster> Message-ID: <000b01c2be73$a16284e0$1e01a8c0@mrblondelaptop> >> Why don't you use a select-box? >> > >It's for a cross-sell message to allow customers to add additional >products to their order by using checkboxes. For example, if you >purchase a portable cd player you may want to add batteries, headphones >or even a cd cleaning kit. So, then they will be able to check off which >accessories they want to add on the same page that displays the product. > >Matthew I forgot in my last post that you will obviously need this on your Flypage.html file where you want the UpSell Component to be dropped in: [include file="templates/components/upsell" group=content][control] From interchange-users@icdevgroup.org Fri Jan 17 17:10:01 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Fri Jan 17 17:10:01 2003 Subject: [ic] Use Checkboxes instead In-Reply-To: <007001c2be6e$1ab5d780$0a01000a@badtzmaru.com>; from jeff@badtz-maru.com on Fri, Jan 17, 2003 at 04:19:20PM -0500 References: <004f01c2be69$225eb1f0$bb7ba8c0@webmaster> <007001c2be6e$1ab5d780$0a01000a@badtzmaru.com> Message-ID: <20030117170927.A3985@bill.heins.net> Quoting Jeff Dafoe (jeff@badtz-maru.com): > > I need to allow the user to select products by using checkboxes instead > > of typing the quantity amount in a text field. Anyone have any idea on > > how to do this? If so your comments will be appreciated. > > I suspect if you set the name of the checkbox to the same thing that the > quantity value is currently named and set the value of the checkbox to "1" > it might do what you want. > Thus we have the problem with checkboxes -- they are simply not sent if not checked. Therefore, you can't do: Both will be ordered no matter what. The only solution is to introduce some protocol of your own. Luckily with IC and ActionMap, this is extremely easy to do. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From interchange-users@icdevgroup.org Fri Jan 17 17:12:00 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Fri Jan 17 17:12:00 2003 Subject: [ic] Use Checkboxes instead In-Reply-To: <005d01c2be71$c10509f0$bb7ba8c0@webmaster> References: <000001c2be6d$e4478400$020110ac@majestic.cursor-software.co.uk> <005d01c2be71$c10509f0$bb7ba8c0@webmaster> Message-ID: <20030117231016.26c91851.racke@linuxia.de> On Fri, 17 Jan 2003 13:45:29 -0800 "Matthew Villa" wrote: > > > It doesn't seem too difficult to me. A checkbox either sends > > a value or it doesn't. A checkbox that sends a qty of 1 > > should do the trick. > > It doesn't work with IC. Regardless if the form element is checked or > not, its added the additional items to the cart. Well, I did the following on the search results page of http://www.materialboerse.de/:
For any product a checkbox: The mv_click code: [set addtobasket] [perl table=component] $CGI->{mv_order_quantity} = join ("\0", map{$Tag->field('count', $_)} @{$CGI_array->{mv_order_item}}); [/perl] [/set] Bye Racke From interchange-users@icdevgroup.org Fri Jan 17 17:21:00 2003 From: interchange-users@icdevgroup.org (Brendan Crosser-McGay) Date: Fri Jan 17 17:21:00 2003 Subject: [ic] Order Status: Deleted and Archived In-Reply-To: <000b01c2be73$a16284e0$1e01a8c0@mrblondelaptop> Message-ID: I was looking over the shipping status section of the administration menus, and it seems there is a bug with the "Deleted" entry, I'm not entirely sure what this space is for, but it lets you update this number to anything you want, and it doesn't increment when you delete an order (like it appears to function). The archive number does increment sometimes, when you archive an order however. I just thought I would point this out, and also was just kind of interested in what exactly the "Deleted" and "Archived" entries are for. -Brendan From interchange-users@icdevgroup.org Fri Jan 17 17:41:01 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Fri Jan 17 17:41:01 2003 Subject: [ic] Order Status: Deleted and Archived References: Message-ID: <001301c2be78$7d4f57e0$0a01000a@badtzmaru.com> > I was looking over the shipping status section of the administration menus, > and it seems there is a bug with the "Deleted" entry, I'm not entirely sure > what this space is for, but it lets you update this number to anything you > want, and it doesn't increment when you delete an order (like it appears to > function). The archive number does increment sometimes, when you archive an > order however. I just thought I would point this out, and also was just > kind of interested in what exactly the "Deleted" and "Archived" entries are > for. They are boolean values, either 0 or 1. If you are in the order section of the admin menus and you press the X to delete an order, the "delete" value is set to 1 and the order doesn't show up anymore. Appropriately, the order isn't actually deleted, though, it's just stored with the deleted field set to 1. Jeff From interchange-users@icdevgroup.org Fri Jan 17 17:49:00 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Fri Jan 17 17:49:00 2003 Subject: [ic] Use Checkboxes instead In-Reply-To: <20030117170927.A3985@bill.heins.net> Message-ID: <000101c2be7a$846b3060$020110ac@majestic.cursor-software.co.uk> Mike Heins [mike@perusion.com] wrote: > Quoting Jeff Dafoe (jeff@badtz-maru.com): > > > > I suspect if you set the name of the checkbox to the same thing that the > > quantity value is currently named and set the value of the checkbox to "1" > > it might do what you want. > > > Thus we have the problem with checkboxes -- they are simply not sent > if not checked. > > Therefore, you can't do: > > > > > > > > Both will be ordered no matter what. > > The only solution is to introduce some protocol of your own. Luckily > with IC and ActionMap, this is extremely easy to do. > The following test code works for me: foo:
bar:

The quantity defaults to one so it doesn't need to be specified. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Fri Jan 17 17:56:00 2003 From: interchange-users@icdevgroup.org (=?iso-8859-1?Q?Paco_S=E1nchez?=) Date: Fri Jan 17 17:56:00 2003 Subject: [ic] Currencies and PayPal References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS> <00ac01c2bc9a$f743db00$95824fd4@europa> <3E2570AC.8070603@leidinger.net> Message-ID: <006901c2be7b$7a1ef820$d4834fd4@europa> > > Did you try with > > [tmp noformat_cost][total-cost noformat=1][/tmp] > Hello Joachim, thanks for your reply. Bases on your suggestion I have developed the following formula: [tmp noformat_cost][calc](int([total-cost noformat=1]*100)+1)/100[/calc][/tmp] Since your original idea results in a number with several decima places when changing currencies (for example 14.493284543), I have done this to cut decimals to only two (14.49 in the example). However, there is still a problem with this. Sometimes, if, say, you get something like 14.70, it is shown as 14.7, which results in a failure at the Paypal page, as they require two decimals formatting. Any ideas on how to resolve this? > and work with > > [if scratch mv_locale =~ /en_US/] > do something ...etc. > At this point I have used the following: [if scratch mv_currency =~ /en_US/] [elsif scratch mv_currency =~ /eur_EUR/][/elsif][/if] which works fine. Thanks for the tip. Best regards. Paco Snchez http://pacosanchez.com mailto:psanchez%40pacosanchez%2ecom ICQ 101879542 Visit our electronics shop at http://www.opentronics.com Check SIM+ at http://simplus.gsmeuropa.com Up to 8 phone lines in a single GSM phone. From interchange-users@icdevgroup.org Fri Jan 17 18:30:01 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Fri Jan 17 18:30:01 2003 Subject: [ic] Currencies and PayPal In-Reply-To: <006901c2be7b$7a1ef820$d4834fd4@europa> References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS> <00ac01c2bc9a$f743db00$95824fd4@europa> <3E2570AC.8070603@leidinger.net> <006901c2be7b$7a1ef820$d4834fd4@europa> Message-ID: <20030118002818.25cb3130.racke@linuxia.de> On Fri, 17 Jan 2003 23:45:26 +0100 Paco Snchez wrote: > > > > > Did you try with > > > > [tmp noformat_cost][total-cost noformat=1][/tmp] > > > > Hello Joachim, thanks for your reply. > > Bases on your suggestion I have developed the following formula: > > [tmp noformat_cost][calc](int([total-cost > noformat=1]*100)+1)/100[/calc][/tmp] > > Since your original idea results in a number with several decima places when > changing currencies (for example 14.493284543), I have done this to cut > decimals to only two (14.49 in the example). However, there is still a > problem with this. Sometimes, if, say, you get something like 14.70, it is > shown as 14.7, which results in a failure at the Paypal page, as they > require two decimals formatting. Any ideas on how to resolve this? [calc]sprintf('%.2f', [total-cost noformat=1]);[/calc] Ciao Racke From interchange-users@icdevgroup.org Fri Jan 17 19:10:01 2003 From: interchange-users@icdevgroup.org (marty) Date: Fri Jan 17 19:10:01 2003 Subject: [ic] Revisiting Internal UPS Lookup In-Reply-To: <000901c2be53$6ccb21d0$0b00a8c0@CCS> References: <000901c2be53$6ccb21d0$0b00a8c0@CCS> Message-ID: <1042848746.6416.2.camel@swanky.mdhome.net> On Fri, 2003-01-17 at 10:08, ACforSale Inc wrote: > I have still not had any success trying to get the Internal UPS Lookup > function to return any shipping values. What I'm trying to do is have a > lookup read up to and over the 150lbs limit that UPS has. > > To start with I'm using IC 4.9.3 under Cpanel. > > Here's what I have: > In etc/after.cfg (unable to directly edit catalog.cfg) > > Database Ground Ground.csv CSV Do you have an entry for your zone file? UPSZoneFile products/330.csv > > In shipping.asc (this is changed by using the UI and cannot be directly > edited) > INTGND Ground Shipping (48 States) weight 0 0 e > Nothing to ship! {'ui_ship_type' => "UPSI",'zone' => > "330",'table' => "Ground",'ups' => "1",'adder' => "4.50",'at_least' => > "10.00",'PriceDivide' => "1",} > INTGND Ground Shipping (48 States) weight 0 600 u Ground > [default zip 33155] > INTGND Ground Shipping (48 States) weight 601 9999999 e Please > call for Shipping Quote > > NOTE: When I use INTGND as the DEFAULT_SHIP_MODE in variable database > then I get this error on the checkout page "Note: No zone found for geo > code Gro, type Ground" > > In 330 Zone file 330.csv > Dest. ZIP,Ground,3 Day Select,2nd Day Air,2nd Day Air A.M.,Next Day Air > Saver,Next Day Air > 004-005,6,306,206,246,136,106 > 006-007,-,-,225,-,-,125 > 8,-,-,226,-,-,126 > 9,-,-,225,-,-,125 > 010-043,6,306,206,246,136,106 > 44,7,307,207,247,137,107 > [snip] > > In Ground.csv > > Exceed,2,3,4,5,6,7,8 > 1,4.54,4.65,4.89,4.97,5.17,5.22,5.33 > 2,4.61,4.82,5.2,5.31,5.63,5.73,6.02 > 3,4.72,4.99,5.43,5.61,5.93,6.09,6.54 > [snip] > 600,244.91,306.29,366.29,428.69,494.9,558.98,627.13 > > If anyone can find out where there is something wrong please let me > know. > > TIA > > Gerry -- marty From interchange-users@icdevgroup.org Fri Jan 17 19:38:00 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Fri Jan 17 19:38:00 2003 Subject: [ic] Return Click Bar References: <3E224694.9E59912E@attglobal.net> <3E24C753.79D890AD@attglobal.net> <004801c2bc4d$a41f17c0$0a01000a@badtzmaru.com> <3E24ED6A.B37508E2@attglobal.net> Message-ID: <003d01c2be88$b3b04aa0$0a01000a@badtzmaru.com> > The searches are currently related to either the prod_group or > category column from the products tables, or a combination of > the two columns. Beyond that there would be, as you mentioned, > the product detail page. In that case I would assume that would > not require a link back to it, but would want to display the links > to get back to where they came from. So if on a detail (flypage) > then would see something like. > > HomeLink -> prod_groupLink -> categoryLink -> SkuNonLink > > If they went straight from front page to a detail page then would show > > HomeLink -> SkuNonLink > > Does that make sense ? I've seen this feature on web sites, but > can't recall one now that I'm looking for it, and I thought some has > done this in IC. What is prod_groupLink a link to? Do you have a landing page for each category, or is it a direct search link? I have done this a couple of ways. One way, we had two layers of navigation, main category (prod_group) and subcategory (category). As users navigated to the landing pages for the categories and subcategories, we set scratch variables to indicate what pages the user had passed through. Another way I have done this is by taking apart the last search and looking at the prod_group and category search values. Jeff From interchange-users@icdevgroup.org Fri Jan 17 20:16:01 2003 From: interchange-users@icdevgroup.org (Jon) Date: Fri Jan 17 20:16:01 2003 Subject: [ic] Return Click Bar References: <3E224694.9E59912E@attglobal.net> <3E24C753.79D890AD@attglobal.net> <004801c2bc4d$a41f17c0$0a01000a@badtzmaru.com> <3E24ED6A.B37508E2@attglobal.net> <003d01c2be88$b3b04aa0$0a01000a@badtzmaru.com> Message-ID: <3E28AA9F.681CCF76@attglobal.net> > > The searches are currently related to either the prod_group or > > category column from the products tables, or a combination of > > the two columns. Beyond that there would be, as you mentioned, > > the product detail page. In that case I would assume that would > > not require a link back to it, but would want to display the links > > to get back to where they came from. So if on a detail (flypage) > > then would see something like. > > > > HomeLink -> prod_groupLink -> categoryLink -> SkuNonLink > > > > If they went straight from front page to a detail page then would show > > > > HomeLink -> SkuNonLink > > > > Does that make sense ? I've seen this feature on web sites, but > > can't recall one now that I'm looking for it, and I thought some has > > done this in IC. > > What is prod_groupLink a link to? Do you have a landing page for each > category, or is it a direct search link? > > I have done this a couple of ways. One way, we had two layers of > navigation, main category (prod_group) and subcategory (category). As users > navigated to the landing pages for the categories and subcategories, we set > scratch variables to indicate what pages the user had passed through. > Another way I have done this is by taking apart the last search and > looking at the prod_group and category search values. > In that regard I'm pretty much like foundation and pretty much as you described. I'm using the prod_group as a brand and the category as a product type. Otherwise it is straight from the category_vertical component with only presentation changes. I need to get more in tune with IC, the idea of setting a scratch variable, I guess in the component, makes sense. Do I have that right ? Your other way; taking apart the last search, how do you do that exactly ?? I've tried dumping the scratch area and I don't see it in there. I must be looking in the wrong place. Even if I try the above suggestion I'd really like to know how to get access to the last search. Thank again, Jon From interchange-users@icdevgroup.org Fri Jan 17 21:46:01 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Fri Jan 17 21:46:01 2003 Subject: [ic] Return Click Bar References: <3E224694.9E59912E@attglobal.net> <3E24C753.79D890AD@attglobal.net> <004801c2bc4d$a41f17c0$0a01000a@badtzmaru.com> <3E24ED6A.B37508E2@attglobal.net> <003d01c2be88$b3b04aa0$0a01000a@badtzmaru.com> <3E28AA9F.681CCF76@attglobal.net> Message-ID: <004901c2be9a$94e87ae0$0a01000a@badtzmaru.com> > In that regard I'm pretty much like foundation and pretty much as > you described. I'm using the prod_group as a brand and the category > as a product type. Otherwise it is straight from the category_vertical > component with only presentation changes. I need to get more in tune > with IC, the idea of setting a scratch variable, I guess in the component, > makes sense. Do I have that right ? Well, on the site that I set the scratch variables while passing through landing pages, there were separate html pages for each prod_group and then again for each category, so we just did a "set" command at the top of the page. > Your other way; taking apart the last search, how do you do that > exactly ?? I've tried dumping the scratch area and I don't see it in > there. I must be looking in the wrong place. Even if I try the above > suggestion I'd really like to know how to get access to the last > search. [if session last_search =~ /products/] [seti lastsearch][data session last_search][/seti] [/if] Put that at the very top of your results.page . The if statement is a ghetto solution to keep lastsearch from being set to something we don't really want when on result pages past the first (the "more" system). You will then be able to access the lastsearch value as a scratch variable. The complexity is that the lastsearch variable will contain the entire search string (basically as it appears in the url) and you have to use perl's "split" and/or regular expressions to take out the parameters you are looking for. Jeff From interchange-users@icdevgroup.org Fri Jan 17 21:56:00 2003 From: interchange-users@icdevgroup.org (Cameron) Date: Fri Jan 17 21:56:00 2003 Subject: [ic] IClear Payment in germany References: <003b01c2be63$4533d620$0201a8c0@FOX.local> Message-ID: <058401c2be9c$c24c4870$0100a8c0@spankmaster> It seems there's a lot of card processing facilities that act in this fashion, and i don't like it either. The only conceivable way of getting this to work that i can think of (being the interchange non-expert that i am) is to on the Success page that you get returned to, manually insert the order into the db. This is obviously less than ideal... Maybe someone else knows of a nicer way to do it? My first idea was to write a perl LWP wrapper around the entire submission process, so that the client never has to see the submit, and i can then merely adapt the Signio payment module - the only problem is that my payment gateway will ban too many connections from the one IP address - so unless i proxy it through a whole bunch of anonymizers, i'm kinda out of luck... :/ ----- Original Message ----- From: "Oliver Frst" To: Sent: Saturday, January 18, 2003 4:01 AM Subject: [ic] IClear Payment in germany > Hello List, > > I want to use the IClear Payment here in Germany. > > Has someone already done the payment module for interchange and can give me > a sign where to get it ? > > I think I'm able to program this myself (my perl is better than my english > :-) ), but I would like a hint where I can start! > > So the payment process looks like: > > 1. I have to open a page at the Payment Server with a special URL wich has > the products and prices of the cart as a Parameter > > 2. The Payment Server will open an URL on my server whith the result of the > payment process and the Adress of the customer (so I don't need to have them > in Interchange) as Parameter . There could be 2 Answers : Payment Accepted > or Denyed > > At the moment I have no idea where to start. It would be very helpfull if > there was a Payment-module with the same functions > > I hope you can help > > Oliver > > > > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Fri Jan 17 22:42:01 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Fri Jan 17 22:42:01 2003 Subject: [ic] Use Checkboxes instead In-Reply-To: <000101c2be7a$846b3060$020110ac@majestic.cursor-software.co.uk>; from kevin@cursor.biz on Fri, Jan 17, 2003 at 10:48:13PM -0000 References: <20030117170927.A3985@bill.heins.net> <000101c2be7a$846b3060$020110ac@majestic.cursor-software.co.uk> Message-ID: <20030117224129.A6588@bill.heins.net> Quoting Kevin Walsh (kevin@cursor.biz): > Mike Heins [mike@perusion.com] wrote: > > Quoting Jeff Dafoe (jeff@badtz-maru.com): > > > > > > I suspect if you set the name of the checkbox to the same thing that the > > > quantity value is currently named and set the value of the checkbox to "1" > > > it might do what you want. > > > > > Thus we have the problem with checkboxes -- they are simply not sent > > if not checked. > > > > Therefore, you can't do: > > > > > > > > > > > > > > > > Both will be ordered no matter what. > > > > The only solution is to introduce some protocol of your own. Luckily > > with IC and ActionMap, this is extremely easy to do. > > > The following test code works for me: > >
> > foo:
> bar:
>
>
> > The quantity defaults to one so it doesn't need to be specified. > That is correct. The problem is that you can't put quantities in.... -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From interchange-users@icdevgroup.org Sat Jan 18 00:53:01 2003 From: interchange-users@icdevgroup.org (Jon) Date: Sat Jan 18 00:53:01 2003 Subject: [ic] Return Click Bar References: <3E224694.9E59912E@attglobal.net> <3E24C753.79D890AD@attglobal.net> <004801c2bc4d$a41f17c0$0a01000a@badtzmaru.com> <3E24ED6A.B37508E2@attglobal.net> <003d01c2be88$b3b04aa0$0a01000a@badtzmaru.com> <3E28AA9F.681CCF76@attglobal.net> <004901c2be9a$94e87ae0$0a01000a@badtzmaru.com> Message-ID: <3E28EB8F.CE5F55B0@attglobal.net> > > In that regard I'm pretty much like foundation and pretty much as > > you described. I'm using the prod_group as a brand and the category > > as a product type. Otherwise it is straight from the category_vertical > > component with only presentation changes. I need to get more in tune > > with IC, the idea of setting a scratch variable, I guess in the component, > > makes sense. Do I have that right ? > > Well, on the site that I set the scratch variables while passing through > landing pages, there were separate html pages for each prod_group and then > again for each category, so we just did a "set" command at the top of the > page. Is there a column/field in a table to define the html page for IC to pick it up automatically ? > > > > Your other way; taking apart the last search, how do you do that > > exactly ?? I've tried dumping the scratch area and I don't see it in > > there. I must be looking in the wrong place. Even if I try the above > > suggestion I'd really like to know how to get access to the last > > search. > > [if session last_search =~ /products/] > [seti lastsearch][data session last_search][/seti] > [/if] > > Put that at the very top of your results.page . The if statement is a > ghetto solution to keep lastsearch from being set to something we don't > really want when on result pages past the first (the "more" system). You > will then be able to access the lastsearch value as a scratch variable. The > complexity is that the lastsearch variable will contain the entire search > string (basically as it appears in the url) and you have to use perl's > "split" and/or regular expressions to take out the parameters you are > looking for. > Oh thank you so much. I'm been trying to figure out how to grab the search URL for a while. None of my searches came up with anything. I should be able to grab some split code from some where and then do some figuring. Thanks again. Jon From interchange-users@icdevgroup.org Sat Jan 18 01:47:00 2003 From: interchange-users@icdevgroup.org (marco simonelli) Date: Sat Jan 18 01:47:00 2003 Subject: [ic] Photo gallery In-Reply-To: <004901c2be9a$94e87ae0$0a01000a@badtzmaru.com> Message-ID: <20C8C2C4-2AB0-11D7-874A-003065E2A992@kc.rr.com> Hi to everybody. I'm new to Interchange and I've my website developed with typo3 . I'm trying to implement a shopping area and Interchange is, what I've been told, the best. What I'd like to accomplish is, after spent some hours over the manuals, to create an event portrait photography catalog, where instead of products are pictures and instead of Area sections and Categories are groups of Photos of the same event/family. Would it be cool to have a log in for each category/group of photos, but that's probably too much. If anybody has done something like that before, I would love to have some hints about where to start from and which of the manuals I'd better memorize. Also something like: forget about it, kind of answer, would be appreciated. Thank you very much. Marco From interchange-users@icdevgroup.org Sat Jan 18 01:50:01 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Sat Jan 18 01:50:01 2003 Subject: [ic] Return Click Bar References: <3E224694.9E59912E@attglobal.net> <3E24C753.79D890AD@attglobal.net> <004801c2bc4d$a41f17c0$0a01000a@badtzmaru.com> <3E24ED6A.B37508E2@attglobal.net> <003d01c2be88$b3b04aa0$0a01000a@badtzmaru.com> <3E28AA9F.681CCF76@attglobal.net> <004901c2be9a$94e87ae0$0a01000a@badtzmaru.com> <3E28EB8F.CE5F55B0@attglobal.net> Message-ID: <000601c2bebc$634e4c40$0a01000a@badtzmaru.com> > > Well, on the site that I set the scratch variables while passing through > > landing pages, there were separate html pages for each prod_group and then > > again for each category, so we just did a "set" command at the top of the > > page. > > Is there a column/field in a table to define the html page for IC to > pick it up automatically ? I am not sure exactly what you mean, but we didn't have much database-driven stuff involved, the site actually has ten trillion interchange template pages. We use flypage and results but everything above that is not database driven. So it was easy to set variables at the top of the pages to set what the user had been through. Here's an example: http://shop.sophee.com/sophee/womanLanding.html now click on the shaving link near the top. Click on the first search results, the "California North" thing. Notice that the page carried the women's header forward. That was because a scratch variable got set when you hit the womanlanding page. Now go to: http://shop.sophee.com/sophee/menLanding.html and click on shaving there. Click on the "california north" thing in the search results. You will see that the exact same flypage (00169) now has the men's header. But it was relatively easy to do because there is a physical page for the men's and women's landing pages. > Oh thank you so much. I'm been trying to figure out how to grab the search > URL for a while. None of my searches came up with anything. I should be > able to grab some split code from some where and then do some figuring. Oh, you are in luck!!! While I was writing that stuff above I started wondering how the sophee site picked up the sidenav which is obviously based on the presented search results. Then I realized that I already wrote what you need: [if session last_search =~ /products/] [seti lastsearch][data session last_search][/seti] [perl] my @sf; my @se; my $item; my $cnt = 0; my $tmpSearch = {}; my @searchstring = split(/\//,$Scratch->{lastsearch}); ## build list of sf and se foreach $item (@searchstring) { if ($item =~ /^sf=(.*)/) { push @sf,$1; } elsif ($item =~ /^se=(.*)/) { push @se,$1; } } ## now build our hash of field/term pairs foreach $item (@sf) { $tmpSearch->{$item} = $se[$cnt]; $cnt++; } ## populate needed scratch values $Scratch->{lastbrand} = $tmpSearch->{brand}; $Scratch->{lastmaincat} = $tmpSearch->{maincat}; $Scratch->{lastsubcat} = $tmpSearch->{subcat}; return; [/perl] [/if] I forgot that I wrote it in a way that I could post it here later, all you have to do is change those last 3 lines and you will be set. In those bottom three lines, the $tmpSearch value would be the name of the search fields you are looking for and the thing on the left (the $Scratch) would be the name of whatever scratch variable you want the extracted values stored in. Just put this at the top of your results page. Man, I feel great now, contributing and stuff.... Jeff From interchange-users@icdevgroup.org Sat Jan 18 06:55:01 2003 From: interchange-users@icdevgroup.org (murahashi) Date: Sat Jan 18 06:55:01 2003 Subject: [ic] Total-cost is not equal to discounted price plus tax Message-ID: <02b601c2beea$6372fc60$0c01a8c0@zaq.ne.jp> Hi, I have a problem with calculation of total-cost under discount rate and tax calculation. My system is IC 4.8.3. currency_symbol Yen frac_digits 0 My problem is Total-cost is not equal to discounted price plus tax. For example, Subtotal is 25450Yen. 5% Discounted price is 24178Yen. The rounded is fine. 5% Tax is 1209Yen. It is correct too. So Total-cost should be 24178 + 1209 = 25387Yen. But, [total-cost] showed 25386 Yen. [total-cost] may be 25450 * 0.95 * 1.05 = 25386.375, and round is 25386 Yen. My checkout calculation tags are as follows. [discount ENTIRE_ORDER][/discount][subtotal] [discount ENTIRE_ORDER] $s * 0.95[/discount] [salestax] [total-cost] What should I do? Murahashi From interchange-users@icdevgroup.org Sat Jan 18 09:35:01 2003 From: interchange-users@icdevgroup.org (=?iso-8859-1?Q?Paco_S=E1nchez?=) Date: Sat Jan 18 09:35:01 2003 Subject: [ic] Currencies and PayPal References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS><00ac01c2bc9a$f743db00$95824fd4@europa><3E2570AC.8070603@leidinger.net><006901c2be7b$7a1ef820$d4834fd4@europa> <20030118002818.25cb3130.racke@linuxia.de> Message-ID: <001101c2befe$a36aa0c0$d4834fd4@europa> ----- Original Message ----- From: "Stefan Hornburg" To: Sent: Saturday, January 18, 2003 12:28 AM Subject: Re: [ic] Currencies and PayPal > [calc]sprintf('%.2f', [total-cost noformat=1]);[/calc] This is exactly what I needed. Thanks a lot, it works fine. Regards, Paco Snchez http://pacosanchez.com mailto:psanchez%40pacosanchez%2ecom ICQ 101879542 From interchange-users@icdevgroup.org Sat Jan 18 09:39:48 2003 From: interchange-users@icdevgroup.org (=?iso-8859-1?Q?Paco_S=E1nchez?=) Date: Sat Jan 18 09:39:48 2003 Subject: [ic] Force a payment method at checkout for some items References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS><00ac01c2bc9a$f743db00$95824fd4@europa><3E2570AC.8070603@leidinger.net><006901c2be7b$7a1ef820$d4834fd4@europa> <20030118002818.25cb3130.racke@linuxia.de> Message-ID: <001201c2befe$a477a3f0$d4834fd4@europa> Hello I have two groups of products, one which can accept COD or other payment methods, and another group which can only accept all methods but COD. Is it anyway to force interchange to eliminate COD in the payment methods list at checkout when one of the items not accepting this kind of payment is included in the basket? I suppose it can be done by adding a special prefix to the products SKU, like A-xxx for products accepting COD and B-xxx for all other products. Then a script could do it at the checkout page. Anyway not sure about it, that's why I am asking in case someone had to do something similar. Thanks a lot for any clues. Regards, Paco Snchez http://pacosanchez.com mailto:psanchez%40pacosanchez%2ecom ICQ 101879542 From interchange-users@icdevgroup.org Sat Jan 18 10:01:01 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Sat Jan 18 10:01:01 2003 Subject: [ic] Force a payment method at checkout for some items References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS><00ac01c2bc9a$f743db00$95824fd4@europa><3E2570AC.8070603@leidinger.net><006901c2be7b$7a1ef820$d4834fd4@europa> <20030118002818.25cb3130.racke@linuxia.de> <001201c2befe$a477a3f0$d4834fd4@europa> Message-ID: <003c01c2bf01$631b4800$0a01000a@badtzmaru.com> > I suppose it can be done by adding a special prefix to the products SKU, > like A-xxx for products accepting COD and B-xxx for all other products. > Then a script could do it at the checkout page. Just add a field in the products table and then, when on the checkout page, look through the cart at all of the items and see if the corresponding row in the product table has the value set. Jeff From interchange-users@icdevgroup.org Sat Jan 18 10:08:00 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Sat Jan 18 10:08:00 2003 Subject: [ic] Force a payment method at checkout for some items In-Reply-To: <001201c2befe$a477a3f0$d4834fd4@europa>; from lists@e-civitas.com on Sat, Jan 18, 2003 at 03:33:52PM +0100 References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS><00ac01c2bc9a$f743db00$95824fd4@europa><3E2570AC.8070603@leidinger.net><006901c2be7b$7a1ef820$d4834fd4@europa> <20030118002818.25cb3130.racke@linuxia.de> <001201c2befe$a477a3f0$d4834fd4@europa> Message-ID: <20030118100735.A11679@bill.heins.net> Quoting Paco S?nchez (lists@e-civitas.com): > Hello > > I have two groups of products, one which can accept COD or other payment > methods, and another group which can only accept all methods but COD. > > Is it anyway to force interchange to eliminate COD in the payment methods > list at checkout when one of the items not accepting this kind of payment is > included in the basket? > > I suppose it can be done by adding a special prefix to the products SKU, > like A-xxx for products accepting COD and B-xxx for all other products. > Then a script could do it at the checkout page. It would be better to have a "cod_allowed" field in pricing or inventory. This is a typical need of tying the database to the shopping cart to test for shipping/pricing alternatives. IC has some facilities that make it fairly easy to do it. Add a column to the inventory database (or anywhere you choose) named "cod_allowed". Set it to 1 if COD is allowed, blank otherwise. In catalog.cfg: AutoModifier inventory:cod_allowed (Of course you restart/apply changes, having changed configuration.) Now there will be a cod_allowed attribute in the shopping cart. At that point, you can do: [calc] $Scratch->{allow_cod} = 1; foreach my $item (@$Items) { next if $item->{cod_allowed}; $Scratch->{allow_cod} = 0; last; } return; [/calc] Now you can test for your allowed payment methods: [if scratch allow_cod] # ITL you need to enable COD [/if] -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Friends don't let friends use Outlook. -- Bob Blaylock From interchange-users@icdevgroup.org Sat Jan 18 10:27:01 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Sat Jan 18 10:27:01 2003 Subject: [ic] Force a payment method at checkout for some items References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS><00ac01c2bc9a$f743db00$95824fd4@europa><3E2570AC.8070603@leidinger.net><006901c2be7b$7a1ef820$d4834fd4@europa> <20030118002818.25cb3130.racke@linuxia.de> <001201c2befe$a477a3f0$d4834fd4@europa> <20030118100735.A11679@bill.heins.net> Message-ID: <004d01c2bf04$e838b4c0$0a01000a@badtzmaru.com> > This is a typical need of tying the database to the shopping cart > to test for shipping/pricing alternatives. IC has some facilities > that make it fairly easy to do it. > > Add a column to the inventory database (or anywhere you choose) named > "cod_allowed". Set it to 1 if COD is allowed, blank otherwise. > > In catalog.cfg: > > AutoModifier inventory:cod_allowed Oh wow, that is so cool. I am sure you posted about that at least 20 times in the last year but I never really looked at the auto-modifier stuff. Jeff From interchange-users@icdevgroup.org Sat Jan 18 11:03:00 2003 From: interchange-users@icdevgroup.org (Jon) Date: Sat Jan 18 11:03:00 2003 Subject: [ic] Return Click Bar References: <3E224694.9E59912E@attglobal.net> <3E24C753.79D890AD@attglobal.net> <004801c2bc4d$a41f17c0$0a01000a@badtzmaru.com> <3E24ED6A.B37508E2@attglobal.net> <003d01c2be88$b3b04aa0$0a01000a@badtzmaru.com> <3E28AA9F.681CCF76@attglobal.net> <004901c2be9a$94e87ae0$0a01000a@badtzmaru.com> <3E28EB8F.CE5F55B0@attglobal.net> <000601c2bebc$634e4c40$0a01000a@badtzmaru.com> Message-ID: <3E297A8E.227AEEC@attglobal.net> > > > Well, on the site that I set the scratch variables while passing > through > > > landing pages, there were separate html pages for each prod_group and > then > > > again for each category, so we just did a "set" command at the top of > the > > > page. > > > > Is there a column/field in a table to define the html page for IC to > > pick it up automatically ? > > I am not sure exactly what you mean, but we didn't have much > database-driven stuff involved, the site actually has ten trillion > interchange template pages. We use flypage and results but everything above > that is not database driven. So it was easy to set variables at the top of > the pages to set what the user had been through. Here's an example: > > http://shop.sophee.com/sophee/womanLanding.html > > now click on the shaving link near the top. Click on the first search > results, the "California North" thing. Notice that the page carried the > women's header forward. That was because a scratch variable got set when > you hit the womanlanding page. > > Now go to: > > http://shop.sophee.com/sophee/menLanding.html > > and click on shaving there. Click on the "california north" thing in the > search results. You will see that the exact same flypage (00169) now has > the men's header. > > But it was relatively easy to do because there is a physical page for > the men's and women's landing pages. > > > Oh thank you so much. I'm been trying to figure out how to grab the > search > > URL for a while. None of my searches came up with anything. I should be > > able to grab some split code from some where and then do some figuring. > > Oh, you are in luck!!! While I was writing that stuff above I started > wondering how the sophee site picked up the sidenav which is obviously based > on the presented search results. Then I realized that I already wrote what > you need: > > [if session last_search =~ /products/] > [seti lastsearch][data session last_search][/seti] > [perl] > my @sf; > my @se; > my $item; > my $cnt = 0; > my $tmpSearch = {}; > my @searchstring = split(/\//,$Scratch->{lastsearch}); > ## build list of sf and se > foreach $item (@searchstring) { > if ($item =~ /^sf=(.*)/) { > push @sf,$1; > } > elsif ($item =~ /^se=(.*)/) { > push @se,$1; > } > } > ## now build our hash of field/term pairs > foreach $item (@sf) { > $tmpSearch->{$item} = $se[$cnt]; > $cnt++; > } > ## populate needed scratch values > $Scratch->{lastbrand} = $tmpSearch->{brand}; > $Scratch->{lastmaincat} = $tmpSearch->{maincat}; > $Scratch->{lastsubcat} = $tmpSearch->{subcat}; > return; > [/perl] > [/if] > > I forgot that I wrote it in a way that I could post it here later, all > you have to do is change those last 3 lines and you will be set. In those > bottom three lines, the $tmpSearch value would be the name of the search > fields you are looking for and the thing on the left (the $Scratch) would be > the name of whatever scratch variable you want the extracted values stored > in. > Just put this at the top of your results page. > > > Man, I feel great now, contributing and stuff.... > I bet not as good as I do. That was exactly what I was looking for. Thank you very much. You just saved me a ton of time and educated me a bit more. Hopefully I'll be able to return something to the list. By following those links to your site I better understand how you did things and can appreciate the approach you took with it. Very good. Jon From interchange-users@icdevgroup.org Sat Jan 18 11:12:00 2003 From: interchange-users@icdevgroup.org (ACforSale Inc Sales Team) Date: Sat Jan 18 11:12:00 2003 Subject: [ic] Revisiting Internal UPS Lookup In-Reply-To: <1042848746.6416.2.camel@swanky.mdhome.net> Message-ID: <003c01c2bf0c$47e22170$0b00a8c0@CCS> On Fri, 2003-01-17 at 10:08, ACforSale Inc wrote: > I have still not had any success trying to get the Internal UPS Lookup > function to return any shipping values. What I'm trying to do is have > a lookup read up to and over the 150lbs limit that UPS has. > > To start with I'm using IC 4.9.3 under Cpanel. > > Here's what I have: > In etc/after.cfg (unable to directly edit catalog.cfg) > > Database Ground Ground.csv CSV marty=>>Do you have an entry for your zone file? marty=>>UPSZoneFile products/330.csv I've included the UPSZoneFile line in after.cfg but it makes no difference to the display. > > In shipping.asc (this is changed by using the UI and cannot be > directly > edited) > INTGND Ground Shipping (48 States) weight 0 0 e > Nothing to ship! {'ui_ship_type' => "UPSI",'zone' => > "330",'table' => "Ground",'ups' => "1",'adder' => "4.50",'at_least' => > "10.00",'PriceDivide' => "1",} > INTGND Ground Shipping (48 States) weight 0 600 u Ground > [default zip 33155] > INTGND Ground Shipping (48 States) weight 601 9999999 e Please > call for Shipping Quote > > NOTE: When I use INTGND as the DEFAULT_SHIP_MODE in variable database > then I get this error on the checkout page "Note: No zone found for > geo code Gro, type Ground" > > In 330 Zone file 330.csv > Dest. ZIP,Ground,3 Day Select,2nd Day Air,2nd Day Air A.M.,Next Day > Air Saver,Next Day Air 004-005,6,306,206,246,136,106marty > 006-007,-,-,225,-,-,125 > 8,-,-,226,-,-,126 > 9,-,-,225,-,-,125 > 010-043,6,306,206,246,136,106 > 44,7,307,207,247,137,107 > [snip] > > In Ground.csv > > Exceed,2,3,4,5,6,7,8 > 1,4.54,4.65,4.89,4.97,5.17,5.22,5.33 > 2,4.61,4.82,5.2,5.31,5.63,5.73,6.02 > 3,4.72,4.99,5.43,5.61,5.93,6.09,6.54 > [snip] > 600,244.91,306.29,366.29,428.69,494.9,558.98,627.13 > > If anyone can find out where there is something wrong please let me > know. > > TIA > > Gerry -- marty _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Sat Jan 18 14:35:01 2003 From: interchange-users@icdevgroup.org (David Etheredge) Date: Sat Jan 18 14:35:01 2003 Subject: [ic] distributor pricing Message-ID: <000901c2bf27$f75d1ea0$05a2a2a2@david98> Is there a way to predefine additional discount groups? I need to have additional distributor and reseller pricing schedules. As I sell through the general public, clinics, universities, favored buyers ( previously bought more than 3 units ), as well as distributors and resellers, all at different pricing, I need discount classifications for 6 - 8 different discount groups. Any idea as to how I can do this. David From interchange-users@icdevgroup.org Sat Jan 18 14:40:01 2003 From: interchange-users@icdevgroup.org (Evan Brown) Date: Sat Jan 18 14:40:01 2003 Subject: [ic] Need help with this coupon/certificate code Message-ID: Hi Guys: I am trying to setup a coupon for my site. Basically a customer gets a coupon code that he or she has to redeem. They redeem that at checkout. They type in the coupon code and it checks that code with the code in the gift_certs table. If the code matches then it will invoke the discount tag and subtract $5 from the total. If the code is incorrect then it should display an error. *******The coupon code is in the gift_certs table in the code column****** I included some code I am working on and I can't seem to get the form to do anything. Can someone help me with the code on the bottom. [set couponcompare] [if type="data" term="gift_certs::code::[value coupon]"] [discount ENTIRE_ORDER] $s - 5 [/discount] [else] Your code is invalid [/else] [/if] [/set]
[button src="thumb/validate.jpg" hidetext=1 form=validate ] [/button]
From interchange-users@icdevgroup.org Sat Jan 18 17:53:01 2003 From: interchange-users@icdevgroup.org (marco simonelli) Date: Sat Jan 18 17:53:01 2003 Subject: [ic] Photo gallery In-Reply-To: <20C8C2C4-2AB0-11D7-874A-003065E2A992@kc.rr.com> Message-ID: <13A27F86-2B37-11D7-874A-003065E2A992@kc.rr.com> On Saturday, January 18, 2003, at 12:43 AM, marco simonelli wrote: > I'm sure just about anything you want to accomplish has been done > or > certainly can be done with enough effort. For me I've defined the area > table to be for Brands of products and the cat table to define the > types > of product. Consequently each brand (area) is associated with a > product type (cat). This all assumes you're working from the > foundation.. > One you understand the linkage between the tables, which is somewhat > documented and/or can be derived from looking at foundation, then I > think you'll see how your needs will fit. Jon, thank you for your reply. I just digested the iccatut, even if not completely assimilated, and I'm going through the icfoundation and I think I got the big picture. I was thinking about defining one area to be Portrait Photography, or something like that, and the different cat table to define family names or events like "the Smith's wedding" with all the shots to be the single products. My first problem is how to change not the flypage, which I understand is the single product display, but the page that shows all the item in one category, to show a list of thumbnails instead of the SKUs. Which page should I edit? And also, what do you suggest me to edit pages? I normally use BBEdit, because the application to edit the content doesn't work on my Explorer 5.2 for Mac. > You'll then be able to use the built in search, loop, scan, etc. > facilities for customer searches. > This is still confusing to me. Where do you suggest me to read to understand it better? Thank you again Marco From interchange-users@icdevgroup.org Sat Jan 18 20:00:01 2003 From: interchange-users@icdevgroup.org (Thomas Asher) Date: Sat Jan 18 20:00:01 2003 Subject: [ic] New Authorize.net connection method Message-ID: Greetings, I have a client who uses Authorize.net as her merchant service for credit cards. We recently received an email stating the following: "In an effort to enhance security surrounding the submission of transaction information, Authorize.Net has developed a new gateway connection method. This new method, referred to as Simple Integration Method (SIM), combines the increased security and robustness of Advanced Integration Method (AIM) (previously known as ADC Direct Response) with some of the programming ease of WebLink and Relay Response." We are currently using the WebLink method and must convert to the new method before April 30th. I am not sure how to change the settings in Interchange to comply with these new requirements. Has anyone else made this conversion? Any assistance would be greatly appreciated. Regards, Thomas E. Asher Asher Web Design Corp. 516-933-0164 www.asherwebdesign.com From interchange-users@icdevgroup.org Sat Jan 18 20:25:01 2003 From: interchange-users@icdevgroup.org (marty) Date: Sat Jan 18 20:25:01 2003 Subject: [ic] Mixing "cookbook" examples and Wiki? Message-ID: <1042939615.6873.37.camel@swanky.mdhome.net> Just curious, any thoughts on whether or not it would be wise to contribute to the wiki with "cookbook" style examples? Or should we just stick to a reference type layout? -- marty From interchange-users@icdevgroup.org Sat Jan 18 20:28:00 2003 From: interchange-users@icdevgroup.org (marty) Date: Sat Jan 18 20:28:00 2003 Subject: [ic] Mixing "cookbook" examples and Wiki? Message-ID: <1042939656.6873.39.camel@swanky.mdhome.net> Just curious, any thoughts on whether or not it would be wise to contribute to the Wiki with "cookbook" style examples? Or should we just stick to a reference type layout? -- marty From interchange-users@icdevgroup.org Sat Jan 18 21:38:00 2003 From: interchange-users@icdevgroup.org (Jon) Date: Sat Jan 18 21:38:00 2003 Subject: [ic] Mixing "cookbook" examples and Wiki? References: <1042939656.6873.39.camel@swanky.mdhome.net> Message-ID: <3E2A0F57.76EBECC4@attglobal.net> > Just curious, any thoughts on whether or not it would be wise to > contribute to the Wiki with "cookbook" style examples? Or should we > just stick to a reference type layout? > -- My 2 cents, I love having examples. If there is any one thing I would love to see improved in the existing documentation is to mix up the examples with variations of usage of options and parameters. Jon From interchange-users@icdevgroup.org Sun Jan 19 00:12:01 2003 From: interchange-users@icdevgroup.org (Paul Jordan) Date: Sun Jan 19 00:12:01 2003 Subject: [ic] affiliates/index.html no worky in UI Message-ID: Hi List Anybody else notice that affiliates/index.html cannot be edited in UI? I tried in 4.8.3, 4.9.6 and 4.9.7(devgroup demo). On 4.8.3 and 4.9.6 I tried in IE, and Mozilla. I am on Windows XP. It seems this block here: [if !session logged_in] [or session login_table ne 'affiliate'] [bounce page="affiliate/login"] [/if] causes IC to actually bounce to the page when trying to edit it. Even trying to [comment] the above block out won't help becuase the content editor ingnores *most* ITL. I say most becuase I have seen "floating" selectboxes, and background pages in the content editor, which usualy indicates and syntax error somewhere on the page, however the above looks fine to me. If I remove this: [or session login_table ne 'affiliate'] I CAN then edit the page via ADMIN. This seems like maybe an issue with the content editor and the [or ...] tag in an [if] block. I tried an [and ...] also, and no joy. Can someone tell me where I should be looking to resolve this? Thanks Paul From interchange-users@icdevgroup.org Sun Jan 19 01:03:00 2003 From: interchange-users@icdevgroup.org (webmaster) Date: Sun Jan 19 01:03:00 2003 Subject: [ic] PGP failed Message-ID: <001701c2bf80$5fbb1350$0200a8c0@IBMSERVER> In my log I am getting the following error: 192.168.0.2 SDzxQR8S:192.168.0.2 - [19/January/2003:00:52:11 -0500] cata /cgi-bin/cata/process.html PGP failed with status 2: And then I am not receiving the credit card information via e-mail, can anyone help me with this? From interchange-users@icdevgroup.org Sun Jan 19 05:45:01 2003 From: interchange-users@icdevgroup.org (Cameron) Date: Sun Jan 19 05:45:01 2003 Subject: [ic] Orders not matching up with users in the UI Message-ID: <003501c2bfa7$77095860$0100a8c0@spankmaster> I've just gone live with a site and taken some orders, but in the UI, i'm finding some weird stuff. Viewing the Pending Orders section shows all the orders with the appropriate Order number, yet clicking on that order number brings up the View Order page, but with none of the details filled in! The order has definately been entered into the Orderline table, and the customer definately exists in the user table, so what could be causing the View Order page to break in this manner? Note: if i bring up the View Customer page, the order numbers associated with the client are all wrong. I did at one stage change the Last order number on the administration page (it has TEST in the number), and yeah... things seem to have gone pear shaped. Any idea where this may be breaking and what i need to do to fix it? From interchange-users@icdevgroup.org Sun Jan 19 11:59:00 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Sun Jan 19 11:59:00 2003 Subject: [ic] affiliates/index.html no worky in UI In-Reply-To: ; from paul@gishnetwork.com on Sat, Jan 18, 2003 at 09:11:10PM -0800 References: Message-ID: <20030119115759.A3572@bill.heins.net> Quoting Paul Jordan (paul@gishnetwork.com): > Hi List > > Anybody else notice that affiliates/index.html cannot be edited in UI? I > tried in 4.8.3, 4.9.6 and 4.9.7(devgroup demo). On 4.8.3 and 4.9.6 I tried > in IE, and Mozilla. I am on Windows XP. > > It seems this block here: > > [if !session logged_in] > [or session login_table ne 'affiliate'] > [bounce page="affiliate/login"] > [/if] > > > causes IC to actually bounce to the page when trying to edit it. Even trying > to [comment] the above block out won't help becuase the content editor > ingnores *most* ITL. I say most becuase I have seen "floating" selectboxes, > and background pages in the content editor, which usualy indicates and > syntax error somewhere on the page, however the above looks fine to me. > > If I remove this: > [or session login_table ne 'affiliate'] > > I CAN then edit the page via ADMIN. This seems like maybe an issue with the > content editor and the [or ...] tag in an [if] block. I tried an [and ...] > also, and no joy. > > Can someone tell me where I should be looking to resolve this? > There is a problem with the [if ...] tag in some situations, and has been for a long time. I should probably look to fix it considerably better with a proper parser, but for the moment I have committed a change to the page editor which solves this situation. The change that is made will apply to all versions, but there won't be any 4.9.6-specific fix made. It could be hand-edited in based on this patch (or the patch might work as is): 522,537d521 < [calcn] < $page_content = <<'EoPA'; < [page-param CONTENT] < EoPA < $page_preamble = <<'EoPB'; < [page-param PREAMBLE] < EoPB < $page_postamble = <<'EoPC'; < [page-param POSTAMBLE] < EoPC < for(\$page_content, \$page_preamble, \$page_postamble) { < chop $$_; < } < return; < [/calcn] < 550a535,550 > > [calc] > $page_content = <<'EoPA'; > [page-param CONTENT] > EoPA > $page_preamble = <<'EoPB'; > [page-param PREAMBLE] > EoPB > $page_postamble = <<'EoPC'; > [page-param POSTAMBLE] > EoPC > for(\$page_content, \$page_preamble, \$page_postamble) { > chop $$_; > } > return; > [/calc] Thanks for the report. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Fast, reliable, cheap. Pick two and we'll talk. -- unknown From interchange-users@icdevgroup.org Sun Jan 19 13:10:01 2003 From: interchange-users@icdevgroup.org (Jeff Obranovich) Date: Sun Jan 19 13:10:01 2003 Subject: [ic] PGP failed In-Reply-To: <001701c2bf80$5fbb1350$0200a8c0@IBMSERVER> Message-ID: <004b01c2bfe5$e8274960$0300000a@home> Which version of IC? How is it currently set up? -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of webmaster Sent: Sunday, January 19, 2003 1:02 AM To: interchange Subject: [ic] PGP failed In my log I am getting the following error: 192.168.0.2 SDzxQR8S:192.168.0.2 - [19/January/2003:00:52:11 -0500] cata /cgi-bin/cata/process.html PGP failed with status 2: And then I am not receiving the credit card information via e-mail, can anyone help me with this? _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Sun Jan 19 13:15:01 2003 From: interchange-users@icdevgroup.org (Chris Anderson) Date: Sun Jan 19 13:15:01 2003 Subject: [ic] POS? In-Reply-To: <20030119115759.A3572@bill.heins.net> Message-ID: So what kind of POS solutions is everyone using with interchange? this has recently become a much bigger priority for me. thanks Chris From interchange-users@icdevgroup.org Sun Jan 19 14:07:01 2003 From: interchange-users@icdevgroup.org (Paul Jordan) Date: Sun Jan 19 14:07:01 2003 Subject: [ic] Orders not matching up with users in the UI In-Reply-To: <003501c2bfa7$77095860$0100a8c0@spankmaster> Message-ID: > I've just gone live with a site and taken some orders, but in the UI, i'm > finding some weird stuff. Viewing the Pending Orders section shows all the > orders with the appropriate Order number, yet clicking on that > order number > brings up the View Order page, but with none of the details filled in! The > order has definately been entered into the Orderline table, and > the customer > definately exists in the user table, so what could be causing the > View Order > page to break in this manner? > > Note: if i bring up the View Customer page, the order numbers associated > with the client are all wrong. I did at one stage change the Last order > number on the administration page (it has TEST in the number), and yeah... > things seem to have gone pear shaped. Any idea where this may be breaking > and what i need to do to fix it? Hi Cameron, If I remember correctly, didn't you build a log_transaction from scratch? This sounds to me like data is not getting written correctly to the tables. I say *correctly, becuase you mention that there is data getting written to these tables. The Order View page does not read from userdb, as you imply above, it reads the written data that was copied into transactions table. Try posting your IC version, and a couple records from 'transaction' and corresponding 'orderline'... It sounds to me like this is a log_transaction issue. Compare it to a foundation copy. Paul From interchange-users@icdevgroup.org Sun Jan 19 16:17:00 2003 From: interchange-users@icdevgroup.org (Farshad Farzan) Date: Sun Jan 19 16:17:00 2003 Subject: [ic] Options that require Text Entry Message-ID: <000f01c2c000$2dc76350$ef0329d0@vl2k> I have set up an item with simple options , 3 select widgets, and 1 Text Entry Widget. After selecting the options during checkout and placing the order, the receipt and the Email does not show the value of the Text Entry, It just shows the label !! Whereas, the other options show both label and value.!!! Looking further in the admin / orders , and the options are shown with their labels and values intact..! I have seen through the archive that this has been issue for others in previous versions, is this a bug, or is there a work-around ??? Thanks. Farshad Farzan Intelligent Measurement, Inc. 16115 Wyandotte Street Van Nuys, CA 91406 Tel 818 901 6787 Fax 818 901 1787 From interchange-users@icdevgroup.org Sun Jan 19 16:27:01 2003 From: interchange-users@icdevgroup.org (In The Sun, LLC) Date: Sun Jan 19 16:27:01 2003 Subject: [ic] Authorize.Net integration instructions Message-ID: <000501c2c001$5ca961e0$0200a8c0@cfl.rr.com> I know this is an on going subject with Authorize.net but could any one show me how to tag the line "my %query=(.....);" When I do a preview the code is sticking out and I am assuming it is not supposed to!! Thanks MDell on 3/14/01 3:35 PM, Jud Harris at jud-lists@copernica.com wrote: > Hey folks - > > Here's how to get authorize.net processing into Interchange. Please note that > my understanding of the ins and outs of IC is limited, I just know our store > is > working well so far with authorize.net. This should work out-of-the-box with > the included demo construct store. We're using a slightly modified > pages/ord/checkout.html page for orders, but none of the processing variables > were changed. > > First off... > > With the newer version(s) of IC, an authorizenet module is included in the > [src/interchange]/eg/globalsub/authorizenet > > *copy this* file to your installed ../interchange/globalsub directory - > > NOTE: don't attempt to perl -d the file or run it to check its functionality, > as > it is made to be embedded into interchange when it starts. If you make > modifications to it, remove everything except the section beginning with "sub > authorizenet .. {" and ending with "}" > > After copying the file, take a look at it. It should tell you to add the > following lines to your catalog's catalog.cfg file: > > Variable MV_PAYMENT_ID [YourAuthorizeNetID] > Variable MV_PAYMENT_SECRET [YourAuthorizeNetPassword] > Variable MV_PAYMENT_MODE custom authorizenet > Variable MV_PAYMENT_REFERER > [http://www.yourstore.com/cgi-bin/yourICbinary.cgi/process.html] > > Restart the interchange server - note: you won't see any textual notification > that the authorizenet module is successfully included, but if there's an error > in the file, it will report it. > > **NOTE: Be sure your authorize.net account is in TEST MODE before running any > transactions, or at least be ready to void transactions and incur transaction > fees. > > Now you *should* be able to order an item using a valid credit card. You'll > notice that authorize.net won't notice any of your test transactions in its > Transactions section, so there's no way for you to know if the customer data > (other than the credit card num and expiration) are being transmitted > successfully. > > In fact, by default, they aren't. You'll notice the authorizenet module only > processes a minimum amount of information with each transcation. For > instance, > if an order has different billing and shipping addresses, the billing first > name > and last name, address, city, state, zip, etc, .. are transmitted to > authorize.net as the shipping information as well. You'll also probably > notice > that all other fields except first name, last name, city, state, and zip are > NOT > transmitted to authorize.net. This is because the variable names in the > authorizenet module do not correspond to the variable names in the > checkout.html > file. You can easily adjust the code to account for other variable names. > Refer to the Appendix B of the developer section of the authorize.net > interface > for a mapping of their field names (such as x_Ship_To_First_Name). > > Here's some code from my slightly modified authorizenet file. Now my > transactions are logging the correct address data, but I still can't get the > phone or email to appear at all. (Anyone have clues?) > > --- > > # if the billing section of checkout.html appears to be blank, > # copy the customer shipping info to the billing vars > > if (($actual{b_address1} eq "") || > ($actual{b_zip} eq "")) { > > $actual{b_fname} = $actual{fname}; > $actual{b_lname} = $actual{lname}; > $actual{b_company} = $actual{company}; > $actual{b_address1} = $actual{address1}; > $actual{b_address2} = $actual{address2}; > $actual{b_city} = $actual{city}; > $actual{b_state} = $actual{state}; > $actual{b_zip} = $actual{zip}; > $actual{b_country} = $actual{country}; > } > > > # concatenate the two addresses into one if a second address line exists > > if ($actual{address2} ne "") { > $actual{address} = "$actual{address1}" . ", " . "$actual{address2}"; > } else { > $actual{address} = $actual{address1}; > } > > if ($actual{b_address2} ne "") { > $actual{b_address} = "$actual{b_address1}" . ", " . > "$actual{b_address2}"; > } else { > $actual{b_address} = $actual{b_address1}; > } > > > my %query = ( > x_Method => 'CC', > x_Type => $actual{mv_payment_mode}, > x_Card_Num => $actual{mv_credit_card_number}, > x_Exp_Date => $exp, > x_Amount => $amount, > x_First_Name => $actual{b_fname}, > x_Last_Name => $actual{b_lname}, > x_Company => $actual{company}, > x_Address => $actual{b_address}, > x_City => $actual{b_city}, > x_State => $actual{b_state}, > x_Zip => $actual{b_zip}, > x_Country => $actual{b_country}, > x_Ship_To_First_Name => $actual{fname}, > x_Ship_To_Last_Name => $actual{lname}, > x_Ship_To_Company => $actual{company}, > x_Ship_To_Address => $actual{address}, > x_Ship_To_City => $actual{city}, > x_Ship_To_State => $actual{state}, > x_Ship_To_Zip => $actual{zip}, > x_Ship_To_Country => $actual{country}, > x_Email => $actual{email}, > x_Invoice_Num => $actual{mv_order_number}, > x_Phone => $actual{phone_day}, > x_Password => $secret, > x_Login => $user, > x_Version => '3.0', > x_ADC_URL => 'FALSE', > x_ADC_Delim_Data => 'TRUE', > ); > > --- > > So... give the default code a try first and let me know how it goes. I really > sympathize with authorize.net folks because of the lack of documentation and > scattered mailing list archive contents. > > Good luck! > -Jud Judd, Thanks so much for your post. I will be able to try this out later this weekend and will let you know how it goes. Thanks again! -Bill Shupp From interchange-users@icdevgroup.org Sun Jan 19 17:02:01 2003 From: interchange-users@icdevgroup.org (Brent Kelly) Date: Sun Jan 19 17:02:01 2003 Subject: [ic] accessories tag References: <1042486375.3e231467e55cf@naturebuzz.com> <000f01c2bb58$d1fc8a60$1702a8c0@gordito> <004b01c2bd04$d9e6dde0$1702a8c0@gordito> Message-ID: <3E2B2006.3070703@zeald.com> Hi Schuyler, I struck a similar problem when I had matrix options & wanted to display them in a customised fashion. The only way I could get the accessories tag to return anything was if I used the code from the options table that correlates to the option values you are wanting to retrieve (confused yet? ;)). This code is not the same as the sku in the products table, but appears to be generated when you create the options (not sure if u can specify this - mabye you can). If you look at the database directly, you will see this as a record with the sku field being set to the product sku, the o_label field being set to the label you specified for the options, and the o_value field being of format value=label,value2=label2 etc. So basically, I ended up using the following ... a bit of a workaround, but hey, it works :): First i retrieved the option code from the db with the query tag (note this assumes you have specified & know the label for the options .. if u don't i'm sure the code could be retrieved by a modified query): [perl no_return=1 interpolate=1] # retrieve the option code for the options I am wanting[/comment] my $results = $Tag->query( { sql => "SELECT code FROM options WHERE o_label='Color' AND SKU = '[item-code]'" } ); $Scratch->{option_code} = $results->[0]->[0]; [/perl] If you retrieve the o_value field from the options table using the returned code, you get the following format: R=Red*, O=Orange, Y=Yellow From here, depending on what you are trying to do, you can now use the accessories tag to acheive what you wish. e.g. [accessories code="[scratch option_code]" table="options" field="o_value" name="mv_sku" js=| onchange="alert('size change');" | type=select ] that would spit out a select box populated by the options & would cause a javascript alert onchange. Note: if you use type="show" it seems to merely spit out the o_value (R=Red*, O=Orange etc). However, changing the type to labels would spit out a newline-delimited list of the option labels which sounds like what you're after. Alternatively if you wanted to be able to display these one at a time (allows you to format them how you wish & specify match/no_match code) you may just want to use a loop (acclist=1) and use the data tag to retrieve the options as the list attribute for the loop. i.e: [tmp count]1[/tmp] [loop list=|[data table="options" field="o_value" key="[scratch option_code]"]| acclist=1] [list] Option [scratch count]: [loop-param label]
[perl no_return=1]$Scratch->{count}++[/perl] [/list] [no-match]No options![/no-match] [/loop] As you can see its nowhere near as pretty as a one-liner accessories tag call, but it was the only way I could acheive the results I wanted (or manage to get anything out of the tag for that matter :)). If anyone out there has a better way that works, feel free to enlighten us :). Hope this helps, Brent Kelly, Zeald Ltd. http://www.zeald.com Schuyler Langdon wrote: >I wrote > > >>I have matrix options (ic 4.86) for products that can be displayed as a >>select menu with the following tag: >>[options code=os28005] >> >>However, I want to use an accessories tag something like this so >>that they can simply be listed. >>[accessories code=os28005 table=options type=show] >> >>This does not work though, does anyone know if or how this can be done >> >> >using > > >>the accessories tag? >> >> >> > >Simple tag question, Anyone, Bueller ? > >Schuyler Langdon >GatorDev.com > >_______________________________________________ >interchange-users mailing list >interchange-users@icdevgroup.org >http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > From interchange-users@icdevgroup.org Sun Jan 19 17:17:00 2003 From: interchange-users@icdevgroup.org (In The Sun, LLC) Date: Sun Jan 19 17:17:00 2003 Subject: [ic] Authorize.net setup/ more information References: <20030119170001.29496.99935.Mailman@icdevgroup.org> Message-ID: <001a01c2c008$4bf34260$0200a8c0@cfl.rr.com> I have read a few articles on icdevgroup.org about setting up Authorize.net with IC. Is there anyone out there that has a working example on writting the billing vars into the checkout.html? I use Hot Connect payment gateway built in to our servers and Authorize.net stuff is new to me. Here is what I mean, writing this code into the page: if (($actual{b_address1} eq "") || ($actual{b_zip} eq "")) { $actual{b_fname} = $actual{fname}; $actual{b_lname} = $actual{lname}; $actual{b_company} = $actual{company}; $actual{b_address1} = $actual{address1}; $actual{b_address2} = $actual{address2}; $actual{b_city} = $actual{city}; $actual{b_state} = $actual{state}; $actual{b_zip} = $actual{zip}; $actual{b_country} = $actual{country}; } # concatenate the two addresses into one if a second address line exists if ($actual{address2} ne "") { $actual{address} = "$actual{address1}" . ", " . "$actual{address2}"; } else { $actual{address} = $actual{address1}; } if ($actual{b_address2} ne "") { $actual{b_address} = "$actual{b_address1}" . ", " . "$actual{b_address2}"; } else { $actual{b_address} = $actual{b_address1}; } my %query = ( x_Method => 'CC', x_Type => $actual{mv_payment_mode}, x_Card_Num => $actual{mv_credit_card_number}, x_Exp_Date => $exp, x_Amount => $amount, x_First_Name => $actual{b_fname}, x_Last_Name => $actual{b_lname}, x_Company => $actual{company}, x_Address => $actual{b_address}, x_City => $actual{b_city}, x_State => $actual{b_state}, x_Zip => $actual{b_zip}, x_Country => $actual{b_country}, x_Ship_To_First_Name => $actual{fname}, x_Ship_To_Last_Name => $actual{lname}, x_Ship_To_Company => $actual{company}, x_Ship_To_Address => $actual{address}, x_Ship_To_City => $actual{city}, x_Ship_To_State => $actual{state}, x_Ship_To_Zip => $actual{zip}, x_Ship_To_Country => $actual{country}, x_Email => $actual{email}, x_Invoice_Num => $actual{mv_order_number}, x_Phone => $actual{phone_day}, x_Password => $secret, x_Login => $user, x_Version => '3.0', x_ADC_URL => 'FALSE', x_ADC_Delim_Data => 'TRUE', ); How is this information tagged into the checkout.html page? Thanks for any help MDell ----- Original Message ----- From: To: Sent: Sunday, January 19, 2003 12:00 PM Subject: interchange-users digest, Vol 1 #1217 - 11 msgs > Send interchange-users mailing list submissions to > interchange-users@icdevgroup.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.icdevgroup.org/mailman/listinfo/interchange-users > or, via email, send a message with subject or body 'help' to > interchange-users-request@icdevgroup.org > > You can reach the person managing the list at > interchange-users-admin@icdevgroup.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of interchange-users digest..." > > > Today's Topics: > > 1. distributor pricing (David Etheredge) > 2. Need help with this coupon/certificate code (Evan Brown) > 3. Re: Photo gallery (marco simonelli) > 4. New Authorize.net connection method (Thomas Asher) > 5. Mixing "cookbook" examples and Wiki? (marty) > 6. Mixing "cookbook" examples and Wiki? (marty) > 7. Re: Mixing "cookbook" examples and Wiki? (Jon) > 8. affiliates/index.html no worky in UI (Paul Jordan) > 9. PGP failed (webmaster) > 10. Orders not matching up with users in the UI (Cameron) > 11. Re: affiliates/index.html no worky in UI (Mike Heins) > > --__--__-- > > Message: 1 > From: "David Etheredge" > To: "interchange-users@interch" > Date: Sat, 18 Jan 2003 13:29:47 -0600 > Subject: [ic] distributor pricing > Reply-To: interchange-users@icdevgroup.org > > Is there a way to predefine additional discount groups? > > I need to have additional distributor and reseller pricing schedules. As I > sell through the general public, clinics, universities, favored buyers ( > previously bought more than 3 units ), as well as distributors and > resellers, all at different pricing, I need discount classifications for 6 - > 8 different discount groups. Any idea as to how I can do this. > > David > > > --__--__-- > > Message: 2 > From: "Evan Brown" > To: > Date: Sat, 18 Jan 2003 14:39:39 -0500 > Subject: [ic] Need help with this coupon/certificate code > Reply-To: interchange-users@icdevgroup.org > > Hi Guys: > > I am trying to setup a coupon for my site. Basically a customer gets a > coupon code that he or she has to redeem. They redeem that at checkout. They > type in the coupon code and it checks that code with the code in the > gift_certs table. If the code matches then it will invoke the discount tag > and subtract $5 from the total. If the code is incorrect then it should > display an error. > > *******The coupon code is in the gift_certs table in the code column****** > > I included some code I am working on and I can't seem to get the form to do > anything. Can someone help me with the code on the bottom. > > > > [set couponcompare] > [if type="data" term="gift_certs::code::[value coupon]"] > [discount ENTIRE_ORDER] $s - 5 [/discount] > [else] > Your code is invalid > [/else] > [/if] > [/set] > >
> > > > > > > > > [button > > src="thumb/validate.jpg" > hidetext=1 > form=validate > ] > [/button] > >
> > > --__--__-- > > Message: 3 > Date: Sat, 18 Jan 2003 16:49:18 -0600 > From: marco simonelli > Subject: Re: [ic] Photo gallery > To: interchange-users@icdevgroup.org > Reply-To: interchange-users@icdevgroup.org > > > On Saturday, January 18, 2003, at 12:43 AM, marco simonelli wrote: > > > > I'm sure just about anything you want to accomplish has been done > > or > > certainly can be done with enough effort. For me I've defined the area > > table to be for Brands of products and the cat table to define the > > types > > of product. Consequently each brand (area) is associated with a > > product type (cat). This all assumes you're working from the > > foundation.. > > One you understand the linkage between the tables, which is somewhat > > documented and/or can be derived from looking at foundation, then I > > think you'll see how your needs will fit. > > Jon, > thank you for your reply. > I just digested the iccatut, even if not completely assimilated, and > I'm going through the icfoundation and I think I got the big picture. I > was thinking about defining one area to be Portrait Photography, or > something like that, and the different cat table to define family names > or events like "the Smith's wedding" with all the shots to be the > single products. > My first problem is how to change not the flypage, which I understand > is the single product display, but the page that shows all the item in > one category, to show a list of thumbnails instead of the SKUs. Which > page should I edit? > And also, what do you suggest me to edit pages? I normally use BBEdit, > because the application to edit the content doesn't work on my Explorer > 5.2 for Mac. > > > You'll then be able to use the built in search, loop, scan, etc. > > facilities for customer searches. > > > > This is still confusing to me. Where do you suggest me to read to > understand it better? > > Thank you again > > Marco > > > --__--__-- > > Message: 4 > Date: Sat, 18 Jan 2003 19:59:10 -0800 > From: Thomas Asher > To: interchange-users@icdevgroup.org > Subject: [ic] New Authorize.net connection method > Reply-To: interchange-users@icdevgroup.org > > Greetings, > > I have a client who uses Authorize.net as her merchant service for credit > cards. We recently received an email stating the following: > > "In an effort to enhance security surrounding the submission of transaction > information, Authorize.Net has developed a new gateway connection method. > This new method, referred to as Simple Integration Method (SIM), combines > the increased security and robustness of Advanced Integration Method (AIM) > (previously known as ADC Direct Response) with some of the programming ease > of WebLink and Relay Response." > > We are currently using the WebLink method and must convert to the new > method before April 30th. I am not sure how to change the settings in > Interchange to comply with these new requirements. Has anyone else made > this conversion? Any assistance would be greatly appreciated. > > Regards, > > Thomas E. Asher > Asher Web Design Corp. > 516-933-0164 > www.asherwebdesign.com > > > > --__--__-- > > Message: 5 > From: marty > To: interchange-users@icdevgroup.org > Organization: > Date: 18 Jan 2003 17:27:36 -0800 > Subject: [ic] Mixing "cookbook" examples and Wiki? > Reply-To: interchange-users@icdevgroup.org > > Just curious, any thoughts on whether or not it would be wise to > contribute to the wiki with "cookbook" style examples? Or should we > just stick to a reference type layout? > -- > marty > > > --__--__-- > > Message: 6 > From: marty > To: interchange-users@icdevgroup.org > Organization: > Date: 18 Jan 2003 17:27:47 -0800 > Subject: [ic] Mixing "cookbook" examples and Wiki? > Reply-To: interchange-users@icdevgroup.org > > Just curious, any thoughts on whether or not it would be wise to > contribute to the Wiki with "cookbook" style examples? Or should we > just stick to a reference type layout? > -- > marty > > > --__--__-- > > Message: 7 > Date: Sat, 18 Jan 2003 21:37:12 -0500 > From: Jon > To: interchange-users@icdevgroup.org > Subject: Re: [ic] Mixing "cookbook" examples and Wiki? > Reply-To: interchange-users@icdevgroup.org > > > Just curious, any thoughts on whether or not it would be wise to > > contribute to the Wiki with "cookbook" style examples? Or should we > > just stick to a reference type layout? > > -- > > My 2 cents, I love having examples. If there is any one thing I would > love to see improved in the existing documentation is to mix up the > examples with variations of usage of options and parameters. > > Jon > > > > --__--__-- > > Message: 8 > Date: Sat, 18 Jan 2003 21:11:10 -0800 > From: Paul Jordan > To: Interchange List > Subject: [ic] affiliates/index.html no worky in UI > Reply-To: interchange-users@icdevgroup.org > > Hi List > > Anybody else notice that affiliates/index.html cannot be edited in UI? I > tried in 4.8.3, 4.9.6 and 4.9.7(devgroup demo). On 4.8.3 and 4.9.6 I tried > in IE, and Mozilla. I am on Windows XP. > > It seems this block here: > > [if !session logged_in] > [or session login_table ne 'affiliate'] > [bounce page="affiliate/login"] > [/if] > > > causes IC to actually bounce to the page when trying to edit it. Even trying > to [comment] the above block out won't help becuase the content editor > ingnores *most* ITL. I say most becuase I have seen "floating" selectboxes, > and background pages in the content editor, which usualy indicates and > syntax error somewhere on the page, however the above looks fine to me. > > If I remove this: > [or session login_table ne 'affiliate'] > > I CAN then edit the page via ADMIN. This seems like maybe an issue with the > content editor and the [or ...] tag in an [if] block. I tried an [and ...] > also, and no joy. > > Can someone tell me where I should be looking to resolve this? > > Thanks > Paul > > > > --__--__-- > > Message: 9 > From: "webmaster" > To: "interchange" > Date: Sun, 19 Jan 2003 01:02:29 -0500 > Subject: [ic] PGP failed > Reply-To: interchange-users@icdevgroup.org > > In my log I am getting the following error: > > 192.168.0.2 SDzxQR8S:192.168.0.2 - [19/January/2003:00:52:11 -0500] cata > /cgi-bin/cata/process.html PGP failed with status 2: > > And then I am not receiving the credit card information via e-mail, can > anyone help me with this? > > > --__--__-- > > Message: 10 > From: "Cameron" > To: > Date: Sun, 19 Jan 2003 18:42:26 +0800 > Subject: [ic] Orders not matching up with users in the UI > Reply-To: interchange-users@icdevgroup.org > > I've just gone live with a site and taken some orders, but in the UI, i'm > finding some weird stuff. Viewing the Pending Orders section shows all the > orders with the appropriate Order number, yet clicking on that order number > brings up the View Order page, but with none of the details filled in! The > order has definately been entered into the Orderline table, and the customer > definately exists in the user table, so what could be causing the View Order > page to break in this manner? > > Note: if i bring up the View Customer page, the order numbers associated > with the client are all wrong. I did at one stage change the Last order > number on the administration page (it has TEST in the number), and yeah... > things seem to have gone pear shaped. Any idea where this may be breaking > and what i need to do to fix it? > > > --__--__-- > > Message: 11 > Date: Sun, 19 Jan 2003 11:57:59 -0500 > From: Mike Heins > To: interchange-users@icdevgroup.org > Subject: Re: [ic] affiliates/index.html no worky in UI > Reply-To: interchange-users@icdevgroup.org > > Quoting Paul Jordan (paul@gishnetwork.com): > > Hi List > > > > Anybody else notice that affiliates/index.html cannot be edited in UI? I > > tried in 4.8.3, 4.9.6 and 4.9.7(devgroup demo). On 4.8.3 and 4.9.6 I tried > > in IE, and Mozilla. I am on Windows XP. > > > > It seems this block here: > > > > [if !session logged_in] > > [or session login_table ne 'affiliate'] > > [bounce page="affiliate/login"] > > [/if] > > > > > > causes IC to actually bounce to the page when trying to edit it. Even trying > > to [comment] the above block out won't help becuase the content editor > > ingnores *most* ITL. I say most becuase I have seen "floating" selectboxes, > > and background pages in the content editor, which usualy indicates and > > syntax error somewhere on the page, however the above looks fine to me. > > > > If I remove this: > > [or session login_table ne 'affiliate'] > > > > I CAN then edit the page via ADMIN. This seems like maybe an issue with the > > content editor and the [or ...] tag in an [if] block. I tried an [and ...] > > also, and no joy. > > > > Can someone tell me where I should be looking to resolve this? > > > > There is a problem with the [if ...] tag in some situations, and has > been for a long time. I should probably look to fix it considerably > better with a proper parser, but for the moment I have committed a > change to the page editor which solves this situation. > > The change that is made will apply to all versions, but there > won't be any 4.9.6-specific fix made. It could be hand-edited > in based on this patch (or the patch might work as is): > > 522,537d521 > < [calcn] > < $page_content = <<'EoPA'; > < [page-param CONTENT] > < EoPA > < $page_preamble = <<'EoPB'; > < [page-param PREAMBLE] > < EoPB > < $page_postamble = <<'EoPC'; > < [page-param POSTAMBLE] > < EoPC > < for(\$page_content, \$page_preamble, \$page_postamble) { > < chop $$_; > < } > < return; > < [/calcn] > < > 550a535,550 > > > > [calc] > > $page_content = <<'EoPA'; > > [page-param CONTENT] > > EoPA > > $page_preamble = <<'EoPB'; > > [page-param PREAMBLE] > > EoPB > > $page_postamble = <<'EoPC'; > > [page-param POSTAMBLE] > > EoPC > > for(\$page_content, \$page_preamble, \$page_postamble) { > > chop $$_; > > } > > return; > > [/calc] > > Thanks for the report. > > -- > Mike Heins > Perusion -- Expert Interchange Consulting http://www.perusion.com/ > phone +1.513.523.7621 > > Fast, reliable, cheap. Pick two and we'll talk. -- unknown > > > --__--__-- > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > End of interchange-users Digest > From interchange-users@icdevgroup.org Sun Jan 19 17:21:01 2003 From: interchange-users@icdevgroup.org (Miguel Navarro) Date: Sun Jan 19 17:21:01 2003 Subject: [ic] Custom Shipping Message-ID: <00a701c2c009$570d4000$fd02000a@spider> Does anyone know how to modfiy shipping for packages? Currently I have shipping based on quantity eg 1 10 6.95*@@TOTAL@@ 11 9999 6.95*@@TOTAL@@ - 1.00 In cases where the product is a self contained package. eg productB is really a package containing 10 products so quantity is actually 10 and not 1. I do not see anyway to implement this unique product as a package. Basically I want productB to have a shipping charge of 69.50 and not 6.95 Does that make sense? And it does not look like you can modify the shipping.asc directly either. From interchange-users@icdevgroup.org Sun Jan 19 17:33:01 2003 From: interchange-users@icdevgroup.org (=?iso-8859-1?Q?Paco_S=E1nchez?=) Date: Sun Jan 19 17:33:01 2003 Subject: [ic] Force a payment method at checkout for some items References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS><00ac01c2bc9a$f743db00$95824fd4@europa><3E2570AC.8070603@leidinger.net><006901c2be7b$7a1ef820$d4834fd4@europa> <20030118002818.25cb3130.racke@linuxia.de> <001201c2befe$a477a3f0$d4834fd4@europa> <20030118100735.A11679@bill.heins.net> Message-ID: <001001c2c00a$974c6f50$420ed8d9@europa> ----- Original Message ----- From: "Mike Heins" To: Sent: Saturday, January 18, 2003 4:07 PM Subject: Re: [ic] Force a payment method at checkout for some items > > It would be better to have a "cod_allowed" field in pricing or inventory. > > This is a typical need of tying the database to the shopping cart > to test for shipping/pricing alternatives. IC has some facilities > that make it fairly easy to do it. > > Add a column to the inventory database (or anywhere you choose) named > "cod_allowed". Set it to 1 if COD is allowed, blank otherwise. > > In catalog.cfg: > > AutoModifier inventory:cod_allowed > > (Of course you restart/apply changes, having changed configuration.) > > Now there will be a cod_allowed attribute in the shopping cart. At that point, > you can do: > > [calc] > $Scratch->{allow_cod} = 1; > foreach my $item (@$Items) { > next if $item->{cod_allowed}; > $Scratch->{allow_cod} = 0; > last; > } > return; > [/calc] > > Now you can test for your allowed payment methods: > > [if scratch allow_cod] > # ITL you need to enable COD > [/if] > Thanks a lot both Mike and Jeff. I have implemented the AutoModifier stuff along with the database field and works very well. Thanks again. Paco Snchez http://pacosanchez.com mailto:psanchez%40pacosanchez%2ecom ICQ 101879542 From interchange-users@icdevgroup.org Sun Jan 19 17:35:11 2003 From: interchange-users@icdevgroup.org (=?iso-8859-1?Q?Paco_S=E1nchez?=) Date: Sun Jan 19 17:35:11 2003 Subject: [ic] Creating custom shipping dropdown list (about old post by Michael Lehmkuhl) References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS><00ac01c2bc9a$f743db00$95824fd4@europa><3E2570AC.8070603@leidinger.net><006901c2be7b$7a1ef820$d4834fd4@europa> <20030118002818.25cb3130.racke@linuxia.de> <001201c2befe$a477a3f0$d4834fd4@europa> <20030118100735.A11679@bill.heins.net> <004d01c2bf04$e838b4c0$0a01000a@badtzmaru.com> Message-ID: <001101c2c00a$9829fe10$420ed8d9@europa> Hi, I need to specify different shipping methods for different items that are shipped by different vendors. Searching through the list archives I found an old post by Michael Lehmkuhl about the exact same thing and a solution that he tried but did't seem to work 100%: ------------------ from old post --------------------- Here is the code that we are calling to generate the shipping dropdown: ###### CODE ord/checkout.html ###### [item-list modular=1] # Other stuff in here... [seti currentvendor][item-field vendor][/seti] # Other stuff in here... [/item-list] ###### CODE ###### -------------------- end old post ------------------- Of course this is done after creating a field at the products database with the name "vendor" and identifying shipping methods by the vendor prefix: say we create vendor1 then an UPS shipping name for this vendor would be vendor1UPS. The problem is that it only works partially, and all shipping alternatives show in the dropdown list, including those only reserved for other vendors. In case Michael is still around here, or anyone who has used this, I would appreciate some tips about making this work. Thanks in advance! Paco Snchez http://pacosanchez.com mailto:psanchez%40pacosanchez%2ecom ICQ 101879542 From interchange-users@icdevgroup.org Sun Jan 19 17:55:01 2003 From: interchange-users@icdevgroup.org (Lyn St George) Date: Sun Jan 19 17:55:01 2003 Subject: [ic] Webmin and suid makecat Message-ID: <20030119232327.EEEF925D380@mail.zolotek.net> On Fri, 17 Jan 2003 14:16:50 -0600, Mark Langkau wrote: >I'm interested in a web based catalog setup capability too. There are some >Webmin modules out there, but for older versions of IC. We have a Webmin module for Interchange which works fine with IC 4.9.5. It also lets you restart (but not stop) the Interchange daemon, add the extra variables found in 'additional_fields' into a new catalogue, and do all the stuff needed for SSL certs. (I'm currently looking at adding PGP/GPG functions to it, but it's not yet clear that they can be totally automated ..) Up to this point it's only been available to our hosting customers to use to make their own catalogues with, but I could make it available to others if they want it. Find a demo linked from my home page at http://www.zolotek.net >I'm somewhat new to IC, but I'd be willing to help put a HOWTO doc together >about this if I can get it to work. > >-- >Mark Langkau >mailto:mark@langkau.org > > >Mike Heins wrote [msg to Tim Stoakes]: > >>In fact, if you would make an eg/ style package with HOWTO I would >>give you a complete working install. Until then, I will just share >>the actual page that builds the catalog, though there is nothing >>too difficult there: > >_______________________________________________ >interchange-users mailing list >interchange-users@icdevgroup.org >http://www.icdevgroup.org/mailman/listinfo/interchange-users > - Cheers Lyn St George +--------------------------------------------------------------------------------- + http://www.zolotek.net .. eCommerce hosting, consulting + http://www.os2docs.org .. some 'How To' stuff ... +---------------------------------------------------------------------------------- From interchange-users@icdevgroup.org Sun Jan 19 18:42:00 2003 From: interchange-users@icdevgroup.org (Andy Lowe) Date: Sun Jan 19 18:42:00 2003 Subject: [ic] Ebay auctions and Interchange Message-ID: <002a01c2c014$41adbfe0$c4010a0a@agentsmith> First let me say how impressed I am with Interchange. Second let me apologize if this issue has been addressed earlier and I didnt find it in my searches. Now, to the point. I want Interchange to manage my auctions on Ebay, Yahoo etc. Most importantly I want for my auction customers to be able to checkout via Interchange. This will give my website greater exposure, and give me the opportunity to upsell my customers. In addition I want Interchange to manage starting auctions, notifying winners, collecting money, and shipping goods. What I am envisioning is integrating the services of Andale or the like into Interchange. I am open to suggestion, but I envision items in Interchange with auction metadata including type of auction, buy it now price, description, auction schedules etc. I want Interchange to automatically post the auctions according to these schedules. I envision auctions with a link for the winner to follow which takes them to the Interchange checkout which will upsell, calculate shipping, handling, and tax. I want items to be sold at auction, at the web store, or both. I dont care all that much about paypal since I have a credit merchant account. I realize this is a lot to ask, but who knows. It seems to me that someone out there must have Perl modules to parse winning notifications from Ebay and maybe even to post auctions, so it seems that the work would be in integrating that into Interchange. I think that Interchange already has the flexibility to do the rest fairly easily. So, has anyone done this? Has anyone considered this? Is anyone even interested? Would I be crazy to consider doing it myself? I have a cs degree, have built custom shopping carts, and even integrated Mailman (this mailing list software) with oracle and LDAP, but I do not understand Interchange well enough to estimate how much work is involved. For you consultants out there, how much would it cost to pay for this? If I pay for it I would insist that it be returned to the community. Any thoughts would be greatly appreciated. Cheers, Andy --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.435 / Virus Database: 244 - Release Date: 12/30/2002 From interchange-users@icdevgroup.org Sun Jan 19 19:08:00 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Sun Jan 19 19:08:00 2003 Subject: [ic] IClear Payment in germany In-Reply-To: <058401c2be9c$c24c4870$0100a8c0@spankmaster> References: <003b01c2be63$4533d620$0201a8c0@FOX.local> <058401c2be9c$c24c4870$0100a8c0@spankmaster> Message-ID: <20030120010643.554db468.racke@linuxia.de> On Sat, 18 Jan 2003 10:53:10 +0800 "Cameron" wrote: > It seems there's a lot of card processing facilities that act in this > fashion, and i don't like it either. The only conceivable way of getting > this to work that i can think of (being the interchange non-expert that i > am) is to on the Success page that you get returned to, manually insert the > order into the db. This is obviously less than ideal... Maybe someone else > knows of a nicer way to do it? Another idea is that the page that you get returned to by the payment gateway writes a file on the server and the checkout process waits with FAM on that file (see SGI::FAM) and completes the order afterwards. Bye Racke From interchange-users@icdevgroup.org Sun Jan 19 19:48:00 2003 From: interchange-users@icdevgroup.org (Grant) Date: Sun Jan 19 19:48:00 2003 Subject: [ic] Ebay auctions and Interchange In-Reply-To: <002a01c2c014$41adbfe0$c4010a0a@agentsmith> Message-ID: >First let me say how impressed I am with Interchange. >Second let me apologize if this issue has been addressed earlier and I >didnt find it in my searches. >Now, to the point. I want Interchange to manage my auctions on Ebay, >Yahoo etc. Most importantly I want for my auction customers to be able >to checkout via Interchange. This will give my website greater >exposure, and give me the opportunity to upsell my customers. In >addition I want Interchange to manage starting auctions, notifying >winners, collecting money, and shipping goods. What I am envisioning is >integrating the services of Andale or the like into Interchange. I am >open to suggestion, but I envision items in Interchange with auction >metadata including type of auction, buy it now price, description, >auction schedules etc. I want Interchange to automatically post the >auctions according to these schedules. I envision auctions with a link >for the winner to follow which takes them to the Interchange checkout >which will upsell, calculate shipping, handling, and tax. I want items >to be sold at auction, at the web store, or both. I dont care all that >much about paypal since I have a credit merchant account. I realize >this is a lot to ask, but who knows. > It seems to me that someone out there must have Perl modules to parse >winning notifications from Ebay and maybe even to post auctions, so it >seems that the work would be in integrating that into Interchange. I >think that Interchange already has the flexibility to do the rest fairly >easily. > So, has anyone done this? Has anyone considered this? Is anyone even >interested? Would I be crazy to consider doing it myself? I have a cs >degree, have built custom shopping carts, and even integrated Mailman >(this mailing list software) with oracle and LDAP, but I do not >understand Interchange well enough to estimate how much work is >involved. For you consultants out there, how much would it cost to pay >for this? If I pay for it I would insist that it be returned to the >community. Any thoughts would be greatly appreciated. >Cheers, > Andy I've actually been thinking about this a lot lately, and *conceptually* this is what I've come up with: 1. import all Interchange items as auction items into your auction management system (I like ChannelAdvisor) 2. have items with an inventory greater than 0 listed on the auction sites of your choice 3. after an auction purchase is made, the automatic auction email is sent to the purchaser with a link to the special IC auction page (auction.html) 4. on auction.html, the purchaser enters their auction item number and the sku of the item they won 5. the customer is then taken to the Your Cart page with the appropriate item in their cart 6. the customer then has the option to "continue shopping" or "checkout" 7. each day, a fresh items file is imported into ChannelAdvisor and all currently unlisted items with an inventory greater than 0 are listed at auction 8. after processing any order, check to see if it was for an auction (the info could have been set in a table and included in the report email) and mark that transaction as complete in ChannelAdvisor and leave feedback 9. ChannelAdvisor sends emails to late checkouts and NPBs to deadbeats This means you would need to: 1. get IC to export items file and (as you said) include auction specific information in the products.txt info 2. set up the auction.html page to add the sku entered into the cart and record the auction number 3. set up ChannelAdvisor (or other auction management service) the way you want it Now, this is what I've come up with due to my very limited IC skills. It's based around being relatively easy to implement. I'd love to hear about other possible systems that are smoother and more efficient, or critiques of this system. - Grant From interchange-users@icdevgroup.org Sun Jan 19 21:24:00 2003 From: interchange-users@icdevgroup.org (Cameron) Date: Sun Jan 19 21:24:00 2003 Subject: [ic] Orders not matching up with users in the UI References: Message-ID: <005d01c2c02a$8c7f7d40$0100a8c0@spankmaster> ----- Original Message ----- From: "Paul Jordan" To: Sent: Monday, January 20, 2003 3:06 AM Subject: RE: [ic] Orders not matching up with users in the UI > > I've just gone live with a site and taken some orders, but in the UI, i'm > > finding some weird stuff. Viewing the Pending Orders section shows all the > > orders with the appropriate Order number, yet clicking on that > > order number > > brings up the View Order page, but with none of the details filled in! The > > order has definately been entered into the Orderline table, and > > the customer > > definately exists in the user table, so what could be causing the > > View Order > > page to break in this manner? > > > > Note: if i bring up the View Customer page, the order numbers associated > > with the client are all wrong. I did at one stage change the Last order > > number on the administration page (it has TEST in the number), and yeah... > > things seem to have gone pear shaped. Any idea where this may be breaking > > and what i need to do to fix it? > > > Hi Cameron, > > If I remember correctly, didn't you build a log_transaction from scratch? > This sounds to me like data is not getting written correctly to the tables. > I say *correctly, becuase you mention that there is data getting written to > these tables. The Order View page does not read from userdb, as you imply > above, it reads the written data that was copied into transactions table. > > Try posting your IC version, and a couple records from 'transaction' and > corresponding 'orderline'... > > It sounds to me like this is a log_transaction issue. Compare it to a > foundation copy. > > Paul > v 4.8.6 Transaction: 101010 101010 HAesHaq9 U00008 worldwide (Worldwide Delivery 7-10 days US$ 35.00) 1 283 35 318 first last address suburb state zip US phone email AL US 20030119 19:10:18 20030119 7 pending 0 0 0 Orderline: 101010-1 1904 Item Name 283 1 283 looks right to me :/ From interchange-users@icdevgroup.org Sun Jan 19 21:31:00 2003 From: interchange-users@icdevgroup.org (Kai and Sally Berberich) Date: Sun Jan 19 21:31:00 2003 Subject: [ic] A few Interchange queries Message-ID: Hi, I am in the process of finding out more about Interchange, and after having played with the demo store for a while I have a couple of queries. A) Is it possible to build some automation into the order numbering system ? What I mean by this is that the in the demo store, the order number appears to be a simple iterator of whatever number code is entered. I want to set the order number up so that it is a combination of date AND iterator ie at the start of each day, the order number is set to the current date plus the number 1 eg the first order today would be "20030120-1" - then this number is incremented throughout the day until it is reset the next morning eg 20030121-1 tomorrow morning. Is this possible and if so - how can it be done. B) The demo system has a number of lookup tables that bear no relevance to my business eg the freight/shipping lookup tables. Is it possible to remove or alter these tables and/or create new ones ? Or is the existing table structure set in stone ? Thanks in advance for your assistance with these queries and I look forward to your responses. Regards Kai Berberich From interchange-users@icdevgroup.org Sun Jan 19 22:08:00 2003 From: interchange-users@icdevgroup.org (Admin) Date: Sun Jan 19 22:08:00 2003 Subject: [ic] Ebay auctions and Interchange In-Reply-To: Message-ID: -----Original Message----- Subject: RE: [ic] Ebay auctions and Interchange 3. after an auction purchase is made, the automatic auction email is sent to the purchaser with a link to the special IC auction page (auction.html) 4. on auction.html, the purchaser enters their auction item number and the sku of the item they won 5. the customer is then taken to the Your Cart page with the appropriate item in their cart 6. the customer then has the option to "continue shopping" or "checkout" 7. each day, a fresh items file is imported into ChannelAdvisor and all currently unlisted items with an inventory greater than 0 are listed at auction >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>. Just thinking..... If you just take the user to your "auction" page, and then check out... how are your transferring the final end of auction price to the page. In your scenario, they are presented with your cart price and not the cost of item at end of auction (which may be higher than your cart price). Also, if you go this far... just have IC create a file of your auction products (can even be done with criteria as you may want to only out for auction certain categories of items. Have that executed via cron, then write a simple perl script to auto FTP the file to your auction house which also could be run via cron... but then you must think about the logic of your export query as not to list same item day after day, as most auctions last more than 24 hours... Food for thought.. Russ Smith From interchange-users@icdevgroup.org Sun Jan 19 22:19:01 2003 From: interchange-users@icdevgroup.org (marty) Date: Sun Jan 19 22:19:01 2003 Subject: [ic] Orders not matching up with users in the UI In-Reply-To: <005d01c2c02a$8c7f7d40$0100a8c0@spankmaster> References: <005d01c2c02a$8c7f7d40$0100a8c0@spankmaster> Message-ID: <1043032864.22302.4.camel@swanky.mdhome.net> On Sun, 2003-01-19 at 18:20, Cameron wrote: [snip] > > v 4.8.6 > Transaction: > 101010 101010 HAesHaq9 U00008 worldwide (Worldwide Delivery 7-10 > days US$ 35.00) 1 283 35 318 first last address suburb state > zip US phone email AL US 20030119 19:10:18 20030119 7 > pending 0 0 0 > > > Orderline: 101010-1 1904 Item Name 283 1 283 > > > > looks right to me :/ Hmm, it's hard to tell because you did not put the headers for the fields listed however, one glaring error is the lack of an order_number in the orderline table. Your first column listed "101010-1" is the line item and unique code for that row. Each successive item in that order will increment the code by 1, ie: 101010-2, 101010-3 etc.. Interchange will look at the order_number field to determine which order it is associated with. (a one-to-many relationship) That order number should be 101010. Without a proper order number in the field, nothing will match up. What's 1904? -- marty From interchange-users@icdevgroup.org Sun Jan 19 22:39:00 2003 From: interchange-users@icdevgroup.org (marty) Date: Sun Jan 19 22:39:00 2003 Subject: [ic] A few Interchange queries In-Reply-To: References: Message-ID: <1043034075.22307.22.camel@swanky.mdhome.net> On Sun, 2003-01-19 at 16:06, Kai and Sally Berberich wrote: > Hi, > > I am in the process of finding out more about Interchange, and after having > played with the demo store for a while I have a couple of queries. > > A) Is it possible to build some automation into the order numbering system ? > What I mean by this is that the in the demo store, the order number appears > to be a simple iterator of whatever number code is entered. I want to set > the order number up so that it is a combination of date AND iterator ie at > the start of each day, the order number is set to the current date plus the > number 1 eg the first order today would be "20030120-1" - then this number > is incremented throughout the day until it is reset the next morning eg > 20030121-1 tomorrow morning. Is this possible and if so - how can it be > done. Yep, it's possible. As is usual with ic, there are many ways to do it. You could modify etc/log_transaction and perhaps put in some logic there. If it was me, I think I would write a cron job and have it run at midnight each night and update /etc/order.number with the proper string. That's a bit risky if you have a busy catalog however. But if you did it that way you could do something like echo #COUNTER-1.0\n`date +%Y%m%d` > /path/order.number (not tested) Avoid the hyphen if you can. The code field in the orderline table will be the order number seperated by a hyphen and then the line item number. It you use a hyphen in your order number, it will make your queries that much more complicated. > > B) The demo system has a number of lookup tables that bear no relevance to > my business eg the freight/shipping lookup tables. Is it possible to remove > or alter these tables and/or create new ones ? Or is the existing table > structure set in stone ? Your best bet is to leave those tables just the way they are. Otherwise you may be breaking things and not even know it, then spending days and days finding the problem. It is usually ok to add a field to tables (always add fields to the END of the table and reconfig the catalog after any updates) and it is definitely ok to create your own tables. The table structure is definitely not set in stone, in fact, it can be just about anything. But unless you are absolutely certain that removing a field or table will not have any affect on your catalog, your best off to leave them in tact. > > Thanks in advance for your assistance with these queries and I look forward > to your responses. > > Regards > Kai Berberich > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users -- marty From interchange-users@icdevgroup.org Sun Jan 19 23:03:00 2003 From: interchange-users@icdevgroup.org (Cameron) Date: Sun Jan 19 23:03:00 2003 Subject: [ic] Orders not matching up with users in the UI References: <005d01c2c02a$8c7f7d40$0100a8c0@spankmaster> <1043032864.22302.4.camel@swanky.mdhome.net> Message-ID: <007101c2c037$f4e0c260$0100a8c0@spankmaster> > On Sun, 2003-01-19 at 18:20, Cameron wrote: > [snip] > > > > v 4.8.6 > > Transaction: > > 101010 101010 HAesHaq9 U00008 worldwide (Worldwide Delivery 7-10 > > days US$ 35.00) 1 283 35 318 first last address suburb state > > zip US phone email AL US 20030119 19:10:18 20030119 7 > > pending 0 0 0 > > > > > > Orderline: 101010-1 1904 Item Name 283 1 283 > > > > > > > > looks right to me :/ > > Hmm, it's hard to tell because you did not put the headers for the > fields listed however, one glaring error is the lack of an order_number > in the orderline table. Your first column listed "101010-1" is the line > item and unique code for that row. Each successive item in that order > will increment the code by 1, ie: 101010-2, 101010-3 etc.. Interchange > will look at the order_number field to determine which order it is > associated with. (a one-to-many relationship) That order number should > be 101010. Without a proper order number in the field, nothing will > match up. > > What's 1904? > > -- > marty ok, i've narrowed it down. I've exported the orderline table, and lo and behold, it's corrupted. Every time a new order is being put in, it's coming out as if there's an incorrect character following after the text - for the sake of the exported file, it's supposed to be a tab, but it's coming out like a CR. you should see the funky patterns that Excel displays this file in ;) all the old orders in there are fine, it's just the new ones - they're all broken :( i've had a look at log_transaction, but it SEEMS ok. everything else is getting inserted into the appropriate tables in the appropriate fashion, so i can't understand why it'd be doing this. my immediate thought was along the lines of "it'll be full of DOS cr/lf's" and that'd be confusing it, but there really isn't anything to be found anywhere. the code is almost exactly the same as the code from the foundation cart, all bar the "options:" line that i took out a while ago for some reason i don't recall - but this exact same log_transaction file is working fine on another site. so, yeah, anyone know what might be causing this? i can fix it, by manually changing the orderline table and then uploading it again, but this obviously isn't a long term solution... :) From interchange-users@icdevgroup.org Mon Jan 20 00:29:00 2003 From: interchange-users@icdevgroup.org (David Etheredge) Date: Mon Jan 20 00:29:00 2003 Subject: [ic] UPS charges not correct ( using wrong zip ? ) Message-ID: <000901c2c043$e2a98ee0$05a2a2a2@david98> >> I am still having a severe problem with the UPS external (web) lookup. I >> have the shipping zip as 35006 and default zip as 35006, but the UPS >> still appears to be using the 450.csv for zone calculation or some other >> zip code table. I have been through the entire shipping setup and tables >> and can not find anywhere that the system is using anything wrong. >> Everything is set to 350. >> If it looks up a package for zip 35006 it sets zone 7 or 8 while it >> should be zone 2! It charges more to ship to my own zipcode and >> neighboring states than it does to the west coast! >> This is not a new problem, I checked back and it has existed since I >> started using Interchange. >> Also, how can I trap and log the data being sent to UPS and returned? >> Any ideas? > Check your variable table to see what the default zip there is set to. > It should be set to your ship from zip. > Gerry All zip code entries were originally set as follows: UPS_ORIGIN 35006 Shipping ZIP 35006 Company SHIP_DEFAULT_ZIP 35006 Shipping UPS_POSTCODE_FIELD zip Shipping From interchange-users@icdevgroup.org Mon Jan 20 01:18:01 2003 From: interchange-users@icdevgroup.org (ACforSale Inc Sales Team) Date: Mon Jan 20 01:18:01 2003 Subject: [ic] UPS charges not correct ( using wrong zip ? ) In-Reply-To: <000901c2c043$e2a98ee0$05a2a2a2@david98> Message-ID: <00a801c2c04b$a0956260$0b00a8c0@CCS> >> I am still having a severe problem with the UPS external (web) >> lookup. I have the shipping zip as 35006 and default zip as 35006, >> but the UPS still appears to be using the 450.csv for zone >> calculation or some other zip code table. I have been through the >> entire shipping setup and tables and can not find anywhere that the >> system is using anything wrong. Everything is set to 350. >> If it looks up a package for zip 35006 it sets zone 7 or 8 while it >> should be zone 2! It charges more to ship to my own zipcode and >> neighboring states than it does to the west coast! >> This is not a new problem, I checked back and it has existed since I >> started using Interchange. >> Also, how can I trap and log the data being sent to UPS and returned? >> Any ideas? > Check your variable table to see what the default zip there is set to. > It should be set to your ship from zip. > Gerry All zip code entries were originally set as follows: UPS_ORIGIN 35006 Shipping ZIP 35006 Company SHIP_DEFAULT_ZIP 35006 Shipping UPS_POSTCODE_FIELD zip Shipping _______________________________________________ Check your products/shipping.asc file for your zip code you should have something like this for an external www ups style lookup (I'm shipping from zip 33155 so modify below to suit your requirements): GNDRES UPS Ground Shipping Residential weight 0 0 e Nothing to ship! {'origin' => "33155",'ui_ship_type' => "UPSE:GNDRES",'table' => "Ground",'zone' => "330",'ups' => "1",'adder' => "0.00",'at_least' => "0.00",'PriceDivide' => "1",'geo' => "zip",} GNDRES Ground Shipping weight 0 150 f [ups-query mode=GNDRES weight="@@TOTAL@@"] {'PriceDivide' => "1",} GNDRES Ground Shipping weight 150 9999999 e Too heavy - Please call for Quote {'PriceDivide' => "1",} If you are doing an internal lookup try something like this (I just got my internal working up to 600lbs - another story - hence the 600 values below): INTGND Ground Shipping (US 48 States) weight 0 0 e Nothing to ship! {'ui_ship_type' => "UPSI",'zone' => "330",'table' => "Ground",'ups' => "1",'adder' => "0.00",'at_least' => "0.00",'PriceDivide' => "1",'geo' => "zip",} INTGND Ground Shipping (US 48 States) weight 0 600 u 330 [Ground zip] INTGND Ground Shipping (US 48 States) weight 601 9999999 e Please call for Shipping Quote What you may need to do also is make sure that the zone file (in my case products/330.zip) exists and contains the zone information for zone range zips, you could modify the 450.zip with your data, however I suggest that you download a new set of zip zone data from UPS and create your zip zone file. Hope this helps Gerry From interchange-users@icdevgroup.org Mon Jan 20 02:05:01 2003 From: interchange-users@icdevgroup.org (Miguel Navarro) Date: Mon Jan 20 02:05:01 2003 Subject: [ic] Creating custom shipping dropdown list (about old post by Michael Lehmkuhl) References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS><00ac01c2bc9a$f743db00$95824fd4@europa><3E2570AC.8070603@leidinger.net><006901c2be7b$7a1ef820$d4834fd4@europa> <20030118002818.25cb3130.racke@linuxia.de> <001201c2befe$a477a3f0$d4834fd4@europa> <20030118100735.A11679@bill.heins.net> <004d01c2bf04$e838b4c0$0a01000a@badtzmaru.com> <001101c2c00a$9829fe10$420ed8d9@europa> Message-ID: <00de01c2c052$9baad2b0$fd02000a@spider> ----- Original Message ----- From: "Paco Snchez" To: Sent: Sunday, January 19, 2003 2:31 PM Subject: [ic] Creating custom shipping dropdown list (about old post by Michael Lehmkuhl) > Hi, I need to specify different shipping methods for different items that > are shipped by different vendors. > > Searching through the list archives I found an old post by Michael Lehmkuhl > about the exact same thing and a solution that he tried but did't seem to > work 100%: > > ------------------ from old post --------------------- > > Here is the code that we are calling to generate the shipping dropdown: > ###### CODE ord/checkout.html ###### > [item-list modular=1] > > # Other stuff in here... > > [seti currentvendor][item-field vendor][/seti] > > > > # Other stuff in here... > > [/item-list] > ###### CODE ###### > > -------------------- end old post ------------------- > > Of course this is done after creating a field at the products database with > the name "vendor" and identifying shipping methods by the vendor prefix: > say we create vendor1 then an UPS shipping name for this vendor would be > vendor1UPS. > > The problem is that it only works partially, and all shipping alternatives > show in the dropdown list, including those only reserved for other vendors. > > In case Michael is still around here, or anyone who has used this, I would > appreciate some tips about making this work. > > Thanks in advance! > > Paco Snchez > http://pacosanchez.com > mailto:psanchez%40pacosanchez%2ecom > ICQ 101879542 > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > That is nice.. But where are you getting the shipping costs from? One another note does anyone know where ord/checkout.html is configured to the store? The checkout.html file I am using in storeid = 'store' is not the one I see being displayed, the one being displayed is the foundation checkout.html template. M From interchange-users@icdevgroup.org Mon Jan 20 07:57:01 2003 From: interchange-users@icdevgroup.org (John Delaney) Date: Mon Jan 20 07:57:01 2003 Subject: [ic] interpolate / reparse inside area tag??? Message-ID: I have an odd question regarding interpolating inside an "area" tag. I'm trying to filter a variable like so (note we have created our own "url" tag for the filter): [filter op=url interpolate=1][sql-param category][/filter]. Then I need to parse it inside an "area" href. I know from reading the documentation that the "area" tag is a standalone tag and does not interpolate. So this is a major problem. Not being a Perl Wizard, like a lot of you cleaver chappies, I cant find anyway of getting the filtered variable into my URL. I've tried using a scratch variable but is it has the exact same effect, obviously!!! John Delaney From interchange-users@icdevgroup.org Mon Jan 20 08:15:01 2003 From: interchange-users@icdevgroup.org (Rene Hertell) Date: Mon Jan 20 08:15:01 2003 Subject: [ic] interpolate / reparse inside area tag??? In-Reply-To: Message-ID: > I have an odd question regarding interpolating inside an "area" tag. > > I'm trying to filter a variable like so (note we have created our > own "url" > tag for the filter): [filter op=url interpolate=1][sql-param > category][/filter]. Then I need to parse it inside an "area" href. > > I know from reading the documentation that the "area" tag is a standalone > tag and does not interpolate. > > So this is a major problem. Not being a Perl Wizard, like a lot of you > cleaver chappies, I cant find anyway of getting the filtered variable into > my URL. I've tried using a scratch variable but is it has the exact same > effect, obviously!!! Did you try the [page] tag? Ren From interchange-users@icdevgroup.org Mon Jan 20 08:18:01 2003 From: interchange-users@icdevgroup.org (Miguel Jamous) Date: Mon Jan 20 08:18:01 2003 Subject: [ic] Webmin and suid makecat In-Reply-To: Message-ID: Hello, Why aren't you posting your wedmin module to the Webmin site ? Thanks, Miguel -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Lyn St George Sent: Sunday, 19 January, 2003 23:54 To: interchange-users@icdevgroup.org Subject: Re: [ic] Webmin and suid makecat On Fri, 17 Jan 2003 14:16:50 -0600, Mark Langkau wrote: >I'm interested in a web based catalog setup capability too. There are some >Webmin modules out there, but for older versions of IC. We have a Webmin module for Interchange which works fine with IC 4.9.5. It also lets you restart (but not stop) the Interchange daemon, add the extra variables found in 'additional_fields' into a new catalogue, and do all the stuff needed for SSL certs. (I'm currently looking at adding PGP/GPG functions to it, but it's not yet clear that they can be totally automated ..) Up to this point it's only been available to our hosting customers to use to make their own catalogues with, but I could make it available to others if they want it. Find a demo linked from my home page at http://www.zolotek.net >I'm somewhat new to IC, but I'd be willing to help put a HOWTO doc together >about this if I can get it to work. > >-- >Mark Langkau >mailto:mark@langkau.org > > >Mike Heins wrote [msg to Tim Stoakes]: > >>In fact, if you would make an eg/ style package with HOWTO I would >>give you a complete working install. Until then, I will just share >>the actual page that builds the catalog, though there is nothing >>too difficult there: > >_______________________________________________ >interchange-users mailing list >interchange-users@icdevgroup.org >http://www.icdevgroup.org/mailman/listinfo/interchange-users > - Cheers Lyn St George +--------------------------------------------------------------------------- ------ + http://www.zolotek.net .. eCommerce hosting, consulting + http://www.os2docs.org .. some 'How To' stuff ... +--------------------------------------------------------------------------- ------- _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Mon Jan 20 08:22:00 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Mon Jan 20 08:22:00 2003 Subject: [ic] interpolate / reparse inside area tag??? In-Reply-To: References: Message-ID: <20030120142110.61be31a1.racke@linuxia.de> On Mon, 20 Jan 2003 12:57:02 -0000 John Delaney wrote: > I have an odd question regarding interpolating inside an "area" tag. > > I'm trying to filter a variable like so (note we have created our own "url" > tag for the filter): [filter op=url interpolate=1][sql-param > category][/filter]. Then I need to parse it inside an "area" href. > > I know from reading the documentation that the "area" tag is a standalone > tag and does not interpolate. > > So this is a major problem. Not being a Perl Wizard, like a lot of you > cleaver chappies, I cant find anyway of getting the filtered variable into > my URL. I've tried using a scratch variable but is it has the exact same > effect, obviously!!! [area href="[filter ...]...[/filter]"] should work. Bye Racke From interchange-users@icdevgroup.org Mon Jan 20 09:22:01 2003 From: interchange-users@icdevgroup.org (Carlton Thomas) Date: Mon Jan 20 09:22:01 2003 Subject: [ic] Webmin and suid makecat In-Reply-To: <20030119232327.EEEF925D380@mail.zolotek.net> Message-ID: On Sun, 19 Jan 2003, Lyn St George wrote: > We have a Webmin module for Interchange which works fine with > IC 4.9.5. It also lets you restart (but not stop) the Interchange > daemon, add the extra variables found in 'additional_fields' into > a new catalogue, and do all the stuff needed for SSL certs. (I'm > currently looking at adding PGP/GPG functions to it, but it's not > yet clear that they can be totally automated ..) Hi, I would love to get hold of a copy of your Webmin module. I was going to attempt to write one myself based on an old version I found on the Webmin website (4.6.x, I think). Any chance of emailing a copy or adding it to the Webmin third party modules site? Regards ! -- Carlton ============================= GIFFORD INTERNET SERVICES Bristol, United Kingdom Tel: 0845 111 0032 Tel: 0117 939 7722 Fax: 0845 111 0033 Email: admin@gifford.co.uk Web: http://www.gifford.co.uk ============================= From interchange-users@icdevgroup.org Mon Jan 20 10:17:01 2003 From: interchange-users@icdevgroup.org (John Delaney) Date: Mon Jan 20 10:17:01 2003 Subject: [ic] interpolate / reparse inside area tag??? Message-ID: [area href="[filter ...]...[/filter]"] should work. Cheers Stefan! I simply missed out the quotes surrounding the area href. DOH! School boy error. John Delaney From interchange-users@icdevgroup.org Mon Jan 20 11:05:01 2003 From: interchange-users@icdevgroup.org (Grant) Date: Mon Jan 20 11:05:01 2003 Subject: [ic] Ebay auctions and Interchange In-Reply-To: Message-ID: >-----Original Message----- >Subject: RE: [ic] Ebay auctions and Interchange >3. after an auction purchase is made, the automatic auction email >is sent to >the purchaser with a link to the special IC auction page (auction.html) >4. on auction.html, the purchaser enters their auction item number and the >sku of the item they won >5. the customer is then taken to the Your Cart page with the appropriate >item in their cart >6. the customer then has the option to "continue shopping" or "checkout" >7. each day, a fresh items file is imported into ChannelAdvisor and all >currently unlisted items with an inventory greater than 0 are listed at >auction >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>. > > >Just thinking..... > >If you just take the user to your "auction" page, and then check out... how >are your transferring the final end of auction price to the page. In your >scenario, they are presented with your cart price and not the cost of item >at end of auction (which may be higher than your cart price). Very true! I'm planning on using fixed auction prices with the same price as the store price though. > >Also, if you go this far... just have IC create a file of your auction >products (can even be done with criteria as you may want to only out for >auction certain categories of items. Have that executed via cron, >then write >a simple perl script to auto FTP the file to your auction house which also >could be run via cron... but then you must think about the logic of your >export query as not to list same item day after day, as most auctions last >more than 24 hours... Cool, thanks Russ! - Grant From interchange-users@icdevgroup.org Mon Jan 20 11:12:01 2003 From: interchange-users@icdevgroup.org (Miguel Navarro) Date: Mon Jan 20 11:12:01 2003 Subject: [ic] Age Old Question References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS><00ac01c2bc9a$f743db00$95824fd4@europa><3E2570AC.8070603@leidinger.net><006901c2be7b$7a1ef820$d4834fd4@europa> <20030118002818.25cb3130.racke@linuxia.de> <001201c2befe$a477a3f0$d4834fd4@europa> <20030118100735.A11679@bill.heins.net> <004d01c2bf04$e838b4c0$0a01000a@badtzmaru.com> <001101c2c00a$9829fe10$420ed8d9@europa> <00de01c2c052$9baad2b0$fd02000a@spider> Message-ID: <003b01c2c09f$0b5d9290$fd02000a@spider> Does anyone know how to capture the credit_card_number? I am well aware of that you would not want to do this, but the business practice is to hold the number for a period of 10 days as it sends its orders to a fullfilment center. Please contact me directly or post this information. I have gone through the archives and only found many messages about why you shouldn't do this. If your only response is going to be why I shouldn't do this, please don't clog up the group with something we already know. Thanks M From interchange-users@icdevgroup.org Mon Jan 20 11:36:01 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Mon Jan 20 11:36:01 2003 Subject: [ic] Age Old Question In-Reply-To: <003b01c2c09f$0b5d9290$fd02000a@spider>; from jack@blueweb-inc.com on Mon, Jan 20, 2003 at 08:14:43AM -0800 References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS><00ac01c2bc9a$f743db00$95824fd4@europa><3E2570AC.8070603@leidinger.net><006901c2be7b$7a1ef820$d4834fd4@europa> <20030118002818.25cb3130.racke@linuxia.de> <001201c2befe$a477a3f0$d4834fd4@europa> <20030118100735.A11679@bill.heins.net> <004d01c2bf04$e838b4c0$0a01000a@badtzmaru.com> <001101c2c00a$9829fe10$420ed8d9@europa> <00de01c2c052$9baad2b0$fd02000a@spider> <003b01c2c09f$0b5d9290$fd02000a@spider> Message-ID: <20030120113545.A12444@bill.heins.net> Quoting Miguel Navarro (jack@blueweb-inc.com): > Does anyone know how to capture the credit_card_number? I am well aware of > that you would not want to do this, but the business practice is to hold the > number for a period of 10 days as it sends its orders to a fullfilment > center. Please contact me directly or post this information. I have gone > through the archives and only found many messages about why you shouldn't do > this. If your only response is going to be why I shouldn't do this, please > don't clog up the group with something we already know. You can capture them PGP-encrypted for your records, and decrypt them in the unlikely event you need them. There are multiple sources for this information -- basically all you need to do is add the PGP/GPG key to your interchange user's keyring, and put the key ID in the EncryptKey directive in catalog.cfg (can usually be set with PGP_KEY preference in UI). In 4.9.7, I even have set up a "wizard" which will add GPG keys, check which ones are on your ring, and set it up. Now that I think about it, I should add a "test your setting" page and will do so. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 I have a cop friend who thinks he ought be able to give a new ticket; "too dumb for conditions". From interchange-users@icdevgroup.org Mon Jan 20 12:23:01 2003 From: interchange-users@icdevgroup.org (Brendan Crosser-McGay) Date: Mon Jan 20 12:23:01 2003 Subject: [ic] Options that require Text Entry In-Reply-To: <000f01c2c000$2dc76350$ef0329d0@vl2k> Message-ID: Yes, I had that same problem, its to due with the fact that the options tag in interchange will not automatically display values of options that are not predetermined in the admin interface. The only way around it, is by using the [item-modifier (name of option)] tag and using the specific name of the option, unfortunately it means you need to pre-define each option that your catalog can use. But it does work, has anyone else found a way of automatically displaying all options, including user-defined value options? -Brendan -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Farshad Farzan Sent: Sunday, January 19, 2003 1:18 PM To: interchange-users@icdevgroup.org Subject: [ic] Options that require Text Entry I have set up an item with simple options , 3 select widgets, and 1 Text Entry Widget. After selecting the options during checkout and placing the order, the receipt and the Email does not show the value of the Text Entry, It just shows the label !! Whereas, the other options show both label and value.!!! Looking further in the admin / orders , and the options are shown with their labels and values intact..! I have seen through the archive that this has been issue for others in previous versions, is this a bug, or is there a work-around ??? Thanks. Farshad Farzan Intelligent Measurement, Inc. 16115 Wyandotte Street Van Nuys, CA 91406 Tel 818 901 6787 Fax 818 901 1787 _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Mon Jan 20 13:30:01 2003 From: interchange-users@icdevgroup.org (Elvis Altherr) Date: Mon Jan 20 13:30:01 2003 Subject: [ic] Shipping Methods Message-ID: <000501c2c0b1$fc50bfd0$6701a8c0@webtownelvisaltherr.ch> Hi Interchange Users List Question: how can i implement the following thing in the Interchange Shop of a customer after a User has completed his chart, he checks out and then automatically there shoud be a shipping tax of SFR 6.- to be added to the total price, and also there shoud be a execption (if Statement) if the total prices is over SFR 200.- (which is shipping free) I tried this with adding a shipping method, but it doesn't work, the tax won't be added Any idea? thanks in advace for your trouble kind regards Elvis Altherr From interchange-users@icdevgroup.org Mon Jan 20 13:36:00 2003 From: interchange-users@icdevgroup.org (Lyn St George) Date: Mon Jan 20 13:36:00 2003 Subject: [ic] Webmin and suid makecat Message-ID: <20030120190428.6745925D2F7@mail.zolotek.net> On Mon, 20 Jan 2003 14:21:17 +0000 (GMT/BST), Carlton Thomas wrote: >On Sun, 19 Jan 2003, Lyn St George wrote: > >> We have a Webmin module for Interchange which works fine with >> IC 4.9.5. It also lets you restart (but not stop) the Interchange >> daemon, add the extra variables found in 'additional_fields' into >> a new catalogue, and do all the stuff needed for SSL certs. (I'm >> currently looking at adding PGP/GPG functions to it, but it's not >> yet clear that they can be totally automated ..) > >Hi, > >I would love to get hold of a copy of your Webmin module. I was >going to attempt to write one myself based on an old version I >found on the Webmin website (4.6.x, I think). Any chance of >emailing a copy or adding it to the Webmin third party modules >site? Yes, I'm happy to make it available. Please note though, that because it's been through so many patches and revisions (and only intended for internal use) the code is now really quite messy. I'll tidy it up and add proper comments and then release it. (This may take a few days, considering the other claims on my time, not to mention my wife and child ... ) I think I'll leave the PGP/GPG stuff alone, especially as it is so easy to do that by ssh. >Regards ! > >-- >Carlton >============================= >GIFFORD INTERNET SERVICES >Bristol, United Kingdom >Tel: 0845 111 0032 >Tel: 0117 939 7722 >Fax: 0845 111 0033 >Email: admin@gifford.co.uk >Web: http://www.gifford.co.uk >============================= - Cheers Lyn St George +--------------------------------------------------------------------------------- + http://www.zolotek.net .. eCommerce hosting, consulting + http://www.os2docs.org .. some 'How To' stuff ... +---------------------------------------------------------------------------------- From interchange-users@icdevgroup.org Mon Jan 20 13:37:59 2003 From: interchange-users@icdevgroup.org (Jay Sun) Date: Mon Jan 20 13:37:59 2003 Subject: [ic] A few Interchange queries Message-ID: > >A) Is it possible to build some automation into the order numbering system ? >What I mean by this is that the in the demo store, the order number appears >to be a simple iterator of whatever number code is entered. I want to set >the order number up so that it is a combination of date AND iterator ie at >the start of each day, the order number is set to the current date plus the >number 1 eg the first order today would be "20030120-1" - then this number >is incremented throughout the day until it is reset the next morning eg >20030121-1 tomorrow morning. Is this possible and if so - how can it be >done. sure, you just need to make changes in Order.pm. There is no trivial configuration changes for this as far as I know > >B) The demo system has a number of lookup tables that bear no relevance to >my business eg the freight/shipping lookup tables. Is it possible to remove >or alter these tables and/or create new ones ? Or is the existing table >structure set in stone ? > It is better to keep the table structure, but you can decide which field(s) is(are) to be used/not used. shipping is not even stored in sql table, it is in shipping.txt in the product directory. In 4.9.5 and above, there is a demo for a paid download site, such as software, research reports, downloadable articles, etc, so there is no shipping/freight related caculations. Check out that. J. http://suniant.com/ _____________________________________________________________ Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year. http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus From interchange-users@icdevgroup.org Mon Jan 20 13:57:00 2003 From: interchange-users@icdevgroup.org (San Wong) Date: Mon Jan 20 13:57:00 2003 Subject: [ic] Need help with Admin UI order entry Message-ID: I am using IC 4.9.5 and had a problem entering the order from the Admin UI. The order didn't go through, even though it forward the page to the pendingorder page. The next time when I enter the order, the form is already filled with the previous information like the order didn't go through. Is there a workaround for this problem. I've been struggling to resolve this. If someone can give me pointers, I really appreciate it. Thanks in advance! ~San From interchange-users@icdevgroup.org Mon Jan 20 14:03:02 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Mon Jan 20 14:03:02 2003 Subject: [ic] A few Interchange queries In-Reply-To: ; from js9s@lycos.com on Mon, Jan 20, 2003 at 12:37:37PM -0600 References: Message-ID: <20030120140235.A15594@bill.heins.net> Quoting Jay Sun (js9s@lycos.com): > > > > >A) Is it possible to build some automation into the order numbering system ? > >What I mean by this is that the in the demo store, the order number appears > >to be a simple iterator of whatever number code is entered. I want to set > >the order number up so that it is a combination of date AND iterator ie at > >the start of each day, the order number is set to the current date plus the > >number 1 eg the first order today would be "20030120-1" - then this number > >is incremented throughout the day until it is reset the next morning eg > >20030121-1 tomorrow morning. Is this possible and if so - how can it be > >done. > > sure, you just need to make changes in Order.pm. There is no trivial > configuration changes for this as far as I know Yes, there is. If you set a value in $Session->{mv_order_number}, that will be used instead of the counter value. If you are thinking of hacking an Interchange core module, I recommend you don't do it. There is almost always a better way. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 How far can you open your mind before your brains fall out? From interchange-users@icdevgroup.org Mon Jan 20 15:13:00 2003 From: interchange-users@icdevgroup.org (Schuyler Langdon) Date: Mon Jan 20 15:13:00 2003 Subject: [ic] accessories tag References: <1042486375.3e231467e55cf@naturebuzz.com> <000f01c2bb58$d1fc8a60$1702a8c0@gordito> <004b01c2bd04$d9e6dde0$1702a8c0@gordito> <007e01c2bcab$ab875dc0$0a01000a@badtzmaru.com> Message-ID: <007701c2c124$b0f93260$1702a8c0@gordito> Jeff Dafoe wrote: > > > However, I want to use an accessories tag something like this so > > > that they can simply be listed. > > > [accessories code=os28005 table=options type=show] > > > > > > This does not work though, does anyone know if or how this can be done > > using the accessories tag? > > I know how it can be done without using the accessories tag, by building > your own loop to display the options. There's a message I posted in the > last month showing how to do this, it might not have been indexed yet in the > archives, you'd have to go right to the pipermail page that shows all the > messages. If you can't find it, let me know. > > Jeff > Thanks Jeff, found your post, did something similar to return the color options I was looking for: [loop search=" st=text co=0 fi=options sf=sku se=[item-code] sf=o_group se=Color op=eq nu=0 rf=o_value " ] Schuyler Langdon GatorDev From interchange-users@icdevgroup.org Mon Jan 20 15:53:00 2003 From: interchange-users@icdevgroup.org (joe baker) Date: Mon Jan 20 15:53:00 2003 Subject: [ic] 4.9.6 Message-ID: <20030120205228.98850.qmail@web13806.mail.yahoo.com> Hi, I have noticed in the latest nightly builds that Ic, will not work with perl less than 5.6. Is this going to be the standard from now on?Thank you __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From interchange-users@icdevgroup.org Mon Jan 20 15:59:01 2003 From: interchange-users@icdevgroup.org (Jon Jensen) Date: Mon Jan 20 15:59:01 2003 Subject: [ic] 4.9.6 In-Reply-To: <20030120205228.98850.qmail@web13806.mail.yahoo.com> References: <20030120205228.98850.qmail@web13806.mail.yahoo.com> Message-ID: On Mon, 20 Jan 2003, joe baker wrote: > I have noticed in the latest nightly builds that Ic, will not work with > perl less than 5.6. Is this going to be the standard from now on? Yes, starting with Interchange 4.9.6, Perl 5.6.0 or later is required. Jon From interchange-users@icdevgroup.org Mon Jan 20 16:07:00 2003 From: interchange-users@icdevgroup.org (Stefan Hornburg) Date: Mon Jan 20 16:07:00 2003 Subject: [ic] 4.9.6 In-Reply-To: <20030120205228.98850.qmail@web13806.mail.yahoo.com> References: <20030120205228.98850.qmail@web13806.mail.yahoo.com> Message-ID: <20030120220607.32577b2e.racke@linuxia.de> On Mon, 20 Jan 2003 12:52:28 -0800 (PST) joe baker wrote: > Hi, I have noticed in the latest nightly builds > that Ic, will not work with perl less than 5.6. Is > this going to be the standard from now on? Yes. Ciao Racke From interchange-users@icdevgroup.org Mon Jan 20 17:19:00 2003 From: interchange-users@icdevgroup.org (=?iso-8859-1?Q?Oliver_F=FCrst?=) Date: Mon Jan 20 17:19:00 2003 Subject: [ic] Admin User in 4.9.7 nightly build Message-ID: <009101c2c0d1$71eeabc0$0201a8c0@FOX.local> Hello List, Is it possible, that the login to UI only accepts lower case in username and password ?? Will there be a change back in near future to case sensitiv password (I think its more secure). By the way: the new UI looks really great !!! Greetings Oliver From interchange-users@icdevgroup.org Mon Jan 20 18:38:00 2003 From: interchange-users@icdevgroup.org (marco simonelli) Date: Mon Jan 20 18:38:00 2003 Subject: [ic] Photo gallery In-Reply-To: <20C8C2C4-2AB0-11D7-874A-003065E2A992@kc.rr.com> Message-ID: > Maybe try this. Forget about the foundation tables for > a minute and consider how it would make sense to organize your > pictures. > Breaking up into 2 or 3 groupings. And then send that back to me in an > email and maybe I can think of how it might make sense to structure > them. > Another thing you can do is look at the IC hall of fame and see if you > can > find another site that has some organization like you might want. > From that > site look at the way the links are built and what the url is as you > hover > over > them. Pay particular attention to the fi (file/database to search), > se (value to search also known as searchspec), and sf (field/column to > search in table) values. Jon, thank you very much. You put me on the right track. I've been looking in the "Hall of fame" and nothing seems to get close to what I need. But I'll have my manuals and I'm making some searches in the mailing archive that have been very helpful too. Now I need to seat and do some brain work on everything, but I'll be back soon, to beg for more help. Thank you again. Marco From interchange-users@icdevgroup.org Mon Jan 20 19:47:00 2003 From: interchange-users@icdevgroup.org (Kevin Barardo) Date: Mon Jan 20 19:47:00 2003 Subject: [ic] I'm starting and need a BOOK or SIMPLE DOCUMENTATION Message-ID: <00c801c2c0e6$7a8d8020$46ef81d9@KEVINMOBIL> I'm starting and need a BOOK or SIMPLE DOCUMENTATION Can any one sugest something?..... Thanks Kevin From interchange-users@icdevgroup.org Mon Jan 20 19:51:59 2003 From: interchange-users@icdevgroup.org (Kevin Barardo) Date: Mon Jan 20 19:51:59 2003 Subject: [ic] I'm starting and need a BOOK or SIMPLE DOCUMENTATION Message-ID: <00d601c2c0e6$e44feed0$46ef81d9@KEVINMOBIL> I'm starting and need a BOOK or SIMPLE DOCUMENTATION Can anyone sugest something?..... PLEASE ANSWER TO MY E_MAIL Thanks Kevin From interchange-users@icdevgroup.org Mon Jan 20 20:38:00 2003 From: interchange-users@icdevgroup.org (Chris Anderson) Date: Mon Jan 20 20:38:00 2003 Subject: [ic] I'm starting and need a BOOK or SIMPLE DOCUMENTATION In-Reply-To: <00d601c2c0e6$e44feed0$46ef81d9@KEVINMOBIL> Message-ID: > -----Original Message----- > From: interchange-users-admin@icdevgroup.org > [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Kevin > Barardo > Sent: Monday, January 20, 2003 4:49 PM > To: interchange-users@icdevgroup.org > Subject: [ic] I'm starting and need a BOOK or SIMPLE DOCUMENTATION > > > I'm starting and need a BOOK or SIMPLE DOCUMENTATION > > Can anyone sugest something?..... > > > PLEASE ANSWER TO MY E_MAIL This is the best docs there is... http://www.interchange.rtfm.info/ Good Luck /kid From interchange-users@icdevgroup.org Mon Jan 20 21:42:00 2003 From: interchange-users@icdevgroup.org (Malouin Design Graphique) Date: Mon Jan 20 21:42:00 2003 Subject: [ic] Is there a French localization? Message-ID: Hi, Wish to know if there is somewhere a French or French Canadian localization available for Interchange? Regards, Yves From interchange-users@icdevgroup.org Mon Jan 20 21:50:01 2003 From: interchange-users@icdevgroup.org (Soheil Shaghaghi) Date: Mon Jan 20 21:50:01 2003 Subject: [ic] Display by the sku number In-Reply-To: Message-ID: Hello everyone, I am using the demo IC with no modifications made. For some reason, when I look in the items are listed in no particular order. I need to display them by the sku number. Can anyone tell me how to do this please? Thanks so much, Soheil From interchange-users@icdevgroup.org Mon Jan 20 21:52:01 2003 From: interchange-users@icdevgroup.org (Soheil Shaghaghi) Date: Mon Jan 20 21:52:01 2003 Subject: [ic] What's New and specials In-Reply-To: Message-ID: Hello everyone, Is there a way to display the recently added items on a page? Also is there a way to mark some items as special and display them on a page? Thanks so much, Soheil From interchange-users@icdevgroup.org Mon Jan 20 23:08:00 2003 From: interchange-users@icdevgroup.org (David Haley) Date: Mon Jan 20 23:08:00 2003 Subject: [ic] Restarting IC under Cpanel with no UI/admin interface Message-ID: <20030121040727.13163.qmail@web11207.mail.yahoo.com> How do I restart IC when it is installed under cpanel if I don't have access to the admin interface? Background: I ssh[ed] into the ISP's box and copied my variable.txt file over from my home development machine (among other things) but forgot to change the paths to match those on the server. After a "Apply Changes" I can't get access to the admin interface to "Apply Changes" after I updated the variable.txt file for the correct paths. I [bash-$ find / -iname *interchange* ] on the ISP machine but cannot find the "/usr/sbin/interchange" file (maybe they don't want me to have access to it ;-\ so I can restart it and affect the changes. As a side note, how would I change the UI/admin pages under cpanel, I can't find em' either? Mucho gratis __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From interchange-users@icdevgroup.org Tue Jan 21 01:01:01 2003 From: interchange-users@icdevgroup.org (murahashi) Date: Tue Jan 21 01:01:01 2003 Subject: [ic] Total-cost is not equal to discounted price plus tax References: <02b601c2beea$6372fc60$0c01a8c0@zaq.ne.jp> Message-ID: <056a01c2c114$680bddb0$0c01a8c0@zaq.ne.jp> I'm still have a problem of [total-cost] calculation. In case of mine, 5% discount for subtotal, and frac_digits 0, subtotal is 25450 * 0.95 = 24177.5 , rounded is 24178 Yen. [subtotal] shows 24,178 Yen. salestax is 24177.5 * 0.05 = 1208.875 , rounded is 1209 Yen. [salestax] shows 1,209 Yen. What is [total-cost] calculation? (A) 24177.5 + 1208.875 = 25386.375, [total-cost] shows 25386 Yen (B) 24178 + 1209 = 25387 >From assign tag in IC doc below, [total-cost] shows (A). Is it correct? I think [total-cost] should be 25,387Yen. Am I wrong? http://www.icdevgroup.org/i/dev/docfly.html?mv_arg=ictags04%2e04 Important note salestax This preempts the salestax calculation. The assigned value is not rounded. subtotal This preempts the cart subtotal derived from prices. The assigned value is not rounded. Note that you cannot assign to [total-cost] - it will always be the sum of the four above. ----- Original Message ----- From: "murahashi" To: Sent: Saturday, January 18, 2003 8:42 PM Subject: [ic] Total-cost is not equal to discounted price plus tax > Hi, > > I have a problem with calculation of total-cost under discount rate and tax > calculation. > > My system is IC 4.8.3. > > currency_symbol Yen > frac_digits 0 > > My problem is Total-cost is not equal to discounted price plus tax. > > For example, Subtotal is 25450Yen. > 5% Discounted price is 24178Yen. The rounded is fine. > 5% Tax is 1209Yen. It is correct too. > So Total-cost should be 24178 + 1209 = 25387Yen. > > But, [total-cost] showed 25386 Yen. > > [total-cost] may be 25450 * 0.95 * 1.05 = 25386.375, and round is 25386 > Yen. > > > My checkout calculation tags are as follows. > > [discount ENTIRE_ORDER][/discount][subtotal] > [discount ENTIRE_ORDER] $s * 0.95[/discount] > [salestax] > [total-cost] > > What should I do? > > Murahashi > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Tue Jan 21 01:31:01 2003 From: interchange-users@icdevgroup.org (ACforSale Inc Sales Team) Date: Tue Jan 21 01:31:01 2003 Subject: [ic] Restarting IC under Cpanel with no UI/admin interface In-Reply-To: <20030121040727.13163.qmail@web11207.mail.yahoo.com> Message-ID: <002601c2c116$91fb9320$6400a8c0@CCS> -----Original Message----- How do I restart IC when it is installed under cpanel if I don't have access to the admin interface? Background: I ssh[ed] into the ISP's box and copied my variable.txt file over from my home development machine (among other things) but forgot to change the paths to match those on the server. After a "Apply Changes" I can't get access to the admin interface to "Apply Changes" after I updated the variable.txt file for the correct paths. I [bash-$ find / -iname *interchange* ] on the ISP machine but cannot find the "/usr/sbin/interchange" file (maybe they don't want me to have access to it ;-\ so I can restart it and affect the changes. As a side note, how would I change the UI/admin pages under cpanel, I can't find em' either? Mucho gratis __________________________________________________ I've recently been down this path under cpanel and I found that the quickest and easiest way is to copy your files to another directory the reinstall IC from scratch (this will give you back your admin) and then "carefully" move files back. By carefully I mean check all your file permissions and ownership rights (on the new install) both before and after the copy, then test, and retest. (This I found to be the most important aspect and I had to learn it the hard way). For some reason when you change the path variables in variable.txt under cpanel it propagates somewhere else and just fixing variable.txt (even with a restart) doesn't fix the errors. I couldn't find out where and I was working on a live site so to me time was the most important factor. Sorry I can't give you a magic fix - someone else may be able to. Gerry From interchange-users@icdevgroup.org Tue Jan 21 02:26:01 2003 From: interchange-users@icdevgroup.org (Blair Campbell) Date: Tue Jan 21 02:26:01 2003 Subject: [ic] Multiple Users Message-ID: <003f01c2c11e$32909130$b17ba8c0@blairxpbox> Dear List, Is there a way I can configure interchange to allow multiple users who can only edit their own products or 'listings'. I want to set up an Interchange where the web users each put on their own house listings and then can edit them as necessary. Blair From interchange-users@icdevgroup.org Tue Jan 21 03:36:01 2003 From: interchange-users@icdevgroup.org (Rene Hertell) Date: Tue Jan 21 03:36:01 2003 Subject: [ic] Multiple Users In-Reply-To: <003f01c2c11e$32909130$b17ba8c0@blairxpbox> Message-ID: > Dear List, > > Is there a way I can configure interchange to allow multiple users who can > only edit their own products or 'listings'. I want to set up an > Interchange > where the web users each put on their own house listings and then can edit > them as necessary. > > Blair I have a similar feature. You could add a "owner" filed to your product-db, and limit the editing based on the user that's currently logged in [tag that gave the current username was [data session username]). That's field would be updated with the username when the user adds a new product. Regards, Ren From interchange-users@icdevgroup.org Tue Jan 21 06:40:01 2003 From: interchange-users@icdevgroup.org (John Delaney) Date: Tue Jan 21 06:40:01 2003 Subject: [ic] Advanced Sort Question Message-ID: Two questions in two days, I think I'm starting to push my luck a little now!! Anyway. Here goes. I have a results page, from which I read in a variable called [cgi name=browse_cat], where you can select to re-sort results (in a drop-down list) by certain criteria such as "Price High-Low, Price Low-High..etc". You get the idea. Very Amazon-esq. What I'm hoping to do is have a second drop-down box that lists the different manufactures together with the number of matches found. E.g. Stellar (4), Le Creuset (15), All-Clad (19). To be totally honest with you I have an idea of how it should work in my mind, but implementing it is another matter all together!!! Has anyone done anything like this before or come across it somewhere in the mailing lists. All pointers in the right direction are much appreciated. For those of you who are interested here is a copy of my first "sort-by" drop down list.
John D From interchange-users@icdevgroup.org Tue Jan 21 10:42:00 2003 From: interchange-users@icdevgroup.org (ICTech) Date: Tue Jan 21 10:42:00 2003 Subject: [ic] Adding new Product Groups and Categories, and new Menu items Message-ID: <004301c2c163$c77c4b50$6501a8c0@ci.com> Thank you all for your dedication to this wonderful software, and making it possible for us all to afford an online presence. I have two questions: (1) I am building my store from the foundation store. I added new Product Groups and Categories which I would like to show on the blue navigation bar, but only the pre-defined groups and categories are showing. I then added new items and placed them in new categories as indicated on the new items page. The changes were successful on the products table, but not shown on the blue products lists section (On the left side of page) I have not deleted the old categories/products, but added new ones. Eventually I will delete some of the categories and the initial product items in the catalogue. (2) While building on the Foundation Store, can I add additional menus to the Menu items, - Currently, --Home, Login, Checkout, etc. (the new menu items would point to other pages which I will write in html and upload to the site) Please let me know the best way to accomplish this. I am a programmer but I have not used Perl before. I am good with html and understand general programming logic, and relational databases like Oracle. Thanks a lot for your help! Tina. From interchange-users@icdevgroup.org Tue Jan 21 11:03:01 2003 From: interchange-users@icdevgroup.org (Thanh Luong) Date: Tue Jan 21 11:03:01 2003 Subject: [ic] Display by the sku number In-Reply-To: Message-ID: <20030121160228.48721.qmail@web40402.mail.yahoo.com> --- Soheil Shaghaghi wrote: > Hello everyone, > I am using the demo IC with no modifications made. > For some reason, when I look in the items are listed in no particular > order. > > I need to display them by the sku number. > Can anyone tell me how to do this please? > > Thanks so much, > Soheil You need to add tf=sku or mv_sort_field=sku in your search parameter, This question has been asked before, have you tried searching the archives? Well, Good Luck, tom __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From interchange-users@icdevgroup.org Tue Jan 21 11:07:00 2003 From: interchange-users@icdevgroup.org (Thanh Luong) Date: Tue Jan 21 11:07:00 2003 Subject: [ic] What's New and specials In-Reply-To: Message-ID: <20030121160621.20111.qmail@web40411.mail.yahoo.com> --- Soheil Shaghaghi wrote: > Hello everyone, > Is there a way to display the recently added items on a page? > > Also is there a way to mark some items as special and display them on > a > page? > > Thanks so much, > Soheil Yes and Yes, that is contained in the merchandising sections. Some resources can be found here www.interchange.rtfm.info You will find many useful docs here. also there is the main website where there are docs as well as the archive that you can sniff through. www.icdevgroup.org Good Luck, tom __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From interchange-users@icdevgroup.org Tue Jan 21 11:12:00 2003 From: interchange-users@icdevgroup.org (Blair Campbell) Date: Tue Jan 21 11:12:00 2003 Subject: [ic] Multiple Users References: Message-ID: <006d01c2c167$cacf7120$b17ba8c0@blairxpbox> > > Blair > > I have a similar feature. You could add a "owner" filed to your product-db, > and limit the editing based on the user that's currently logged in [tag that > gave the current username was [data session username]). That's field would > be updated with the username when the user adds a new product. > > Regards, Ren > sounds interesting. How many 'owner' 's do you have and how do they sign up. Blair From interchange-users@icdevgroup.org Tue Jan 21 11:23:00 2003 From: interchange-users@icdevgroup.org (Thanh Luong) Date: Tue Jan 21 11:23:00 2003 Subject: [ic] Adding new Product Groups and Categories, and new Menu items In-Reply-To: <004301c2c163$c77c4b50$6501a8c0@ci.com> Message-ID: <20030121162221.25899.qmail@web40403.mail.yahoo.com> --- ICTech Tina wrote: > I have two questions: > > (1) I am building my store from the foundation store. I added new > Product > Groups and Categories which I would like to show on the blue > navigation bar, > but only the pre-defined groups and categories are showing. I then > added > new items and placed them in new categories as indicated on the new > items > page. The changes were successful on the products table, but not > shown on > the blue products lists section (On the left side of page) > > I have not deleted the old categories/products, but added new ones. > Eventually I will delete some of the categories and the initial > product > items in the catalogue. How did you create the product groups, Did you go through the design tab. Make some product groups and categories via the "Design" tab in the Admin UI. If you did that already then you probably forgot to select "all" or "left" or both when it ask you for "page class" and stuff. Make sure you click all and left so you actually highlight them and select them. > (2) While building on the Foundation Store, can I add additional > menus to > the Menu items, - Currently, --Home, Login, Checkout, etc. (the new > menu > items would point to other pages which I will write in html and > upload to > the site) You could add more menus by editing the template files LeftOnly, LeftRight, Noleft (i think those are the names) however, the menus on the foundation use images. so I would recommend to you to make all new images or simply use text only. otherwise you will need to edit those .gif files and that usually doesnt out looking too well. Maybe you can ask the developers for the original raw and uncut image file so that you can just change the text and export it to a .gif. well good luck, tom __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From interchange-users@icdevgroup.org Tue Jan 21 11:36:01 2003 From: interchange-users@icdevgroup.org (Thanh Luong) Date: Tue Jan 21 11:36:01 2003 Subject: [ic] POS? In-Reply-To: Message-ID: <20030121163526.2541.qmail@web40404.mail.yahoo.com> --- Chris Anderson wrote: > So what kind of POS solutions is everyone using with interchange? > this has > recently become a much bigger priority for me. There was a string of emails that came out about a month ago. between 12/26/02 and 12/30/02 that recommended some POS systems. The title of the thread was "Brick and Mortar POS" Thats the only thing I can recall about anyone ever talking about POS systems. Hope that helps, Tom __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From interchange-users@icdevgroup.org Tue Jan 21 11:47:00 2003 From: interchange-users@icdevgroup.org (Thanh Luong) Date: Tue Jan 21 11:47:00 2003 Subject: [ic] NEW- how to setup compare items/products In-Reply-To: Message-ID: <20030121164624.31253.qmail@web40403.mail.yahoo.com> --- Kit Goins wrote: > I'm new to interchange...and i was wondering... > > Can interchange, be setup to display items/products clicked on, > and then have those items compared by prices, or products > in either the same catgory...or in different ones.??? > > If so, How do I do that...exactly??? > Can someone either explain the step-by-step...or lead me to a easy > tutuorial...about this. or walk me thru it on ICQ or a chatroom... > > please help me in this...I've been thru the docs...and help > system...and it appears to me, that it can be done, somehow... > via the search builder page app. but it's real confusing to me, > seeing as I'm new to this. I can help if I am understanding your question properly, However, a "step by step walk through"... you would need to hire someone for that because they would be devoting much time to walk you through it or to type it out. anyways all you really need to do is to add tf=price to=r,n to the code your search builder generates in order to sort by highest price first. if you are confused with using the code the builder generates then add this after the code is generated. if you want to sort by prod_group simply add this tf=prod_group FYI. tf stands for "sorT Field" Good Luck Tom __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From interchange-users@icdevgroup.org Tue Jan 21 12:05:28 2003 From: interchange-users@icdevgroup.org (Ed LaFrance) Date: Tue Jan 21 12:05:28 2003 Subject: [ic] Display by the sku number In-Reply-To: References: Message-ID: <5.1.1.6.0.20030121085704.03687120@mail.newmediaems.com> At 06:49 PM 01/20/2003 -0800, you wrote: >Hello everyone, >I am using the demo IC with no modifications made. >For some reason, when I look in the items are listed in no particular order. > >I need to display them by the sku number. >Can anyone tell me how to do this please? > >Thanks so much, >Soheil If you are using the simple search for the links which list those items, I believe you'll need to make a little modification to the bar_link globalsub located in VENDROOT/catalog_before.cfg. You'll want to add 'tf=sku' to the search parameters which are assembled by the globalsub. - Ed L. =============================================================== New Media E.M.S. Technology Solutions for Business 463 Main St., Suite D eCommerce | Consulting | Hosting Placerville, CA 95667 edl@newmediaems.com (530) 622-9421 http://www.newmediaems.com (866) 519-4680 Toll-Free (530) 622-9426 Fax =============================================================== From interchange-users@icdevgroup.org Tue Jan 21 12:16:01 2003 From: interchange-users@icdevgroup.org (Blair Campbell) Date: Tue Jan 21 12:16:01 2003 Subject: [ic] Multiple Users References: <006d01c2c167$cacf7120$b17ba8c0@blairxpbox> Message-ID: <00c201c2c170$7de1e790$b17ba8c0@blairxpbox> > > > Blair > > > > I have a similar feature. You could add a "owner" filed to your > product-db, > > and limit the editing based on the user that's currently logged in [tag > that > > gave the current username was [data session username]). That's field would > > be updated with the username when the user adds a new product. > > > > Regards, Ren > > > sounds interesting. How many 'owner' 's do you have and how do they sign up. > > Blair > Could you use the check out process to sign up users who would then put products on the interchange site through the above process? So instead of the current log in there would be a second more in depth log in where you could even charge them via a check out process? Blair From interchange-users@icdevgroup.org Tue Jan 21 14:32:00 2003 From: interchange-users@icdevgroup.org (Jonathan Clark) Date: Tue Jan 21 14:32:00 2003 Subject: [ic] Total-cost is not equal to discounted price plus tax In-Reply-To: <056a01c2c114$680bddb0$0c01a8c0@zaq.ne.jp> Message-ID: <000001c2c182$ece8bc60$0b01a8c0@NT3078> > I'm still have a problem of [total-cost] calculation. > > In case of mine, 5% discount for subtotal, and frac_digits 0, > > subtotal is 25450 * 0.95 = 24177.5 , rounded is 24178 Yen. > [subtotal] shows > 24,178 Yen. > salestax is 24177.5 * 0.05 = 1208.875 , rounded is 1209 Yen. [salestax] > shows 1,209 Yen. > > What is [total-cost] calculation? > (A) 24177.5 + 1208.875 = 25386.375, [total-cost] shows 25386 Yen > (B) 24178 + 1209 = 25387 > > >From assign tag in IC doc below, [total-cost] shows (A). Is it correct? > I think [total-cost] should be 25,387Yen. > > Am I wrong? Yes. You are asking Interchange to _display_ costs rounded, not to calculate rounded costs. If you did the equivalent in a spreadsheet, displaying to zero decimal places, it would behave just like Interchange. Jonathan. From interchange-users@icdevgroup.org Tue Jan 21 15:57:01 2003 From: interchange-users@icdevgroup.org (Aaron Hazelton) Date: Tue Jan 21 15:57:01 2003 Subject: [ic] need help optimizing-process product data and export to tab delim file Message-ID: <002701c2c18f$85da3730$ab7ba8c0@abhlaptop> Good Day to All... I am trying to export my products into a tab-delim text file for another database to use, however, there is a limited amount of processing to be done and changes that need to be made first. I could not figure out how to do the processing with any of the [export] type things done in the UI, so I struck out with the following: [tmp done][log file="[time]%Y%m%d[/time].txt" create=1 delim="\t" type="text" interpolate=1 ][query sql="SELECT sku, title, comment, image, price, prod_group FROM products ORDER BY sku;" type=list][list]http://www.site.com/cgi-bin/site.cgi/[sql-param sku].html [sql-param title] [filter striphtml][sql-param comment][/filter] [sql-param price] [either][sql-param image][or]na.jpg[/either] [sql-param prod_group] [sql-param sku] [/list][/query][/log][/tmp] This is probably a mess, but it works. The problem is that if I go much over 1 or 2 thousand it dies (no error in IC, but "500 Internal Server Error" to browser after approx 8 minutes of 99% load on server). This products database has almost 50,000 records. Anything I can do about this? TIA -- Aaron From interchange-users@icdevgroup.org Tue Jan 21 17:36:07 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Tue Jan 21 17:36:07 2003 Subject: [ic] POS? In-Reply-To: <20030121163526.2541.qmail@web40404.mail.yahoo.com> Message-ID: <000401c2c19d$60a8d9e0$020110ac@majestic.cursor-software.co.uk> Thanh Luong [j0wsty1ls@yahoo.com] wrote: > The title of > the thread was "Brick and Mortar POS" Thats the only thing I can recall > about anyone ever talking about POS systems. > I always prefer metal POS systems. Brick and Mortar POS systems require skilled builders to install, and are difficult to keep clean. :-) -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Tue Jan 21 18:07:01 2003 From: interchange-users@icdevgroup.org (=?iso-8859-1?Q?Paco_S=E1nchez?=) Date: Tue Jan 21 18:07:01 2003 Subject: [ic] Creating custom shipping dropdown list (about old post by Michael Lehmkuhl) References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS><00ac01c2bc9a$f743db00$95824fd4@europa><3E2570AC.8070603@leidinger.net><006901c2be7b$7a1ef820$d4834fd4@europa> <20030118002818.25cb3130.racke@linuxia.de> <001201c2befe$a477a3f0$d4834fd4@europa> <20030118100735.A11679@bill.heins.net> <004d01c2bf04$e838b4c0$0a01000a@badtzmaru.com> <001101c2c00a$9829fe10$420ed8d9@europa> <00de01c2c052$9baad2b0$fd02000a@spider> Message-ID: <002b01c2c1a0$ba4fb830$420ed8d9@europa> > That is nice.. But where are you getting the shipping costs from? One I have created different shipping methods for each "vendor". Anyway I have already tried several different ways to do this I want but to no avail. My idea is as follows: - You create an additional field at the products database. Let us call it "vendor" (or whatever you like). In this field you indicate, for each product, a code that will identify the shipping methods available for it. In my case I set this code to 00 or 01 depending on the products. - Now you create shipping methods for each code. The idea is that you can create several methods for each. - Then at checkout.html, items in an order are grouped depending on their "vendor" field. I think this could be done by something like [seti currentvendor][item-field vendor][/seti]. - But then, and this is what I have not been able to achieve, a shipping options dropdown list should appear for each product, showing only valid shipping methods for the related vendor. The original idea obtained from an old post from Michael Lehmkuhl is as follows: But unfortunately it does not work. Further, I believe he got this running, as it can be seen at https://www.hoopstore.net/store, but unfortunately he seems not to be here anymore to explain how he didi it. I have also found an alternative as follows. The only limitation is that you can only define a single shipping method for each product: - Create a new field in the products database as in the former example. Here we will call it "ship". You will also insert a shipping code here for each product. - Then create a shipping methos for each code. Say you have codes 00 and 01, so you could create shipping methods UPS00 and FEDEX01. - Now create the following user tag in catalog.cfg: UserTag delivery-charge Routine <{mv_shipmode}; my $items = $Vend::Items; my $delivery_charges = 0; my $opt = { convert => 1, noformat => 1 }; my %carts; # iterate over the cart, watch the sun rise :) foreach my $i (0 .. $#$Vend::Items) { # decode cart item into components my $code = $Vend::Items->[$i]{code}; my $mv_ib = $Vend::Items->[$i]{mv_ib}; # get shipping class of product my $db = Vend::Data::database_exists_ref($mv_ib); $db = $db->ref(); return "no such sku $code" unless $db->record_exists($code); my $ship = $db->field($code, "ship"); # create cart for each shipping class push @{$carts{$ship}}, $Vend::Items->[$i]; } # calculate shipping for each cart ... foreach my $c (keys %carts) { $Vend::Items = $carts{$c}; # set shopping cart to this subset of items my $delivery = Vend::Interpolate::tag_shipping($mv_shipmode . $c, $opt); $delivery_charges += $delivery; } # restore original shipping cart $Vend::Items = $items; return $delivery_charges; } EOR - And finally insert this tag [delivery-charge] wherever you want to see the shipping charges for a product. This is a very good idea that I have found in an old post from Guido Sohne. Unfortunately it is only good if you only have a shipping method for each ship code. If anyone could help in doing this letting the customer choose among shipping methods available for a ship code, it would be much appreciated. Sure it can be done as seen in hoopstore. > another note does anyone know where ord/checkout.html is configured to the > store? The checkout.html file I am using in storeid = 'store' is not the one > I see being displayed, the one being displayed is the foundation > checkout.html template. > You must edit the checkout.html at ~interchange/catalogs/YOUR_CATALOG/pages/ord/checkout.html That is the one you will see from the UI. Regards, Paco Snchez http://pacosanchez.com mailto:psanchez%40pacosanchez%2ecom ICQ 101879542 From interchange-users@icdevgroup.org Tue Jan 21 19:47:00 2003 From: interchange-users@icdevgroup.org (Matt Johnston) Date: Tue Jan 21 19:47:00 2003 Subject: [ic] CC Authorize now, settle later Message-ID: <5.2.0.9.1.20030121183519.02713d60@mail.thebackpacker.com> I am using the BoA payment module in 4.8.6. I am also using a fulfillment company to handle the stocking and shipping of products. For this reason, I don't want to complete the credit card sale until after the item is shipped (in case the item is currently out of stock). Looking through the BoA module, I see the "sale" transaction requires two requests to complete. My question is, what is the best way to authorize the credit card and then settle the transaction after the item is shipped? If an item is currently out of stock and is not included in the shipment, is there an easy way for me to adjust the final sale price after it has already been authorized? Matt Johnston http://www.lattaoutdoors.com http://www.thebackpacker.com From interchange-users@icdevgroup.org Tue Jan 21 22:00:01 2003 From: interchange-users@icdevgroup.org (Farshad Farzan) Date: Tue Jan 21 22:00:01 2003 Subject: [ic] IC 4.9.5 , 4.9.6 Shipping Method Empty Message-ID: <000001c2c1c2$71f9aec0$ef0329d0@vl2k> I have the same problem with 4.9.6 I did setup the foundation catalog and that works fine. However, any other catalog that I set up comes up with the empty shipping method.??? And odd messages such as: Note: No match found for mode '2DA', quantity '640', returning 0 Please help if you have a solution... Farshad Farzan Intelligent Measurement, Inc. 16115 Wyandotte Street Van Nuys, CA 91406 Tel 818 901 6787 Fax 818 901 1787 From interchange-users@icdevgroup.org Wed Jan 22 01:48:00 2003 From: interchange-users@icdevgroup.org (Chris Anderson) Date: Wed Jan 22 01:48:00 2003 Subject: [ic] POS? In-Reply-To: <20030121163526.2541.qmail@web40404.mail.yahoo.com> Message-ID: Thanks, it seems the good folks at Bananahead are working on something. :) > -----Original Message----- > From: interchange-users-admin@icdevgroup.org > [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Thanh Luong > Sent: Tuesday, January 21, 2003 8:35 AM > To: interchange-users@icdevgroup.org > Subject: Re: [ic] POS? > > > > --- Chris Anderson wrote: > > So what kind of POS solutions is everyone using with interchange? > > this has > > recently become a much bigger priority for me. > > There was a string of emails that came out about a month ago. between > 12/26/02 and 12/30/02 that recommended some POS systems. The title of > the thread was "Brick and Mortar POS" Thats the only thing I can recall > about anyone ever talking about POS systems. > > Hope that helps, > > Tom > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > From interchange-users@icdevgroup.org Wed Jan 22 01:52:00 2003 From: interchange-users@icdevgroup.org (Chris Anderson) Date: Wed Jan 22 01:52:00 2003 Subject: [ic] POS? In-Reply-To: <20030121163526.2541.qmail@web40404.mail.yahoo.com> Message-ID: > -----Original Message----- > From: interchange-users-admin@icdevgroup.org > [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Thanh Luong > Sent: Tuesday, January 21, 2003 8:35 AM > To: interchange-users@icdevgroup.org > Subject: Re: [ic] POS? > > > > --- Chris Anderson wrote: > > So what kind of POS solutions is everyone using with interchange? > > this has > > recently become a much bigger priority for me. > > There was a string of emails that came out about a month ago. between > 12/26/02 and 12/30/02 that recommended some POS systems. The title of > the thread was "Brick and Mortar POS" Thats the only thing I can recall > about anyone ever talking about POS systems. OOPS!! I meant to say that here, sorry. From interchange-users@icdevgroup.org Wed Jan 22 07:41:01 2003 From: interchange-users@icdevgroup.org (Rene Hertell) Date: Wed Jan 22 07:41:01 2003 Subject: [ic] How do i validate a given input in table-editor? Message-ID: Hi, I have a date-widget in a non-adminUI table-editor-page that I would need to check against a date-field in an other table. The field I need to check has to be between 1 and 3 days before the date that exists in an other table. What I understood from the docs there is only one way to check a field, and that is by the check.field=required method, but this just checks if there is a value or not I could probably manage to create the check routine in Perl, but for the moment I don't know to execute that and return to the edit-tag with an error message. Any help is appreciated, Regardss, Rene From interchange-users@icdevgroup.org Wed Jan 22 10:33:00 2003 From: interchange-users@icdevgroup.org (Steve in DC) Date: Wed Jan 22 10:33:00 2003 Subject: [ic] Problems with Admin UI in 4.9.7 build Message-ID: <033401c2c22b$5b6e1b00$a21f0740@sp1> Just installed the latest build of Interchange and there seems to be some issues with the CSS/HTML. It's all out of whack. Everything in just plain links, no icons, etc. I went back to a build from a couple weeks ago and it worked fine. Anyone have any thoughts about where to start checking this? -Steve _________________________________________________________________ Steve in DC email: steve@dcsteve72.com Washington, DC web: http://www.dcsteve72.com From interchange-users@icdevgroup.org Wed Jan 22 11:05:01 2003 From: interchange-users@icdevgroup.org (Terry Romine) Date: Wed Jan 22 11:05:01 2003 Subject: [ic] can I customize quantity pricing? Message-ID: <5CFFBB02-2E23-11D7-9BE5-00039395157C@blazing-trails.com> Still running 4.8.x On the item pricing page in Admin, there are q2, q5, q10, q25, q100 My client's pricing.txt just has: sku price_group q2 q5 q10 q25 q100 and the client has weird combinations like boxes of 12, 24 pallets of 144.. Is there a way to set up quantity prices for various groups or products? I'm not too experienced at this, and am getting lost trying to read anything out of the manuals. Thanks Terry Romine From interchange-users@icdevgroup.org Wed Jan 22 11:10:04 2003 From: interchange-users@icdevgroup.org (Michael Goldfarb) Date: Wed Jan 22 11:10:04 2003 Subject: [ic] can I customize quantity pricing? In-Reply-To: <5CFFBB02-2E23-11D7-9BE5-00039395157C@blazing-trails.com> Message-ID: <001201c2c230$a52aa790$1e01a8c0@mrblondelaptop> >Still running 4.8.x > >On the item pricing page in Admin, there are q2, q5, q10, q25, q100 > >My client's pricing.txt just has: >sku price_group q2 q5 q10 q25 q100 > >and the client has weird combinations like boxes of 12, 24 pallets of >144.. > >Is there a way to set up quantity prices for various groups or products? > >I'm not too experienced at this, and am getting lost trying to read >anything out of the manuals. > >Thanks >Terry Romine Yes, this is completely customizable. Just add more columns to your pricing table as necessary and then re-start IC. That should automatically add more entry fields when you click on QTY Pricing in the Items Menu in the UI. From interchange-users@icdevgroup.org Wed Jan 22 11:18:01 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Wed Jan 22 11:18:01 2003 Subject: [ic] Problems with Admin UI in 4.9.7 build In-Reply-To: <033401c2c22b$5b6e1b00$a21f0740@sp1>; from steve@dcsteve72.com on Wed, Jan 22, 2003 at 10:31:39AM -0500 References: <033401c2c22b$5b6e1b00$a21f0740@sp1> Message-ID: <20030122111726.A10041@bill.heins.net> Quoting Steve in DC (steve@dcsteve72.com): > Just installed the latest build of Interchange and there seems to be > some issues with the CSS/HTML. It's all out of whack. Everything in just > plain links, no icons, etc. I went back to a build from a couple weeks > ago and it worked fine. > > Anyone have any thoughts about where to start checking this? Assuming you are talking about the UI, the image share directory didn't get copied over to the right place, that is all. If you go back to 4.9.7 and then copy the files from ICDIR/share/interchange to your DOCROOT/interchange directory, all should be well. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 How far can you open your mind before your brains fall out? From interchange-users@icdevgroup.org Wed Jan 22 12:45:00 2003 From: interchange-users@icdevgroup.org (Adam Ryan) Date: Wed Jan 22 12:45:00 2003 Subject: [ic] Strange error while loading interchange related pages. Message-ID: <003301c2c23e$c141a1a0$a26d68c0@p5> Hello, Currently this machine is running red hat 7.3 2.4.18-18.7.x. I have tried installing both interchange version 4.8 and latest dev 4.9. Everytime I load the a customer page or admin I get : -- We are sorry, but the Interchange server is unavailable due to a system error. 3@ @H ā@: Unknown error 134517981 (134517981) -- Also the chars above are true output to the browser. Also there are no errors in the log file either. I have tried everything, new config file, many different version of interchange, to no avail. Please let me know if you need any more information. Adam From interchange-users@icdevgroup.org Wed Jan 22 14:17:02 2003 From: interchange-users@icdevgroup.org (Miguel Navarro) Date: Wed Jan 22 14:17:02 2003 Subject: [ic] Salutation field in form References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS><00ac01c2bc9a$f743db00$95824fd4@europa><3E2570AC.8070603@leidinger.net><006901c2be7b$7a1ef820$d4834fd4@europa> <20030118002818.25cb3130.racke@linuxia.de> <001201c2befe$a477a3f0$d4834fd4@europa> <20030118100735.A11679@bill.heins.net> <004d01c2bf04$e838b4c0$0a01000a@badtzmaru.com> <001101c2c00a$9829fe10$420ed8d9@europa> <00de01c2c052$9baad2b0$fd02000a@spider> <002b01c2c1a0$ba4fb830$420ed8d9@europa> Message-ID: <004e01c2c24b$477bb2e0$fd02000a@spider> I have read through the archives and docs but I must be missing something I added a salutation field in userdb alter table userdb add column salut varchar (3); I added the input field in checkout.html I added the entry in log_transactions salut: [value name=salut] I added the entry in userdb.sql Database userdb COLUMN_DEF "salut=VARCHAR(25)" I restarted interchange and Applied Changes from the admin screen to be sure. What am I missing???? I even had log_transactions try and save a known field without any luck salut: [value filter=strip name=fname] but I changed it to the previous method as well From interchange-users@icdevgroup.org Wed Jan 22 14:53:01 2003 From: interchange-users@icdevgroup.org (DB) Date: Wed Jan 22 14:53:01 2003 Subject: [ic] Strange error while loading interchange related pages. Message-ID: <3E2EF670.4090904@M-and-D.com> > Hello, > > Currently this machine is running red hat 7.3 2.4.18-18.7.x. I have > tried installing both interchange version 4.8 and latest dev 4.9. > Everytime I load the a customer page or admin I get : > -- > We are sorry, but the Interchange server is unavailable due to a system > error. 3@ @H ā@: Unknown error 134517981 > (134517981) > -- > Also the chars above are true output to the browser. Also there are no > errors in the log file either. > > I have tried everything, new config file, many different version of > interchange, to no avail. > > Please let me know if you need any more information. > > > Adam What does the apache error log have to say? DB From interchange-users@icdevgroup.org Wed Jan 22 15:00:01 2003 From: interchange-users@icdevgroup.org (DB) Date: Wed Jan 22 15:00:01 2003 Subject: [ic] Adding more catalogs Message-ID: <3E2EF82B.80504@M-and-D.com> I'm using 4.8.6 under RedHat 8.0. I installed from the tarball as a normal user and everything works fine. Now a different user wants to run a catalog.. what's the best way to configure this? All the IC files exist under the first user's home directory. Just for kicks I installed the tarball in the second user's home directory and both that and the first users original catalog seem to run ok. But I'm guessing this isn't the most efficient setup. DB From interchange-users@icdevgroup.org Wed Jan 22 15:09:01 2003 From: interchange-users@icdevgroup.org (Adam Ryan) Date: Wed Jan 22 15:09:01 2003 Subject: [ic] Strange error while loading interchange related pages. In-Reply-To: <3E2EF670.4090904@M-and-D.com> Message-ID: <003d01c2c252$e35e2560$a26d68c0@p5> The apache logs say nothing about this error: /cgi-bin/cart.cgi/admin/index.html HTTP/1.1" 200 159 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Hot Lingo 2.0)" No errors what so ever in apache logs, also no error in interchange logs. What could it be? -----Original Message----- From: interchange-users-admin@icdevgroup.org [mailto:interchange-users-admin@icdevgroup.org] On Behalf Of DB Sent: Wednesday, January 22, 2003 1:52 PM To: interchange-users@icdevgroup.org Subject: Re: [ic] Strange error while loading interchange related pages. > Hello, > > Currently this machine is running red hat 7.3 2.4.18-18.7.x. I have > tried installing both interchange version 4.8 and latest dev 4.9. > Everytime I load the a customer page or admin I get : > -- > We are sorry, but the Interchange server is unavailable due to a > system error. 3@ @H ā@: Unknown error > 134517981 > (134517981) > -- > Also the chars above are true output to the browser. Also there are no > errors in the log file either. > > I have tried everything, new config file, many different version of > interchange, to no avail. > > Please let me know if you need any more information. > > > Adam What does the apache error log have to say? DB _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Wed Jan 22 15:18:00 2003 From: interchange-users@icdevgroup.org (Pat Fisher) Date: Wed Jan 22 15:18:00 2003 Subject: [ic] need IC tutor Message-ID: Hello, I am trying to quickly learn Interchange 4.9.3 and need help. I am not a programmer but can modify and implement prepackaged perl scripts, and I have a perl programmer available to help me customize IC, but first I need to understand the structure of IC, what many of the UI components are about, figure out why my import didn't seem to work, etc. I am looking for a tutor to whom I could direct specific questions that I have, either by email or phone. If anyone is interested in helping me out, please let me know your interchange experience and what you would charge. Thanks very much. Pat Pat Fisher dr. internet http://drinternet.biz 619-264-3285 web development e-commerce web databases From interchange-users@icdevgroup.org Wed Jan 22 16:14:01 2003 From: interchange-users@icdevgroup.org (Aaron Hazelton) Date: Wed Jan 22 16:14:01 2003 Subject: [ic] CC Authorize now, settle later In-Reply-To: <5.2.0.9.1.20030121183519.02713d60@mail.thebackpacker.com> Message-ID: <000201c2c25b$0d3d2a40$ab7ba8c0@abhlaptop> Matt Johnston wrote: > > I am using the BoA payment module in 4.8.6. I am also using > a fulfillment > company to handle the stocking and shipping of products. For > this reason, > I don't want to complete the credit card sale until after the item is > shipped (in case the item is currently out of stock). > Looking through the > BoA module, I see the "sale" transaction requires two > requests to complete. I just did this same sort of thing with Authorize.net and it was actually pretty simple to implement. > > My question is, what is the best way to authorize the credit > card and then > settle the transaction after the item is shipped? The simplest way is to upgrade IC, as this feature is implemented in the latest version. If, on the other hand, you must stay with the old version for the time being, as I had to, you can do the following: You need some way of passing the transaction type to the [charge] tag called in the etc/profiles.order. in that way you can specify which type of transaction you want. in my case, I modified the admin/order_status page to include a void feature as well as capture for follow-up use. But you must keep in mind that some items if backordered, may go over 30 days in which case you will need to have it set up for a new auth and capture. also, you have to modify your transactions table to hold your auth number, and transaction numbers. I also added some 'captured', 'voided', and 'credited' fields which are handy. > If an item > is currently > out of stock and is not included in the shipment, is there an > easy way for > me to adjust the final sale price after it has already been > authorized? Im not sure on BOA, but I think that most of the time you cannot do this. You must void the first transaction and just enter a new one if the price changes at all. > > Matt Johnston > -- Aaron From interchange-users@icdevgroup.org Wed Jan 22 16:19:01 2003 From: interchange-users@icdevgroup.org (Geoff Sternecker) Date: Wed Jan 22 16:19:01 2003 Subject: [ic] Strange error while loading interchange related pages. In-Reply-To: <003d01c2c252$e35e2560$a26d68c0@p5> References: <003d01c2c252$e35e2560$a26d68c0@p5> Message-ID: <200301221517.19000.geoffs@rdgi.com> On Wednesday 22 January 2003 08:14 pm, Adam Ryan wrote: > The apache logs say nothing about this error: > /cgi-bin/cart.cgi/admin/index.html HTTP/1.1" 200 159 "-" "Mozilla/4.0 > (compatible; MSIE 6.0; Windows NT 5.0; Hot Lingo 2.0)" > > No errors what so ever in apache logs, also no error in interchange > logs. It sounds as though Interchange is not actually running. as root run: /sbin/service interchange restart then as the interchange user (user you installed interchange catalogs with) run: /usr/lib/interchange/bin/interchange or if you installed it under "/usr/local/" run: /usr/local/interchange/bin/interchange - geoffs -- Geoff Sternecker From interchange-users@icdevgroup.org Wed Jan 22 17:26:01 2003 From: interchange-users@icdevgroup.org (Birgitt Funk) Date: Wed Jan 22 17:26:01 2003 Subject: [ic] Pls. change the year of the mailing list archives to 2003 Message-ID: Mailing list's archives end at 31 rst December 2002. Thanks. _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From interchange-users@icdevgroup.org Wed Jan 22 17:39:00 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Wed Jan 22 17:39:00 2003 Subject: [ic] CC Authorize now, settle later References: <000201c2c25b$0d3d2a40$ab7ba8c0@abhlaptop> Message-ID: <001601c2c265$d3eceb80$0a01000a@badtzmaru.com> > > If an item is currently out of stock and is not included in the shipment, is there an > > easy way for me to adjust the final sale price after it has already been > > authorized? > > Im not sure on BOA, but I think that most of the time > you cannot do this. You must void the first transaction > and just enter a new one if the price changes at all. With boa, it can be adjusted in the boa backend but the default IC 4.8 backend doesn't have a canned way that I am aware of (aside from the table editor) to adjust the final sale price. Jeff From interchange-users@icdevgroup.org Wed Jan 22 17:41:04 2003 From: interchange-users@icdevgroup.org (interchange-users@icdevgroup.org) Date: Wed Jan 22 17:41:04 2003 Subject: [ic] Problem: IC wont use Net::SMTP Message-ID: <000e01c2c267$26c4d8d0$0564a8c0@2530mhz> Hello! I have this problem: 1. I installed Interchange on a HPUX which runs fine with sendmail 2. I want to use an external mailserver for email procession 3. I installed LIBNET (NET::SMTP) and set the following paramenters: interchange.cfg: Variable MV_SMTPHOST mail.mailserversdomain.net catalog.cfg: SendMailProgram Net::SMTP But every time I make an order my customers email address doesn't get any receipt and the hole email is listed in error.log with a "Unable to send mail using Net::SMTP" Do you have any ideas? Thanks in advance. Boris / web-vision From interchange-users@icdevgroup.org Wed Jan 22 17:52:00 2003 From: interchange-users@icdevgroup.org (Brock Hargett) Date: Wed Jan 22 17:52:00 2003 Subject: [ic] Credit card disappearing, can't finish order Message-ID: <003d01c2c268$b5dd6d10$02a8a8c0@moerules> I don't know why this happened, but all of a sudden my checkout is screwed up. When a user enters his credit card number and clicks the process order button, it just returns to the checkout page with the credit card info missing. I haven't done anything recently to the checkout pages. In fact, I even replaced basket.html and checkout.html with old versions I know worked. Any ideas what could cause this? I don't even know where to begin. Thanks. I'm using a default catalog. From interchange-users@icdevgroup.org Wed Jan 22 18:02:00 2003 From: interchange-users@icdevgroup.org (Brock Hargett) Date: Wed Jan 22 18:02:00 2003 Subject: FW: [ic] Credit card disappearing, can't finish order Message-ID: <003e01c2c26a$199b8660$02a8a8c0@moerules> >>>I don't know why this happened, but all of a sudden my checkout is screwed up. When a user enters his credit card >>>number and clicks the process order button, it just returns to the checkout page with the credit card info missing. I >>>haven't done anything recently to the checkout pages. In fact, I even replaced basket.html and checkout.html with old >>>versions I know worked. Any ideas what could cause this? I don't even know where to begin. Thanks. I'm using a default >>>catalog. Sorry, forgot the error listed is: Order profile credit_card not found From interchange-users@icdevgroup.org Wed Jan 22 18:32:00 2003 From: interchange-users@icdevgroup.org (Paul Jordan) Date: Wed Jan 22 18:32:00 2003 Subject: [ic] Credit card disappearing, can't finish order In-Reply-To: <003e01c2c26a$199b8660$02a8a8c0@moerules> Message-ID: > >>>I don't know why this happened, but all of a sudden my checkout is > screwed up. When a user enters his credit card > >>>number and clicks the process order button, it just returns to the > checkout page with the credit card info missing. I >>>haven't done > anything recently to the checkout pages. In fact, I even replaced > basket.html and checkout.html with old >>>versions I know worked. Any > ideas what could cause this? I don't even know where to begin. Thanks. > I'm using a default >>>catalog. > > Sorry, forgot the error listed is: > Order profile credit_card not found > > It seems like it is having issues with trying to find the order profile 'credit_card' which should be in etc/profiles.order and named credit_card But I am just guessing, as the error message is very vague... ;-) HTH Paul From interchange-users@icdevgroup.org Wed Jan 22 19:37:00 2003 From: interchange-users@icdevgroup.org (Blair Campbell) Date: Wed Jan 22 19:37:00 2003 Subject: [ic] checkout.html default to country Message-ID: <011d01c2c277$782dcf00$b17ba8c0@blairxpbox> Hi List, Where would I go to change the country default to Canada instead of US on the checkout.html page? Thanks Blair From interchange-users@icdevgroup.org Wed Jan 22 20:30:01 2003 From: interchange-users@icdevgroup.org (Blair Campbell) Date: Wed Jan 22 20:30:01 2003 Subject: [ic] checkout.html default to country References: <011d01c2c277$782dcf00$b17ba8c0@blairxpbox> Message-ID: <000c01c2c27e$cf7786a0$b17ba8c0@blairxpbox> > Hi List, > > Where would I go to change the country default to Canada instead of US on > the checkout.html page? > > Thanks > > Blair > I sent this earlier and have now made changes to the checkout.html file I have changed the code in checkout.html as shown below but I get Country as Canada and States as Alabama,...... I can't see what I am doing wrong? [error name=state std_label="State/Province" required=1] [loop search=" fi=state.txt sf=country se=[default country CA] rf=state,name,country tf=sorder,name ml=100 " option=state] [on-match][/on-match] [no-match][/no-match] [/loop]     [error name=zip std_label="Zip/Postal Code" required=1]     [error name=email std_label="Email Address" required=1]     Country [if value country =~ /(^$|CA|US)/] [else] [/else] [/if] (will update display) From interchange-users@icdevgroup.org Wed Jan 22 20:33:59 2003 From: interchange-users@icdevgroup.org (Schuyler Langdon) Date: Wed Jan 22 20:33:59 2003 Subject: [ic] checkout.html default to country References: <011d01c2c277$782dcf00$b17ba8c0@blairxpbox> Message-ID: <001801c2c27f$1980c5e0$1702a8c0@gordito> Blair Campbell wrote: > Hi List, > > Where would I go to change the country default to Canada instead of US on > the checkout.html page? > > Thanks > > Blair > > Change SHIP_DEFAULT_COUNTRY in the variable table to CA. You can edit this table in the UI table editor at the bottom of the page. Schuyler Langdon GatorDev From interchange-users@icdevgroup.org Wed Jan 22 21:51:01 2003 From: interchange-users@icdevgroup.org (Farshad Farzan) Date: Wed Jan 22 21:51:01 2003 Subject: [ic] Shipping not working, Batch quantities Message-ID: <000401c2c28a$5607c3a0$ef0329d0@vl2k> I am Working with 4.9.6 I have added the code to take care of the batch quantities from : http://www.icdevgroup.org/archive/interchange-users/2001/msg08917.html But now, the shipping suffers !! I had to update most places where item-list was used. And the quantity and item-subtotals all looks right, However, the [shipping] is now messed up!!! Farshad Farzan From interchange-users@icdevgroup.org Wed Jan 22 22:32:01 2003 From: interchange-users@icdevgroup.org (In The Sun, LLC) Date: Wed Jan 22 22:32:01 2003 Subject: [ic] POS? References: <20030122170001.22479.41808.Mailman@icdevgroup.org> Message-ID: <000a01c2c28f$e5234140$0200a8c0@cfl.rr.com> ----- Original Message ----- From: To: Sent: Wednesday, January 22, 2003 12:00 PM Subject: interchange-users digest, Vol 1 #1220 - 15 msgs > Send interchange-users mailing list submissions to > interchange-users@icdevgroup.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.icdevgroup.org/mailman/listinfo/interchange-users > or, via email, send a message with subject or body 'help' to > interchange-users-request@icdevgroup.org > > You can reach the person managing the list at > interchange-users-admin@icdevgroup.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of interchange-users digest..." > > > Today's Topics: > > 1. Re: Display by the sku number (Ed LaFrance) > 2. Re: Multiple Users (Blair Campbell) > 3. RE: Total-cost is not equal to discounted price plus tax (Jonathan Clark) > 4. need help optimizing-process product data and export to tab delim file (Aaron Hazelton) > 5. RE: POS? (Kevin Walsh) > 6. Re: Creating custom shipping dropdown list (about old post by Michael Lehmkuhl) (=?iso-8859-1?Q?Paco_S=E1nchez?=) > 7. CC Authorize now, settle later (Matt Johnston) > 8. IC 4.9.5 , 4.9.6 Shipping Method Empty (Farshad Farzan) > 9. RE: POS? (Chris Anderson) > 10. RE: POS? (Chris Anderson) > 11. How do i validate a given input in table-editor? (Rene Hertell) > 12. Problems with Admin UI in 4.9.7 build (Steve in DC) > 13. can I customize quantity pricing? (Terry Romine) > 14. RE: can I customize quantity pricing? (Michael Goldfarb) > 15. Re: Problems with Admin UI in 4.9.7 build (Mike Heins) > > --__--__-- > > Message: 9 > From: "Chris Anderson" > To: > Subject: RE: [ic] POS? > Date: Tue, 21 Jan 2003 22:48:13 -0800 > Reply-To: interchange-users@icdevgroup.org > > Thanks, it seems the good folks at Bananahead are working on something. :) > > > > > -----Original Message----- > > From: interchange-users-admin@icdevgroup.org > > [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Thanh Luong > > Sent: Tuesday, January 21, 2003 8:35 AM > > To: interchange-users@icdevgroup.org > > Subject: Re: [ic] POS? > > > > > > > > --- Chris Anderson wrote: > > > So what kind of POS solutions is everyone using with interchange? > > > this has > > > recently become a much bigger priority for me. > > > > There was a string of emails that came out about a month ago. between > > 12/26/02 and 12/30/02 that recommended some POS systems. The title of > > the thread was "Brick and Mortar POS" Thats the only thing I can recall > > about anyone ever talking about POS systems. > > > > Hope that helps, > > > > Tom > > > > > > > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > > http://mailplus.yahoo.com > > _______________________________________________ > > interchange-users mailing list > > interchange-users@icdevgroup.org > > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > > > > --__--__-- > > Message: 10 > From: "Chris Anderson" > To: > Subject: RE: [ic] POS? > Date: Tue, 21 Jan 2003 22:49:10 -0800 > Reply-To: interchange-users@icdevgroup.org > > > -----Original Message----- > > From: interchange-users-admin@icdevgroup.org > > [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Thanh Luong > > Sent: Tuesday, January 21, 2003 8:35 AM > > To: interchange-users@icdevgroup.org > > Subject: Re: [ic] POS? > > > > > > > > --- Chris Anderson wrote: > > > So what kind of POS solutions is everyone using with interchange? > > > this has > > > recently become a much bigger priority for me. > > > > There was a string of emails that came out about a month ago. between > > 12/26/02 and 12/30/02 that recommended some POS systems. The title of > > the thread was "Brick and Mortar POS" Thats the only thing I can recall > > about anyone ever talking about POS systems. > OOPS!! > I meant to say that here, sorry. > > --__--__-- Chris I have been using Hot Connect (http://hotconnect.net) for about 6-7 months now. The integration is totally built to use with IC. Fees are resonable, depending on how you want it setup, virtual terminal, wireless, payment gateway... The company works with Global Payment Solutions and their system works awesome. MDell > Message: 11 > From: "Rene Hertell" > To: "Interchange-Users" > Date: Wed, 22 Jan 2003 14:39:55 +0200 > Subject: [ic] How do i validate a given input in table-editor? > Reply-To: interchange-users@icdevgroup.org > > Hi, > > I have a date-widget in a non-adminUI table-editor-page that I would need to > check against a date-field in an other table. The field I need to check has > to be between 1 and 3 days before the date that exists in an other table. > > What I understood from the docs there is only one way to check a field, and > that is by the check.field=required method, but this just checks if there is > a value or not > > I could probably manage to create the check routine in Perl, but for the > moment I don't know to execute that and return to the edit-tag with an error > message. > > Any help is appreciated, > > Regardss, Rene > > > > --__--__-- > > Message: 12 > From: "Steve in DC" > To: > Date: Wed, 22 Jan 2003 10:31:39 -0500 > Subject: [ic] Problems with Admin UI in 4.9.7 build > Reply-To: interchange-users@icdevgroup.org > > Just installed the latest build of Interchange and there seems to be > some issues with the CSS/HTML. It's all out of whack. Everything in just > plain links, no icons, etc. I went back to a build from a couple weeks > ago and it worked fine. > > Anyone have any thoughts about where to start checking this? > > -Steve > _________________________________________________________________ > Steve in DC email: steve@dcsteve72.com > Washington, DC web: http://www.dcsteve72.com > > > > --__--__-- > > Message: 13 > Date: Wed, 22 Jan 2003 10:05:44 -0600 > From: Terry Romine > To: interchange-users@icdevgroup.org > Subject: [ic] can I customize quantity pricing? > Reply-To: interchange-users@icdevgroup.org > > Still running 4.8.x > > On the item pricing page in Admin, there are q2, q5, q10, q25, q100 > > My client's pricing.txt just has: > sku price_group q2 q5 q10 q25 q100 > > and the client has weird combinations like boxes of 12, 24 pallets of > 144.. > > Is there a way to set up quantity prices for various groups or products? > > I'm not too experienced at this, and am getting lost trying to read > anything out of the manuals. > > Thanks > Terry Romine > > > --__--__-- > > Message: 14 > From: "Michael Goldfarb" > To: > Subject: RE: [ic] can I customize quantity pricing? > Date: Wed, 22 Jan 2003 09:09:30 -0700 > Organization: Contact Designs, LLC > Reply-To: interchange-users@icdevgroup.org > > >Still running 4.8.x > > > >On the item pricing page in Admin, there are q2, q5, q10, q25, q100 > > > >My client's pricing.txt just has: > >sku price_group q2 q5 q10 q25 q100 > > > >and the client has weird combinations like boxes of 12, 24 pallets of > >144.. > > > >Is there a way to set up quantity prices for various groups or > products? > > > >I'm not too experienced at this, and am getting lost trying to read > >anything out of the manuals. > > > >Thanks > >Terry Romine > > Yes, this is completely customizable. Just add more columns to your > pricing table as necessary and then re-start IC. That should > automatically add more entry fields when you click on QTY Pricing in the > Items Menu in the UI. > > > --__--__-- > > Message: 15 > Date: Wed, 22 Jan 2003 11:17:26 -0500 > From: Mike Heins > To: interchange-users@icdevgroup.org > Subject: Re: [ic] Problems with Admin UI in 4.9.7 build > Reply-To: interchange-users@icdevgroup.org > > Quoting Steve in DC (steve@dcsteve72.com): > > Just installed the latest build of Interchange and there seems to be > > some issues with the CSS/HTML. It's all out of whack. Everything in just > > plain links, no icons, etc. I went back to a build from a couple weeks > > ago and it worked fine. > > > > Anyone have any thoughts about where to start checking this? > > Assuming you are talking about the UI, the image share directory didn't > get copied over to the right place, that is all. > > If you go back to 4.9.7 and then copy the files from ICDIR/share/interchange > to your DOCROOT/interchange directory, all should be well. > > -- > Mike Heins > Perusion -- Expert Interchange Consulting http://www.perusion.com/ > phone +1.513.523.7621 > > How far can you open your mind before your brains fall out? > > > --__--__-- > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > > End of interchange-users Digest > From interchange-users@icdevgroup.org Wed Jan 22 23:30:01 2003 From: interchange-users@icdevgroup.org (David Haley) Date: Wed Jan 22 23:30:01 2003 Subject: [ic] Restarting IC under Cpanel with no UI/admin Message-ID: <20030123042914.31460.qmail@web11205.mail.yahoo.com> >How do I restart IC when it is installed under cpanel >if I don't have access to the admin interface? >I've recently been down this path under cpanel and I >found that the >quickest and easiest way is to copy your files to >another directory the >reinstall IC from scratch (this will give you back >your admin) and then >"carefully" move files back. >By carefully I mean check all your file permissions >and ownership rights Well I did just that, copied what I could to another directory and then executed the script to reinstall a fresh catalog under cpanel. (First I tried tech support restarted the server but it didn't work) But now after "creating a new" catalog it's giving me the following error: Undefined catalog: /~homeuser/cgi-bin/cart.cgi which I suspect means a file permission problem. But when I ssh into the box it does not show new catalog files. The old ones are still there. Do I have to blow out all the old catalog files for the new install to work under cpanel? All the file permissions under the catalog are: homeuser cpanel homeuser cpanal Is that OK, any help? Thanks. Does someone know and interchange ISP that doesn't use cpanel and is fast and cheap? (Asking too much?):o\ __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From interchange-users@icdevgroup.org Thu Jan 23 00:54:01 2003 From: interchange-users@icdevgroup.org (Blair Campbell) Date: Thu Jan 23 00:54:01 2003 Subject: [ic] checkout.html default to country References: <011d01c2c277$782dcf00$b17ba8c0@blairxpbox> <001801c2c27f$1980c5e0$1702a8c0@gordito> Message-ID: <005501c2c2a3$c4ee6210$b17ba8c0@blairxpbox> > Change SHIP_DEFAULT_COUNTRY in the variable table to CA. You can edit this > table in the UI table editor at the bottom of the page. > > Schuyler Langdon > GatorDev > Thanks Mate That worked! From interchange-users@icdevgroup.org Thu Jan 23 01:16:01 2003 From: interchange-users@icdevgroup.org (ACforSale Inc Sales Team) Date: Thu Jan 23 01:16:01 2003 Subject: [ic] Restarting IC under Cpanel with no UI/admin In-Reply-To: <20030123042914.31460.qmail@web11205.mail.yahoo.com> Message-ID: <004801c2c2a6$d1534450$6400a8c0@CCS> >How do I restart IC when it is installed under cpanel >if I don't have access to the admin interface? >I've recently been down this path under cpanel and I >found that the >quickest and easiest way is to copy your files to >another directory the >reinstall IC from scratch (this will give you back >your admin) and then >"carefully" move files back. >By carefully I mean check all your file permissions >and ownership rights Well I did just that, copied what I could to another directory and then executed the script to reinstall a fresh catalog under cpanel. (First I tried tech support restarted the server but it didn't work) But now after "creating a new" catalog it's giving me the following error: Undefined catalog: /~homeuser/cgi-bin/cart.cgi which I suspect means a file permission problem. But when I ssh into the box it does not show new catalog files. The old ones are still there. Do I have to blow out all the old catalog files for the new install to work under cpanel? All the file permissions under the catalog are: homeuser cpanel homeuser cpanal Is that OK, any help? Thanks. Does someone know and interchange ISP that doesn't use cpanel and is fast and cheap? (Asking too much?):o\ __________________________________________________ I should have mentioned that too, yes delete all the old files after you have the copy, you may also find that you need tech support to completely empty your trash as well, some of the permission on original files may not erase from trash. Best of Luck Gerry From interchange-users@icdevgroup.org Thu Jan 23 01:48:00 2003 From: interchange-users@icdevgroup.org (D Zhang - msi) Date: Thu Jan 23 01:48:00 2003 Subject: [ic] Restarting IC under Cpanel with no UI/admin References: <20030123042914.31460.qmail@web11205.mail.yahoo.com> Message-ID: <002701c2c2ab$01978aa0$0affff0a@msi5> ----- Original Message ----- From: "David Haley" Subject: Re: [ic] Restarting IC under Cpanel with no UI/admin > >How do I restart IC when it is installed under cpanel > >if I don't have access to the admin interface? > > >quickest and easiest way is to copy your files to > >another directory the > >reinstall IC from scratch (this will give you back > >your admin) and then > >"carefully" move files back. > > Well I did just that, copied what I could to another > directory and then executed the script to reinstall a > fresh catalog under cpanel. (First I tried tech > support restarted the server but it didn't work) But > now after "creating a new" catalog it's giving me the > following error: > > Undefined catalog: /~homeuser/cgi-bin/cart.cgi > remove "/cgi-bin/cart.cgi" before reinstallation > Does someone know and > interchange ISP that doesn't use cpanel and is fast > and cheap? (Asking too much?):o\ > should be able to find out in the biz list: Interchange-biz: business-related discussion (hosting, consulting, etc.) David http://www.msihosting.com > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > > From interchange-users@icdevgroup.org Thu Jan 23 03:24:01 2003 From: interchange-users@icdevgroup.org (Blair Campbell) Date: Thu Jan 23 03:24:01 2003 Subject: [ic] process.html Message-ID: <001b01c2c2b8$b660e690$b17ba8c0@blairxpbox> Dear List, I am trying to find the process.html page or it's simply the page that is the receipt page after you order. Is this actually called receipt.html or process.html? Where is it located? so I can edit it. Thanks Blair From interchange-users@icdevgroup.org Thu Jan 23 03:33:00 2003 From: interchange-users@icdevgroup.org (Miguel Navarro) Date: Thu Jan 23 03:33:00 2003 Subject: [ic] process.html References: <001b01c2c2b8$b660e690$b17ba8c0@blairxpbox> Message-ID: <002d01c2c2ba$7d6c9990$fd02000a@spider> process.html is not actually a file at all. view source of the preceeding page for this information in this case the page that gets generated is based on checkout.html and you can modify this page in the admin M ----- Original Message ----- From: "Blair Campbell" To: Sent: Thursday, January 23, 2003 12:23 AM Subject: [ic] process.html > Dear List, > > I am trying to find the process.html page or it's simply the page that is > the receipt page after you order. > > Is this actually called receipt.html or process.html? > > Where is it located? so I can edit it. > > Thanks > > Blair > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Thu Jan 23 05:10:01 2003 From: interchange-users@icdevgroup.org (Interchange server) Date: Thu Jan 23 05:10:01 2003 Subject: [ic] Mixing "cookbook" examples and Wiki? In-Reply-To: <3E2A0F57.76EBECC4@attglobal.net> References: <1042939656.6873.39.camel@swanky.mdhome.net> <3E2A0F57.76EBECC4@attglobal.net> Message-ID: <1043316930.1568.21.camel@lx450.beloura.local> On Sun, 2003-01-19 at 02:37, Jon wrote: > > Just curious, any thoughts on whether or not it would be wise to > > contribute to the Wiki with "cookbook" style examples? Or should we > > just stick to a reference type layout? > > -- > > My 2 cents, I love having examples. If there is any one thing I would > love to see improved in the existing documentation is to mix up the > examples with variations of usage of options and parameters. > I second that. Sometimes documentation is so extensive that it obfuscates how to do things in the most common situations. To see my point, do a 'man ping'. If the manpage would have a single example, for most common use the whole reference wouldn't even be needed. In fact I more frequently find the 'real' answer to questions by searching usenet than by reading the manual. Surely there is an art to reading manpages, but I'd choose a good explanation with a set of examples over just the specification anytime. Regards, MRJB From interchange-users@icdevgroup.org Thu Jan 23 05:43:00 2003 From: interchange-users@icdevgroup.org (John Delaney) Date: Thu Jan 23 05:43:00 2003 Subject: [ic] "Select a Brand" drop down, nearly there!!! Message-ID: I'm having trouble in figuring out why my drop-down menu select is not working. Briefly, I have a results page in which I have two drop down menus. One for "Sort By", which works fine. The Other a "Select a Brand" list which shows the matching brands, with a match count, allowing a user to narrow down the results to the selected brand. I have managed to get most of it to work except for the importing part. When you goto to select your brand nothing happens. The results are the same. I know the answer is something simple. Usally when I post something to the list the answer is something silly like a missing quote or something. Please help! Heres the relevent code:
[search-region more=1 search=" co=1 op=em sf=shop se=cook shop op=em sf=category se=[scratch current_category] [if value select_brand = [scratch current_man]]sf=manufacturer/se=[scratch current_man][/if] ml=21" ] John D From interchange-users@icdevgroup.org Thu Jan 23 05:46:01 2003 From: interchange-users@icdevgroup.org (=?iso-8859-1?Q?Paco_S=E1nchez?=) Date: Thu Jan 23 05:46:01 2003 Subject: [ic] Force a payment method at checkout for some items References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS><00ac01c2bc9a$f743db00$95824fd4@europa><3E2570AC.8070603@leidinger.net><006901c2be7b$7a1ef820$d4834fd4@europa> <20030118002818.25cb3130.racke@linuxia.de> <001201c2befe$a477a3f0$d4834fd4@europa> <20030118100735.A11679@bill.heins.net> Message-ID: <001001c2c2cc$4b7e71d0$420ed8d9@europa> From: "Mike Heins" > > It would be better to have a "cod_allowed" field in pricing or inventory. > > This is a typical need of tying the database to the shopping cart > to test for shipping/pricing alternatives. IC has some facilities > that make it fairly easy to do it. > Could I do this for only allowing a shipping method in case COD is selected as payment method? The problem here is that COD is only compatible with normal shipping with the post office (well, the truth is that it is with other shipping methods, but at a higher rate, thus I would rather disallow it with those shipping methods). > Add a column to the inventory database (or anywhere you choose) named > "cod_allowed". Set it to 1 if COD is allowed, blank otherwise. > > In catalog.cfg: > > AutoModifier inventory:cod_allowed > > (Of course you restart/apply changes, having changed configuration.) > > Now there will be a cod_allowed attribute in the shopping cart. At that point, > you can do: > > [calc] > $Scratch->{allow_cod} = 1; > foreach my $item (@$Items) { > next if $item->{cod_allowed}; > $Scratch->{allow_cod} = 0; > last; > } > return; > [/calc] > > Now you can test for your allowed payment methods: > > [if scratch allow_cod] > # ITL you need to enable COD > [/if] > Now I guess this tag in particular could also be applied to shipping by doing something like [if scratch allow_cod] # allow only Standard Post Office shipping [else] # allow all shipping method for that destination [/else] [/if] However I do not really see where to apply it. If it is done in the html for the shipping methods menu (checkout.html), the only effect is just not displaying it. Any clues, or something like this cannot be used for shipping? Regards, Paco Snchez http://pacosanchez.com mailto:psanchez%40pacosanchez%2ecom From interchange-users@icdevgroup.org Thu Jan 23 07:00:01 2003 From: interchange-users@icdevgroup.org (murahashi) Date: Thu Jan 23 07:00:01 2003 Subject: [ic] Total-cost is not equal to discounted price plus tax References: <000001c2c182$ece8bc60$0b01a8c0@NT3078> Message-ID: <01f001c2c2d9$04f01590$0c01a8c0@zaq.ne.jp> Hi, Thank you for your recomend. I got it and I understand what [total-cost] means. There si no problem. :-) Thanks. Murahashi ----- Original Message ----- From: "Jonathan Clark" To: Sent: Wednesday, January 22, 2003 4:25 AM Subject: RE: [ic] Total-cost is not equal to discounted price plus tax > > > I'm still have a problem of [total-cost] calculation. > > > > In case of mine, 5% discount for subtotal, and frac_digits 0, > > > > subtotal is 25450 * 0.95 = 24177.5 , rounded is 24178 Yen. > > [subtotal] shows > > 24,178 Yen. > > salestax is 24177.5 * 0.05 = 1208.875 , rounded is 1209 Yen. [salestax] > > shows 1,209 Yen. > > > > What is [total-cost] calculation? > > (A) 24177.5 + 1208.875 = 25386.375, [total-cost] shows 25386 Yen > > (B) 24178 + 1209 = 25387 > > > > >From assign tag in IC doc below, [total-cost] shows (A). Is it correct? > > I think [total-cost] should be 25,387Yen. > > > > Am I wrong? > > Yes. > > You are asking Interchange to _display_ costs rounded, not to calculate > rounded costs. > > If you did the equivalent in a spreadsheet, displaying to zero decimal > places, it would behave just like Interchange. > > Jonathan. > > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users > From interchange-users@icdevgroup.org Thu Jan 23 07:16:01 2003 From: interchange-users@icdevgroup.org (C.B. Currier) Date: Thu Jan 23 07:16:01 2003 Subject: [ic] GPG Encryption permission Problem Message-ID: <33936.68.32.170.192.1043324092.squirrel@mail.spinrx.com> Any suggestions on the error I keep finding in the scratch directory every time an order is placed? I also do not see the encryption actually taking place on the order. gpg: fatal: /root/.gnupg: can't create directory: Permission denied secmem usage: 0/0 bytes in 0/0 blocks of pool 0/16384 -- C.B. Currier From interchange-users@icdevgroup.org Thu Jan 23 08:21:01 2003 From: interchange-users@icdevgroup.org (James P. Kinney III) Date: Thu Jan 23 08:21:01 2003 Subject: [ic] GPG Encryption permission Problem In-Reply-To: <33936.68.32.170.192.1043324092.squirrel@mail.spinrx.com> References: <33936.68.32.170.192.1043324092.squirrel@mail.spinrx.com> Message-ID: <1043328001.4349.3.camel@archimedes.localnetsolutions.com> On Thu, 2003-01-23 at 07:14, C.B. Currier wrote: > Any suggestions on the error I keep finding in the scratch directory every > time an order is placed? I also do not see the encryption actually taking > place on the order. > > gpg: fatal: /root/.gnupg: can't create directory: Permission denied > secmem usage: 0/0 bytes in 0/0 blocks of pool 0/16384 This looks like Interchange may be trying to access the root directory as it's own. Double check the /etc/passwd file and make sure that the interchange user (typically interch) is NOT trying to use the /root/ directory as it's home. It would be much better to have as it's home directory /var/lib/interchange (on a redhat system installed with rpm's). -- James P. Kinney III \Changing the mobile computing world/ President and CEO \ one Linux user / Local Net Solutions,LLC \ at a time. / 770-493-8244 \.___________________________./ GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics) Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7 From interchange-users@icdevgroup.org Thu Jan 23 10:07:01 2003 From: interchange-users@icdevgroup.org (Cameron) Date: Thu Jan 23 10:07:01 2003 Subject: [ic] Affiliate login problem. Message-ID: <01ca01c2c2f0$d2dfd820$0100a8c0@spankmaster> Hi guys, here's a weird one. First time i try to log into the affiliates section on my site, it dies with this: 203.220.102.120 6aJUsMfN:203.220.102.120 - [23/January/2003:10:08:50 -0500] cart /cgi-bin/cart/process Denied attempted login for user name ''; must have at least 2 characters But the SECOND time, it works, with this: 203.220.102.120 6aJUsMfN:203.220.102.120 - [23/January/2003:10:09:44 -0500] cart /cgi-bin/cart/process Successful login by user 'consolidated' And that's it. The two pages generated to login from are *PRECISELY* the same, all bar the "Invalid user name or password." message. So. Anyone seen this sort of thing before? It's not the end of the world - i can, technically, get in - but boy it's going to annoy the affiliates. From interchange-users@icdevgroup.org Thu Jan 23 10:30:00 2003 From: interchange-users@icdevgroup.org (C.B. Currier) Date: Thu Jan 23 10:30:00 2003 Subject: [ic] GPG Encryption permission Problem In-Reply-To: <1043328001.4349.3.camel@archimedes.localnetsolutions.com> References: <33936.68.32.170.192.1043324092.squirrel@mail.spinrx.com> <1043328001.4349.3.camel@archimedes.localnetsolutions.com> Message-ID: <4732.216.200.97.45.1043335776.squirrel@mail.spinrx.com> James P. Kinney III said: > On Thu, 2003-01-23 at 07:14, C.B. Currier wrote: >> Any suggestions on the error I keep finding in the scratch directory >> every time an order is placed? I also do not see the encryption >> actually taking place on the order. >> >> gpg: fatal: /root/.gnupg: can't create directory: Permission denied >> secmem usage: 0/0 bytes in 0/0 blocks of pool 0/16384 > > This looks like Interchange may be trying to access the root directory > as it's own. Double check the /etc/passwd file and make sure that the > interchange user (typically interch) is NOT trying to use the /root/ > directory as it's home. It would be much better to have as it's home > directory /var/lib/interchange (on a redhat system installed with > rpm's). I have taken a look to see if that was the problem. Turns out that the interch home folder is /var/lib/interchange. There is a .gnupg folder created when I imported the key for my mail account. Any other place that Interchange might be configured to try to runas root or a place where a default home folder might be set? C.B. From interchange-users@icdevgroup.org Thu Jan 23 10:52:00 2003 From: interchange-users@icdevgroup.org (Toni Mueller) Date: Thu Jan 23 10:52:00 2003 Subject: [ic] Re: 4.9.4: [calc] and [currency] hosed - locale problem? [SOLVED] In-Reply-To: <20021213224847.28615.qmail@oak.oeko.net>; from support-ic@oeko.net on Fri, Dec 13, 2002 at 11:48:47PM +0100 References: <20021213224847.28615.qmail@oak.oeko.net> Message-ID: <20030123155128.30247.qmail@oak.oeko.net> Hi, we had severe problems displaying the VAT correctly on our flypage, the result being ALWAYS wrong. Background information: With the constant changes in the legal settings here in Germany, there appear to be requirements to at least be able (afaik: MUST) show an item price net, the vat amount, and both added together (don't ask me why 8-( ). The legal rules on which to display, when, and what not to display seem to change on an almost weekly basis, but in order to avoid legal hassle, one has do adjust (or take the shop down). Anyway, we originally wanted to show "nicely" formatted prices in Euro according to our local tastes: Locale de_DE@euro Locale de_DE mon_decimal_point , Locale de_DE mon_thousands_sep . Locale de_DE p_cs_precedes 0 Locale de_DE currency_symbol " €" Unfortunately, this badly breaks [calc] and [currency] which are somehow evaluating their expressions as _strings_ in Perl, much like eval "stuff_inside_cal" (I didn't make too large inrods into Vend/Interpolate.pm to be 100% sure, though). With the settings above, you can say: [calc][item-price noformat][/calc] and get the part of the price that's _after_ the decimal point (really a comma), apparently since this is the last part of a Perl expression: [perl] 2, 3 [/perl] yields 3. The workaround was to forcefully reset all locale settings to C, but unfortunately the catalog required forcing decimal points and such, too, before it would obey: Locale C Locale C currency_symbol " €" Locale C mon_decimal_point . Locale C frac_digits 2 which makes for a less-localized experience, but at least solved the numerical problems :-| It would be nice if someone in the know could take a look at this and suggest a solution, or a good place to start hacking. Thank you! This test was conducted with 4.9.6-something. Side question: Is it sensible to run 4.9.7 in production already? Best, --Toni++ From interchange-users@icdevgroup.org Thu Jan 23 10:56:00 2003 From: interchange-users@icdevgroup.org (Toni Mueller) Date: Thu Jan 23 10:56:00 2003 Subject: [ic] Re: interchange 4.9.5 with apache 2.0 In-Reply-To: <000201c2a72c$6b0e63e0$020110ac@majestic.cursor-software.co.uk>; from kevin@cursor.biz on Thu, Dec 19, 2002 at 07:01:13AM -0000 References: <002701c2a2ea$65f61bf0$0400a8c0@mercury> <000201c2a72c$6b0e63e0$020110ac@majestic.cursor-software.co.uk> Message-ID: <20030123155227.30255.qmail@oak.oeko.net> Hi, On Thu, Dec 19, 2002 at 07:01:13AM -0000, Kevin Walsh wrote: > stjohn [stjohn@kr8.co.uk] wrote: > > can interchange 4.9.5 be used with apache 2.0 ? > Yes. ok, is it desirable? I'm pondering whether to attempt to switch, but would like second opinions first ;-) Best, --Toni++ From interchange-users@icdevgroup.org Thu Jan 23 11:45:00 2003 From: interchange-users@icdevgroup.org (Kevin Walsh) Date: Thu Jan 23 11:45:00 2003 Subject: [ic] Re: interchange 4.9.5 with apache 2.0 In-Reply-To: <20030123155227.30255.qmail@oak.oeko.net> Message-ID: <000d01c2c2fe$ba410420$020110ac@majestic.cursor-software.co.uk> Toni Mueller [support-ic@oeko.net] wrote: > > > can interchange 4.9.5 be used with apache 2.0 ? > > > > > Yes. > > > ok, is it desirable? > > I'm pondering whether to attempt to switch, but would like second > opinions first ;-) > If you currently have Apache 1.3 then you must consider whether Apache 2 has any features you need that are not available in 1.3. If this is the case then make the switch, otherwise you may as well stick with what you have. There will come a point when 1.3 is far too old and unsupported to be viable, at which time an upgrade to Apache 2 would be strongly recommended. In my opinion, that time is not now. I'm still using Apache 1.3, by the way. I suggest you study the documentation on the Apache website and match your requirements against the available versions before you make your decision. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ From interchange-users@icdevgroup.org Thu Jan 23 12:10:00 2003 From: interchange-users@icdevgroup.org (Frank Drummond) Date: Thu Jan 23 12:10:00 2003 Subject: [ic] tree.ora Message-ID: <6743B980B32CBC4780F834D985081B0C0B1D9D@diiserver.d2computers.com> I'm working with interchange 4.9.5. I just created the foundation store with an Oracle 9.2 backend. The software (Interchange) is very impressive. I hope I can get the hang of customizing my page. I had to make the following change to "tree.ora" in order to have "makecat" create the tree table. 16c16 < Database tree COLUMN_DEF "inactive=int not null default 0" --- > Database tree COLUMN_DEF "inactive=int default 0 not null" From interchange-users@icdevgroup.org Thu Jan 23 12:13:00 2003 From: interchange-users@icdevgroup.org (Blair Campbell) Date: Thu Jan 23 12:13:00 2003 Subject: [ic] Thank-You on customer log in? Message-ID: <005c01c2c301$f7207bc0$b17ba8c0@blairxpbox> Dear list, When I try the customer log in and sign up it takes the info and puts it in the database; however there is no indication to the customer that they have been inputed. They get no 'Thank-You for singing up' or receipt emailed to them. Is there a way to add some of this functionality? Blair From interchange-users@icdevgroup.org Thu Jan 23 12:17:01 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Thu Jan 23 12:17:01 2003 Subject: [ic] Re: 4.9.4: [calc] and [currency] hosed - locale problem? [SOLVED] In-Reply-To: <20030123155128.30247.qmail@oak.oeko.net>; from support-ic@oeko.net on Thu, Jan 23, 2003 at 04:51:28PM +0100 References: <20021213224847.28615.qmail@oak.oeko.net> <20030123155128.30247.qmail@oak.oeko.net> Message-ID: <20030123121631.A24414@bill.heins.net> Quoting Toni Mueller (support-ic@oeko.net): > > > Hi, > > > we had severe problems displaying the VAT correctly on our flypage, > the result being ALWAYS wrong. > > Background information: With the constant changes in the legal > settings here in Germany, there appear to be requirements to > at least be able (afaik: MUST) show an item price net, the > vat amount, and both added together (don't ask me why 8-( ). > The legal rules on which to display, when, and what not to > display seem to change on an almost weekly basis, but in order > to avoid legal hassle, one has do adjust (or take the shop down). > > Anyway, we originally wanted to show "nicely" formatted prices > in Euro according to our local tastes: > > Locale de_DE@euro > Locale de_DE mon_decimal_point , > Locale de_DE mon_thousands_sep . > Locale de_DE p_cs_precedes 0 > Locale de_DE currency_symbol " €" > > Unfortunately, this badly breaks [calc] and [currency] which are > somehow evaluating their expressions as _strings_ in Perl, much > like eval "stuff_inside_cal" (I didn't make too large inrods into > Vend/Interpolate.pm to be 100% sure, though). > > With the settings above, you can say: > > [calc][item-price noformat][/calc] and get the part of the price > that's _after_ the decimal point (really a comma), apparently > since this is the last part of a Perl expression: > [perl] 2, 3 [/perl] yields 3. > > The workaround was to forcefully reset all locale settings to C, > but unfortunately the catalog required forcing decimal points > and such, too, before it would obey: > > Locale C > Locale C currency_symbol " €" > Locale C mon_decimal_point . > Locale C frac_digits 2 > > which makes for a less-localized experience, but at least solved > the numerical problems :-| > > It would be nice if someone in the know could take a look at this > and suggest a solution, or a good place to start hacking. Thank > you! This is going to be fixed in 4.9.7 today -- I am taking on this locale thing so that we don't have problems in 5.0. The problem is that a persistent setlocale() call is being done when it should not be; I will change this. > > This test was conducted with 4.9.6-something. > > > Side question: Is it sensible to run 4.9.7 in production already? > If it isn't too critical. There is one major change to the output model, but I haven't seen any reports of it causing problems so far. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Being against torture ought to be sort of a bipartisan thing. -- Karl Lehenbauer From interchange-users@icdevgroup.org Thu Jan 23 12:21:06 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Thu Jan 23 12:21:06 2003 Subject: [ic] Force a payment method at checkout for some items In-Reply-To: <001001c2c2cc$4b7e71d0$420ed8d9@europa>; from lists@e-civitas.com on Thu, Jan 23, 2003 at 11:43:16AM +0100 References: <002a01c2bc68$0ea0e000$0b00a8c0@CCS><00ac01c2bc9a$f743db00$95824fd4@europa><3E2570AC.8070603@leidinger.net><006901c2be7b$7a1ef820$d4834fd4@europa> <20030118002818.25cb3130.racke@linuxia.de> <001201c2befe$a477a3f0$d4834fd4@europa> <20030118100735.A11679@bill.heins.net> <001001c2c2cc$4b7e71d0$420ed8d9@europa> Message-ID: <20030123122000.A24608@bill.heins.net> Quoting Paco S?nchez (lists@e-civitas.com): > From: "Mike Heins" > > > > It would be better to have a "cod_allowed" field in pricing or inventory. > > > > This is a typical need of tying the database to the shopping cart > > to test for shipping/pricing alternatives. IC has some facilities > > that make it fairly easy to do it. > > > > Could I do this for only allowing a shipping method in case COD is selected > as payment method? Of course. > The problem here is that COD is only compatible with normal shipping with > the post office (well, the truth is that it is with other shipping methods, > but at a higher rate, thus I would rather disallow it with those shipping > methods). > > > Add a column to the inventory database (or anywhere you choose) named > > "cod_allowed". Set it to 1 if COD is allowed, blank otherwise. > > > > In catalog.cfg: > > > > AutoModifier inventory:cod_allowed > > > > (Of course you restart/apply changes, having changed configuration.) > > > > Now there will be a cod_allowed attribute in the shopping cart. At that > point, > > you can do: > > > > [calc] > > $Scratch->{allow_cod} = 1; > > foreach my $item (@$Items) { > > next if $item->{cod_allowed}; > > $Scratch->{allow_cod} = 0; > > last; > > } > > return; > > [/calc] > > > > Now you can test for your allowed payment methods: > > > > [if scratch allow_cod] > > # ITL you need to enable COD > > [/if] > > > > Now I guess this tag in particular could also be applied to shipping by > doing something like > > [if scratch allow_cod] > # allow only Standard Post Office shipping > [else] > # allow all shipping method for that destination > [/else] > [/if] > > However I do not really see where to apply it. If it is done in the html > for the shipping methods menu (checkout.html), the only effect is just not > displaying it. Any clues, or something like this cannot be used for > shipping? You could put [if scratch allow_cod] somewhere in the cost or criterion field, and set it to 0 if not set. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. -- Dick Feynman From interchange-users@icdevgroup.org Thu Jan 23 12:38:01 2003 From: interchange-users@icdevgroup.org (Jeff Dafoe) Date: Thu Jan 23 12:38:01 2003 Subject: [ic] Thank-You on customer log in? References: <005c01c2c301$f7207bc0$b17ba8c0@blairxpbox> Message-ID: <003b01c2c304$f23c0360$0a01000a@badtzmaru.com> > When I try the customer log in and sign up it takes the info and puts it in > the database; however there is no indication to the customer that they have > been inputed. They get no 'Thank-You for singing up' or receipt emailed to > them. > > Is there a way to add some of this functionality? It depends on what your site flow is. You could set the mv_nextpage for the account page to be that of a "thanks for signing up" splash page. Look at the Save Acct. Info code block and change the "customerservice" to "thanks" and then make a thanks.html page. Jeff From interchange-users@icdevgroup.org Thu Jan 23 13:01:00 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Thu Jan 23 13:01:00 2003 Subject: [ic] tree.ora In-Reply-To: <6743B980B32CBC4780F834D985081B0C0B1D9D@diiserver.d2computers.com>; from fdrummond@d2computers.com on Thu, Jan 23, 2003 at 12:06:05PM -0500 References: <6743B980B32CBC4780F834D985081B0C0B1D9D@diiserver.d2computers.com> Message-ID: <20030123130003.A25166@bill.heins.net> Quoting Frank Drummond (fdrummond@d2computers.com): > I'm working with interchange 4.9.5. I just created the foundation store > with an Oracle 9.2 backend. The software (Interchange) is very > impressive. I hope I can get the hang of customizing my page. > > I had to make the following change to "tree.ora" in order to have > "makecat" create the tree table. > > 16c16 > < Database tree COLUMN_DEF "inactive=int not null default 0" > --- > > Database tree COLUMN_DEF "inactive=int default 0 not null" It is in CVS. Thanks for the report. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 There's nothing sweeter than life nor more precious than time. -- Barney From interchange-users@icdevgroup.org Thu Jan 23 13:32:00 2003 From: interchange-users@icdevgroup.org (Blair Campbell) Date: Thu Jan 23 13:32:00 2003 Subject: [ic] Message-ID: <008e01c2c30d$909573e0$b17ba8c0@blairxpbox> Dear list, The above function works when I search my interchange site but does not work when I select product categories link. I have looked at the source code for the page and it seems to be identical. Here is the page that gives me 10 products via the search function: http://www.drinkandshrinknow.com/cgi-bin/sam/search.html?id=GeseTxdo&mv_pc=4 38 Here is the page by clicking the product category link: http://www.drinkandshrinknow.com/cgi-bin/sam/scan/fi=products/st=db/co=yes/s f=category/se=Skin%20Care/va=banner_image=/va=banner_text=.html I am not sure what I am missing? I have had this problem for a while and still can't figure it out. Any help appreciated Blair From interchange-users@icdevgroup.org Thu Jan 23 14:24:01 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Thu Jan 23 14:24:01 2003 Subject: [ic] Locale fixes Message-ID: <20030123142338.A26849@bill.heins.net> I have made numerous Locale fixes to the DEVEL branch of Interchange. It would be nice if people using multiple locales would check their catalog against them and see if 1. What used to work still works 2. What was a problem is fixed This should solve just about every problem related to decimal point setting that I have heard about. If it does not, I need *cogent* bug reports to help me make sure this is nailed. Best, Mike -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Research is what I'm doing when I don't know what I'm doing. -- Wernher Von Braun From interchange-users@icdevgroup.org Thu Jan 23 15:05:01 2003 From: interchange-users@icdevgroup.org (Andrew Brown) Date: Thu Jan 23 15:05:01 2003 Subject: [ic] Tracking numbers in 4.9.7 UPS and Fedex question Message-ID: <7E6C19214D923642887D7578A9DC86161D3E58@hergoserver.hergo.local> It nice now their is an actual section to input tracking numbers. My company ships UPS and Fedex. The problem is in the demo when you put in a tracking number it defaults to a UPS link. Is their a way to code the admin or the check_orders page to either put in UPS numbers or fedex numbers and link it to the right UPS or Fedex tracking info page. I would imagine it could be something in this code in check_orders if($tracking) { Debug("found tracking $tracking"); my @ids = grep /\S/, split /\s+/, $tracking; my $tpl = $Variable->{TRACKING_NUMBER_QUERY} || <UPS {TRACKING_NUMBER} EOF for(@ids) { Debug("found id $_"); my $val = $tpl; $val =~ s/{TRACKING_NUMBER}/$_/g; $hash{status} .= $val; From interchange-users@icdevgroup.org Thu Jan 23 15:24:00 2003 From: interchange-users@icdevgroup.org (Aaron Hazelton) Date: Thu Jan 23 15:24:00 2003 Subject: [ic] mv_order_fly not generating expected results Message-ID: <000601c2c31d$49517be0$ab7ba8c0@abhlaptop> I have read and re-read the docs on this and tried several different ways of input, but am getting various results with each method. Here's the breakdown into 3 questions: 1. if using a URL like this: [area href="process" form=" mv_todo=refresh mv_nextpage=admin/entry mv_order_item=122 mv_order_fly=description=some test item|price=100.01 "] you get what you would expect, and description shows, but with this error in the logs: process Bad data selector='mv_fly' field='gift_cert' key='122' where is gift_cert coming from?? and what does this mean? 2. if using 's like this: you have to enter the text input for price, refresh the page, and then fill in the mv_order_item for it to add the item. Otherwise, you have no price. Also, the description does *not* show up, even if you do refresh the page. After refreshing the page, and entering the fake sku, the item will be added at the price you input, but also with an error *like above* about the "gift_cert field" isn't there some way to use text inputs, and add the item on the fly without the extra page refresh? I tried some mv_click type options but was unsuccessful?? 3. If you use a one-line hidden input (which is in the docs) like this: it just does not work for me. No item is added, even if you do a page refresh to update the variables first. Also I get a different error in the logs: process.html Attempt to order missing product code: onelineinput where "onelineinput" was the fake sku I tried to enter. So, if I want to have a sku, price, and description, the only answer seems to be a link, but the preferred way of entry is to use text inputs. Am I missing something? or is this just weird? -- Aaron From interchange-users@icdevgroup.org Thu Jan 23 15:27:59 2003 From: interchange-users@icdevgroup.org (Dave LaTourette) Date: Thu Jan 23 15:27:59 2003 Subject: [ic] Build/change cross component help In-Reply-To: <003b01c2c304$f23c0360$0a01000a@badtzmaru.com> Message-ID: I'd like a component very similar to the cross component, but instead of selecting certain sku's to display, I'd like to select a product category (from a drop-down list) to display random sku's from. Has anyone done this, and would you share your work? I've looked at the cross component in hopes of modifying it to suit, but I don't have the programming skills to do it. Thanks, Dave LaTourette Davesport LLC ph. 425-888-4444 fax 425-888-6444 www.davesport.com From interchange-users@icdevgroup.org Thu Jan 23 16:49:00 2003 From: interchange-users@icdevgroup.org (Nick Hall) Date: Thu Jan 23 16:49:00 2003 Subject: [ic] Tracking numbers in 4.9.7 UPS and Fedex question In-Reply-To: <7E6C19214D923642887D7578A9DC86161D3E58@hergoserver.hergo.l ocal> Message-ID: <5.2.0.9.2.20030123153839.01d79c70@mail.selltothem.com> At 02:03 PM 1/23/2003, you wrote: >It nice now their is an actual section to input tracking numbers. My >company ships UPS and Fedex. The problem is in the demo when you put in a >tracking number it defaults to a UPS link. Is their a way to code the >admin or the check_orders page to either put in UPS numbers or fedex >numbers and link it to the right UPS or Fedex tracking info page. > >I would imagine it could be something in this code in check_orders > > if($tracking) { >Debug("found tracking $tracking"); > my @ids = grep /\S/, split /\s+/, $tracking; > my $tpl = $Variable->{TRACKING_NUMBER_QUERY} || > <HREF="http://wwwapps.ups.com/etracking/tracking.cgi?InquiryNumber1={TRACKING_NUMBER}&TypeOfInquiryNumber=T">UPS >{TRACKING_NUMBER} >EOF > > for(@ids) { >Debug("found id $_"); > my $val = $tpl; > $val =~ s/{TRACKING_NUMBER}/$_/g; > $hash{status} .= $val; All of our company's Fedex tracking numbers start with 155 (and UPS obviously doesn't). I'm not sure if that is a standard prefix for Fedex Ground, since we only ship ground, or if that is just a company specific prefix. Maybe someone that ships a lot with Fedex will know? I've put the relevant section of code that we're using which creates a tracking link automatically whether or not it is a UPS or Fedex number below. We are currently using it in a 4.8.6 catalog and I see from the CVS log that Mike modified the check_orders.html page in revision 2.1 to work a little differently but the same method should be easily adaptable (it looks like the status field in the hash has been replaced by tracking): if($hash{status} =~ /\d/) { my @ids = grep /\S/, split /\s+/, $hash{status}; $hash{status} = ''; for(@ids) { if ($_ =~ /^155/) { # Check if FED EX number (starts with 155) $hash{status} .= <FED EX $_ EOF } else { # UPS number or other $hash{status} .= <UPS $_ EOF } } } else { $hash{status} = <$hash{status} EOF } Hope this helps, Nick Hall SellToThem.com E-Commerce Solutions http://www.selltothem.com From interchange-users@icdevgroup.org Thu Jan 23 16:55:01 2003 From: interchange-users@icdevgroup.org (Toni Mueller) Date: Thu Jan 23 16:55:01 2003 Subject: [ic] Re: interchange 4.9.5 with apache 2.0 In-Reply-To: <000d01c2c2fe$ba410420$020110ac@majestic.cursor-software.co.uk>; from kevin@cursor.biz on Thu, Jan 23, 2003 at 04:44:42PM -0000 References: <20030123155227.30255.qmail@oak.oeko.net> <000d01c2c2fe$ba410420$020110ac@majestic.cursor-software.co.uk> Message-ID: <20030123215359.5620.qmail@oak.oeko.net> Hi, On Thu, Jan 23, 2003 at 04:44:42PM -0000, Kevin Walsh wrote: > Toni Mueller [support-ic@oeko.net] wrote: > > > > can interchange 4.9.5 be used with apache 2.0 ? > > > Yes. > > ok, is it desirable? > > > > I'm pondering whether to attempt to switch, but would like second > > opinions first ;-) > If you currently have Apache 1.3 then you must consider whether > Apache 2 has any features you need that are not available in 1.3. > If this is the case then make the switch, otherwise you may as well > stick with what you have. yuck. Ok, thanks for the well-meant advice, but yes, I know at least one desirable feature in 2.0 that isn't in 1.3, and not doable there as well. OTOH a web server has to be stable and secure, and since 2.0 appears to be largely unproven yet, I'm a bit hesitant. The question is if the associated risks are worth it. If anyone could say that his/her sizable and numerous installations have much improved by switchin (and why and how), that would be a plus for 2.0. > There will come a point when 1.3 is far too old and unsupported to > be viable, at which time an upgrade to Apache 2 would be strongly > recommended. In my opinion, that time is not now. Ok, so you say that currently sticking with 1.3 is the better option for you. > I'm still using Apache 1.3, by the way. I suggest you study the > documentation on the Apache website and match your requirements against > the available versions before you make your decision. Paper won't blink, even if you write down the most blatant lies. Of course, the Apache developers think that Apache 2.0 is much better than 1.3, but I also know some people who think rather different. I'm "in the middle", so to say... Best, --Toni++ From interchange-users@icdevgroup.org Thu Jan 23 17:00:01 2003 From: interchange-users@icdevgroup.org (Allyn Hunt) Date: Thu Jan 23 17:00:01 2003 Subject: [ic] can I customize quantity pricing? Message-ID: <2D1444BBD089BB4BB06B27A900618C471148A5@diamond.carltonusa.com> I'd like to expand on Terry's question, as my client also has weird yet numerous pricing models. I'd like to to know if anybody here has heard of this kind of a setup and if it is feasible with interchange? Ok, not only do we have various qty items, such as 125/pack, 500/roll and so on, but also quite a few sets of price break ranges (ex. 1-10 @ 1.50, 11-19 @ 1.45, 12&up @ 1.25). We have on the order of 70-80 unique sets of price break ranges and probably 10-20 quantities (maybe more), all in various combinations for 50,000 or so products. So, has anybody done anything similar with interchange? What was your overall experience? Any insight provided is greatly appreciated. Thanks Allyn Hunt -----Original Message----- From: Michael Goldfarb [mailto:mikeg@contactdesigns.com] Sent: Wednesday, January 22, 2003 10:10 AM To: interchange-users@icdevgroup.org Subject: RE: [ic] can I customize quantity pricing? >Still running 4.8.x > >On the item pricing page in Admin, there are q2, q5, q10, q25, q100 > >My client's pricing.txt just has: >sku price_group q2 q5 q10 q25 q100 > >and the client has weird combinations like boxes of 12, 24 pallets of >144.. > >Is there a way to set up quantity prices for various groups or products? > >I'm not too experienced at this, and am getting lost trying to read >anything out of the manuals. > >Thanks >Terry Romine Yes, this is completely customizable. Just add more columns to your pricing table as necessary and then re-start IC. That should automatically add more entry fields when you click on QTY Pricing in the Items Menu in the UI. _______________________________________________ interchange-users mailing list interchange-users@icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-users From interchange-users@icdevgroup.org Thu Jan 23 17:16:01 2003 From: interchange-users@icdevgroup.org (ICDEV) Date: Thu Jan 23 17:16:01 2003 Subject: [ic] can I customize quantity pricing? In-Reply-To: <2D1444BBD089BB4BB06B27A900618C471148A5@diamond.carltonusa.com> Message-ID: >> I'd like to expand on Terry's question, as my client also has weird yet numerous pricing models. I'd like to to know if anybody here has heard of this kind of a setup and if it is feasible with interchange? Ok, not only do we have various qty items, such as 125/pack, 500/roll and so on, but also quite a few sets of price break ranges (ex. 1-10 @ 1.50, 11-19 @ 1.45, 12&up @ 1.25). We have on the order of 70-80 unique sets of price break ranges and probably 10-20 quantities (maybe more), all in various combinations for 50,000 or so products. So, has anybody done anything similar with interchange? What was your overall experience? Any insight provided is greatly appreciated. Thanks Allyn Hunt << Here is a snip of our pricing file: sku price_group q1 q2 q3 q4 q5 q6 q10 q12 q15 q24 q25 q36 q48 q50 q72 q100 q144 q250 w2 w5 w10 w25 w100 sku12 ABUXX 2.66 2.66 2.66 2.66 2.66 2.66 2.66 2.4 2.4 2.4 2.4 1.99 1.99 1.99 1.99 1.99 1.99 1.99 This is based on the standard foundation pricing file, with a few more discounts. You need to keep in mind that if someone orders one of the breaks like q10, and you don't have a quantity break for that particular sku, you have to set a value in this spot. It could be higher, or lower than the adjacent price breaks depending on your price struture for broken cases/boxes, etc. We just fill in the values with the previous break prices until then next break price is met for that particular item. I also maintain a pricegroupdiscount database that populates these values based on predetermined discounts, per price_group. This is done outside interchange, and hooks into the customers back end inventory & price system. We haven't implemented wholesale price structures yet. I have found this to be a very flexible structure. -Steve From interchange-users@icdevgroup.org Thu Jan 23 17:27:01 2003 From: interchange-users@icdevgroup.org (Mike Heins) Date: Thu Jan 23 17:27:01 2003 Subject: [ic] Re: interchange 4.9.5 with apache 2.0 In-Reply-To: <20030123215359.5620.qmail@oak.oeko.net>; from support-ic@oeko.net on Thu, Jan 23, 2003 at 10:53:59PM +0100 References: <20030123155227.30255.qmail@oak.oeko.net> <000d01c2c2fe$ba410420$020110ac@majestic.cursor-software.co.uk> <20030123215359.5620.qmail@oak.oeko.net> Message-ID: <20030123172618.A29307@bill.heins.net> Quoting Toni Mueller (support-ic@oeko.net): > > > Hi, > > On Thu, Jan 23, 2003 at 04:44:42PM -0000, Kevin Walsh wrote: > > Toni Mueller [support-ic@oeko.net] wrote: > > > > > can interchange 4.9.5 be used with apache 2.0 ? > > > > Yes. > > > ok, is it desirable? > > > > > > I'm pondering whether to attempt to switch, but would like second > > > opinions first ;-) > > If you currently have Apache 1.3 then you must consider whether > > Apache 2 has any features you need that are not available in 1.3. > > If this is the case then make the switch, otherwise you may as well > > stick with what you have. > > yuck. Ok, thanks for the well-meant advice, but yes, I know at least > one desirable feature in 2.0 that isn't in 1.3, and not doable there > as well. OTOH a web server has to be stable and secure, and since > 2.0 appears to be largely unproven yet, I'm a bit hesitant. As a prover, I have now served in excess of 20,000,000 pages with Apache 2.0, including a couple of million of those being IC pages. And that is in less than 2 months time. So I think it isn't terrible, anyway. My guess is that you would survive. 8-) Disclaimer -- I am not using PHP, mod_perl, or other modules beyond mod_cgi, mod_rewrite, mod_ssl, and mod_auth. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.513.523.7621 Nature, to be commanded, must be obeyed. -- Francis Bacon From interchange-users@icdevgroup.org Thu Jan 23 17:29:01 2003 From: interchange-users@icdevgroup.org (Barry Treahy, Jr.) Date: Thu Jan 23 17:29:01 2003 Subject: [ic] can I customize quantity pricing? In-Reply-To: <2D1444BBD089BB4BB06B27A900618C471148A5@diamond.carltonusa.com> References: <2D1444BBD089BB4BB06B27A900618C471148A5@diamond.carltonusa.com> Message-ID: <3E306C2B.5010109@MMaz.com> Allyn Hunt wrote: >I'd like to expand on Terry's question, as my client also has weird yet >numerous pricing models. I'd like to to know if anybody here has heard >of this kind of a setup and if it is feasible with interchange? > >Ok, not only do we have various qty items, such as 125/pack, 500/roll >and so on, but also quite a few sets of price break ranges (ex. 1-10 @ >1.50, 11-19 @ 1.45, 12&up @ 1.25). We have on the order of 70-80 unique >sets of price break ranges and probably 10-20 quantities (maybe more), >all in various combinations for 50,000 or so products. > >So, has anybody done anything similar with interchange? What was your >overall experience? > > You can, with the CommonAdjust usage, create a Perl routine that does any type of custom pricing you feel in necessary... It just requires the coding... Barry -- Barry Treahy, Jr * Midwest Microwave * Vice President & CIO E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028 From interchange-users@icdevgroup.org Thu Jan 23 18:00:01 2003 From: interchange-users@icdevgroup.org (Caleb Phillips) Date: Thu Jan 23 18:00:01 2003 Subject: [ic] Shipping Methods In-Reply-To: <000501c2c0b1$fc50bfd0$6701a8c0@webtownelvisaltherr.ch> References: <000501c2c0b1$fc50bfd0$6701a8c0@webtownelvisaltherr.ch> Message-ID: <1043362728.416.10.camel@kiosk.studioresource.net> > after a User has completed his chart, he checks out and then automatically > there shoud be a shipping tax > of SFR 6.- to be added to the total price, and also there shoud be a > execption (if Statement) if the total prices > is over SFR 200.- (which is shipping free) > > I tried this with adding a shipping method, but it doesn't work, the tax > won't be added how about something like this in shipping.asc: STD Standard [subtotal noformat=1] 0 0 e Nothing to Ship! {'PriceDivide' => "1",} STD Standard [subtotal noformat=1] 0 200 f [subtotal noformat=1]*.6 {'PriceDivide' => "1",} STD Standard [subtotal noformat=1] 200 9999 f 0.00 { free => 'Free!' } Of course this will not give you FREE SHIPPING as an option...but you didn't specify that ;P Good Luck. -- ------------------------------------------- | Caleb Phillips | | The Studio Resource | | IT Specialist | | | | Handcrafted for you in Ximian Evolution | ------------------------------------------- From interchange-users@icdevgroup.org Thu Jan 23 18:12:00 2003 From: interchange-users@icdevgroup.org (Frank Maestas) Date: Thu Jan 23 18:12:00 2003 Subject: [ic] Unable to add item to the catalog after upgrade to 4.9.5 Message-ID: <000001c2c334$80e60870$2a00a8c0@frankmaestas> Hello, I too am having this same problem. I went from 4.8.6 to 4.9.5 now cannot add items to any catalogs. I read in a previous post to "add a new column to table mv_metadata, the column should be named 'extended'. How is this done? I found the mv_metadata table but am not sure of the steps and syntax to add a column. My only workaround so far is to use "phpMyAdmin" to access the products table and add my new item from there. Thanks! Frank Maestas TTS Performance Systems Inc. frank.maestas@ttseagle.com www.MyPlantsTraining.com From interchange-users@icdevgroup.org Thu Jan 23 18:17:00 2003 From: interchange-users@icdevgroup.org (Caleb Phillips) Date: Thu Jan 23 18:17:00 2003 Subject: [ic] Advanced Sort Question In-Reply-To: References: Message-ID: <1043363773.416.25.camel@kiosk.studioresource.net> > I have a results page, from which I read in a variable called [cgi > name=browse_cat], where you can select to re-sort results (in a drop-down > list) by certain criteria such as "Price High-Low, Price Low-High..etc". You > get the idea. Very Amazon-esq. > > What I'm hoping to do is have a second drop-down box that lists the > different manufactures together with the number of matches found. E.g. > Stellar (4), Le Creuset (15), All-Clad (19). Provided I understand your question correctly, what I would do is: write a user-tag that generates this drop-down box. In sparse pseudo: sub{ my $ret = ''; @results = query("SELECT manufacturer, COUNT(*) AS count FROM products GROUP BY manufacturer"); foreach (@results){ $ret .= "