Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Detailed Order Management Mod

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #71  
Old 02-22-2010, 10:34 PM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: Detailed Order Management Mod

I think you have to add the manufacturers to the query in the php file. I've added manufacturer to a few places, and I needed to do this a lot. The query that pulls the product details from the database doesn't pull the manufacturer by default. Try searching the forum as I'm pretty sure there's a post or two here about it,

hth
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #72  
Old 02-23-2010, 05:49 AM
 
flamers flamers is offline
 

Advanced Member
  
Join Date: Nov 2004
Posts: 51
 

Default Re: Detailed Order Management Mod

Thanks, I have had a look and done some more fiddling but I just cannot get it to bring up a manufacturer name. I have tried putting it onto the order details via /main/order_info.tpl, then bringing it out onto the order list but it won't pick up the manufacturer name on order-info.tpl. If anyone has any idea how we might do this I'd be extremely grateful!

Basically, I have tried to replace the provider line on the order info with the manufacturer. We don't use the provider facility so that is no loss, we have replaced the ORIGINAL code, which is:

{if $usertype ne "C"}
<TR>
<TD valign="top">{$lng.lbl_provider}</TD>
<TD valign="top">{$products[prod_num].provider}</TD>
</TR>
{/if}

with this slightly modified code (lng.lbl_studio is our own creation):

{if $usertype ne "C"}
<TR>
<TD valign="top">{$lng.lbl_studio}</TD>
<TD valign="top">{$product.manufacturer}</TD>
</TR>
{/if}

we have also tried:

{if $usertype ne "C"}
<TR>
<TD valign="top">{$lng.lbl_studio}</TD>
<TD valign="top">{$products[prod_num].manufacturer}</TD>
</TR>
{/if}

Neither of those works, I'm not sure if it is a syntax issue or if I need to modify a PHP file or another template to pull the manufacturer information in.
__________________
X-Cart V 4.0.18
Reply With Quote
  #73  
Old 06-21-2010, 04:17 AM
 
user1 user1 is offline
 

Member
  
Join Date: Feb 2009
Posts: 29
 

Default Re: Detailed Order Management Mod

Hello everybody.

I found this mod and I think it is very useful. Thank you all for all the great info you have provided!

I have a little problem.

I successfully installed the mod, added the colored lines, fixed the address to display the way I wanted.

What I can't do is to make the part that enables/disables the details to work.

I install it the correct way (done it three times) but when I hit the Show button, the page reloads and the hide button is still checked. And of course the details do not appear.

Any idea what is happening?

The version I'm trying to install is 4.3.2.

Best regards,
Andeas Nikolaidis
__________________
x-cart v4.3.2 gold
http://www.FarMoreThanGames.com
Reply With Quote
  #74  
Old 11-17-2011, 03:20 PM
 
chiactivate chiactivate is offline
 

Senior Member
  
Join Date: Feb 2007
Location: Canada
Posts: 148
 

Default Re: Detailed Order Management Mod

Hi all,
I love this mod. Used to have at 4.1.

I got this working for 4.4.4 now

Need to change the code a bit. Since this thread getting too long, I created a new one Here:

http://forum.x-cart.com/showthread.php?t=61676

__________________
www.ChiMassager.com
X-cart Version 4.44

www.SEOMarketing30days.com
--> Download FREE SEO marketing Ebook (valued $50)
Attract more visitors and sales with top 5 most powerful SEO marketing strategies. Converting visitors into buyers, not just traffic!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:03 PM.

   

 
X-Cart forums © 2001-2020