[ic] How to execute a usertag by clicking on a link orbuttonwithin a page?

Tim Good tim.g at edsd.com
Thu May 13 13:10:17 EDT 2004


> -----Original Message-----
> From: interchange-users-bounces at icdevgroup.org 
> [mailto:interchange-users-bounces at icdevgroup.org] On Behalf 
> Of New Media E.M.S.
> Sent: Thursday, May 13, 2004 11:01 AM
> To: interchange-users at icdevgroup.org
> Subject: RE: [ic] How to execute a usertag by clicking on a 
> link orbuttonwithin a page?
> 
> 
> At 10:14 AM 5/13/2004 -0600, you wrote:
> 
> > > -----Original Message-----
> > > From: interchange-users-bounces at icdevgroup.org
> > > [mailto:interchange-users-bounces at icdevgroup.org] On Behalf Of 
> > > Stefan Hornburg
> > > Sent: Thursday, May 13, 2004 9:46 AM
> > > To: interchange-users at icdevgroup.org
> > > Subject: Re: [ic] How to execute a usertag by clicking on 
> a link or 
> > > buttonwithin a page?
> > >
> > >
> > > On Thu, 13 May 2004 09:36:43 -0600
> > > "Tim Good" <draco at edsd.com> wrote:
> > >
> > > > Hello list,
> > > >
> > > > What is the best way to execute a usertag by clicking 
> on a link or 
> > > > button within a page? If I have [tag foo] and want to call this 
> > > > tag without leaving the page and return the results to the page 
> > > > without leave page. This would appear to the user as a link or
> > > > button and when they would click on it it would execute the tag.
> > > >
> > > > For instance:
> > > >
> > > > <A HREF="[area href='admin/flex_select'
> > > >
> > > >
> > > 
> form='deleterecords=1&ui_delete_id=[sql-code]&mv_data_table=orderlin
> > > e
> > > >
> > > >
> > > 
> &mv_click=db_maintenance&mv_action=back&mv_nextpage=@@MV_PAGE@@?orde
> > > r=
> > > > [l
> > > > oop-code]']"
> > > >    onClick="return confirm('Are you sure you want to 
> delete item 
> > > > [sql-code]?')">
> > > >
> > > > Can be used to remove an item from an order where [sql-code] = 
> > > > item sku. However I would like to replace the [area] 
> tag with my 
> > > > usertag and keep user on same page. Hope this makes sense.
> > >
> > > No, it doesn't make sense.
> > >
> > >       Racke
> > >
> >Racke,
> >
> >Sorry, I am not always good at explaining things.
> >
> >What I want to do is be able to remove an item from an 
> existing order. 
> >I have searched the maillists and have not found that 
> interchange has 
> >this capability. So I am looking to add this capability. 
> This would be 
> >implemented in the Admin UI, specifically in the order_view page. I 
> >would like it to work similar to the entry page where the items are 
> >listed in the cart.
> >Except this would remove items from an existing order within the
> >order_view page
> >and recalulate the totals for the order in the transaction table and
> >other custom
> >tables.
> >
> >Senerio:
> >
> >User enters order with several items. Customer changes their mind on 
> >which items they would like. User then needs to log into 
> Admin UI and 
> >change the
> >items in the order.
> >
> >1) Am I recreating the wheel?
> 
> Perhaps not, but have you taken a look at the Edit Order 
> feature in the UI. 
> It's a bit more manual, you would have to set the quantity of 
> the item you 
> wish to remove to '0', then check the boxes to recompute totals and 
> salestax and click Ok. The 'removed' item still shows up as a 
> line, but 
> with a quantity and price of 0. The description line is still 
> available, 
> which gives you the option of enterning something like 
> 'removed by customer 
> request dd/mm/yy' - which I think you would actually want for 
> auditing 
> purposes.
> 
> - Ed
> 
> 
Ed,

Thank you for the response. Yes I did see that interface.
I am looking for a more streamlined approach. That kind
of interface would confuse and frustrate my customers.

I will certainly share my discoveries so they may be put back
into the source.

Tim




More information about the interchange-users mailing list