osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Let's port Custom PC Creator 2.0 BETA mod to MS2-MAX

This is a discussion on Let's port Custom PC Creator 2.0 BETA mod to MS2-MAX within the osCMax v1.7 General Mods Discussion forums, part of the osCMax v1.7 Forums category; Hi guys. I need to make Custom PC Creator 2.0 BETA work in my store. 1º get it at this ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 General Mods Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 05-15-2004, 11:50 AM
Member
 
Join Date: Apr 2004
Location: Argentina
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
damnedpig
Default Let's port Custom PC Creator 2.0 BETA mod to MS2-MAX

Hi guys.
I need to make Custom PC Creator 2.0 BETA work in my store.
1º get it at this url

http://www.oscommerce.com/community/...search,creator

U can see a demo of it at this url

http://www.fastlanecomputers.ca/build.php

-----

Well, the script is for standard oscommerce installation, so i had lot of problems trying to make it work (following instructions).
I know the cause, of course, all the modifications the ms2-max dev team did to the original ms2, BTS, etc. so I'll start with the 1º instruction:

-----

1. At line 134 in /catalog/account_history_info.php replace the following lines

echo ' <tr>' . "\n" .
' <td class="main" align="right" valign="top" width="30">' . $order->products[$i]['qty'] . ' x</td>' . "\n" .
' <td class="main" valign="top">' . $order->products[$i]['name'];

with


// BEGIN CHANGE CUSTOM PC CREATOR
if ($order->products[$i]['name'] == "Custom Built Computer"){
$desc_query = tep_db_query("select products_description from products_description where products_id ='" . $order->products[$i]['id'] . "'");
$desc = tep_db_fetch_array($desc_query);
echo ' <tr>' . "\n" .
' <td class="main" align="right" valign="top" width="30">' . $order->products[$i]['qty'] . ' x</td>' . "\n" .
' <td class="main" valign="top">' . $order->products[$i]['name'] . '<small><i>' . $desc['products_description'] . '</i></small>';
}else{
echo ' <tr>' . "\n" .
' <td class="main" align="right" valign="top" width="30">' . $order->products[$i]['qty'] . ' x</td>' . "\n" .
' <td class="main" valign="top">' . $order->products[$i]['name'];
}

// END CHANGE CUSTOM PC CREATOR

-------------------------------------------------------------------

As u can see, catalog/account_history_info.php does not have 134 lines, and i dont know where that code went or how it changed, so would u guys from dev team help me to make this 1º replacement?

Thanks a lot in advance. Sorry 4 so long post
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 06-01-2004, 08:08 AM
Member
 
Join Date: Apr 2004
Location: Argentina
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
damnedpig
Default

*bump*

any help in this?
i got some mails from some ppl telling me if i could do this...
thanks... sorry 4 bothering
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 06-01-2004, 05:55 PM
Member
 
Join Date: Jan 2004
Location: edmonton, Alberta, Canada
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
peteyg
Default

well chances are if you have the max installation then the file you are looking for is account_history_info.tpl.php in your templates/content dir i believe. You will have some diggin to do to find those exact lines because it will not be at line 134 like it said.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 06-01-2004, 06:23 PM
Member
 
Join Date: Apr 2004
Location: Argentina
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
damnedpig
Default

Quote:
Originally Posted by peteyg
well chances are if you have the max installation then the file you are looking for is account_history_info.tpl.php in your templates/content dir i believe. You will have some diggin to do to find those exact lines because it will not be at line 134 like it said.
ovbious...
i know that BTS has modified a lot the script...
that's why i decided to look 4 help...
so, thanks peteyq for the info, will continue this thread as troubles go
__________________
Henry Becerra
ICQ: 18048153
MSN: qbecerra@hotmail.com
Yahoo: qbecerra
http://www.beza.com.ar

San Juan - Argentina
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 06-02-2004, 10:00 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,568
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

Have you looked in account_history_info.tpl.php around line 74

Code:
    echo '          <tr>' . "\n" .
         '            <td class="main" align="right" valign="top" width="30">' . $order->products[$i]['qty'] . ' x</td>' . "\n" .
         '            <td class="main" valign="top">' . $order->products[$i]['name'];
Took me 30 sec to find.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 08-02-2004, 01:23 PM
Lurker
 
Join Date: Jul 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
harpon
Default

Hi, hopefully i can get some answers to CCC too. I made all the changes to the .tpl.php files as well as admin files, etc.. and i think it's all okay, my problem is making the build.tpl.php page. If you know what i mean, let me know i could really use this mod and it's just the template confusing me.

If anyone has integrated the CCC mod, please post instructions. Thanks in advance!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 08-02-2004, 02:34 PM
Member
 
Join Date: Apr 2004
Location: Argentina
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
damnedpig
Default

i declined with the idea to integrate this mod:
i get messed with the code (yea, newbie)
and it gives me lot of errors...

if u get it to work plz post the tasks 2 make it work... thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 07-16-2006, 09:05 AM
New Member
 
Join Date: May 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cadalist
Default

I am looking at ocsmax because it has all the features I am looking for except for one. I really need Custom PC Creator because I am a computer dealer. I already have it setup on my site working using the stock oscommerce. Are there any plans on porting this over soon? I would really like to use ocsmax but need this contribution as a necessity. You guys did an outstanding job.

If worse comes to worse I guess I could link to my custom pc link and just share the same msql database.

I haven't tried porting it over myself yet because it seems really difficult based on the posts.

Anybody have any luck with porting this module over yet?

thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
PC Pro Creator cadalist osCMax v2 Customization/Mods 1 07-22-2006 09:39 PM
Please help help ...... im stuck.....pc pro creator dapper osCommerce 2.2 Modification Help 0 11-11-2005 01:43 PM
automatic thumbnail creator tommygunner osCMax v1.7 Discussion 4 04-27-2005 09:15 AM
Custom PC Creator Applications kama_k osCMax v1.7 General Mods Discussion 1 11-21-2004 04:10 PM


All times are GMT -8. The time now is 02:18 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax