Inhalte aufrufen

Profilbild

manual edit of a listing? possible with recompile?


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
3 Antworten zu diesem Thema

#1 wdcurry

wdcurry

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 39 Beiträge

Geschrieben: 23 July 2014 - 02:33

If i wanted to add one column to the orders listing, to show AffiliateId, would this be something i can do without using Visual Studio and taking the time to learn the app's architecture..?

 

If this can be done, we can at least quickly see where affiliate action is.

 

thanks, drew..

 

ps: i can do it now in SSMS, but will always need to ftp the file and follow some admin overhead.. not ideal.



#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3799 Beiträge

Geschrieben: 23 July 2014 - 10:41

Yes, that's possible. Open \Administration\Views\Order\List.cshtml, scroll to the order grid code with all these columns.Bound statements
and add the following line there
 
columns.Bound(x => x.AffiliateId);

  • wdcurry gefällt das

Marcus Gesing

Smartstore AG


#3 wdcurry

wdcurry

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 39 Beiträge

Geschrieben: 23 July 2014 - 15:51

Fabulous! This at least reducing the main source of trouble with the affiliate management, knowing if one is responsible for a sale directly. I will look into how the code is linking to a view so that i can click to go directly to the affiliate. That is the next logical step.

I thought i figured this out, but went directly to Views folder rather than Administration\Views .. and did not see the Order List view.. just the details, so was thusly confused..  thank YOU..



#4 wdcurry

wdcurry

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 39 Beiträge

Geschrieben: 23 July 2014 - 15:53

Btw... if i could edit this thread' header .. it would read:

 

"manual edit of a listing? possible without recompile?".