Page 1 of 4 123 ... LastLast
Results 1 to 10 of 255

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    City Drama in Greece
    Posts
    160
    Plugin Contributions
    6

    Default PC Configurator Module [Support Thread]

    DOWNLOAD LINK:
    http://www.zen-cart.com/index.php?ma...roducts_id=667


    Dear all,

    I started a new module to create a pc configurator for ZEN CART.

    For the start it is going nice but I need help.

    I made a file to make some queries and all options are tracked automatically from database.

    I is not yet done but you can see a sample here

    http://www.lebrand.gr/eshop/index.php?main_page=page_4

    Prices change automatically and a product link is provided if you want to see details of the product you choosed.

    TRY THE FIRST OPTION TO SEE

    If some one thinks he can help please inform me

    I am thinking the possibility to make a product with 0 price.

    As you can see, prices are being changed automatically with java script

    Maybe there could be a way to change products price, and add it to the cart so it can be a normal order procedure.

    I include all files I made till now.
    Attached Files Attached Files

  2. #2
    Join Date
    Jul 2005
    Posts
    57
    Plugin Contributions
    0

    Default Re: Pc Configurator For Zen

    hey great start to this im not that great with certain parts but do have good friends so let see what happens will keep in touch with you on this.

  3. #3
    Join Date
    Apr 2006
    Location
    City Drama in Greece
    Posts
    160
    Plugin Contributions
    6

    Default Re: PC Configurator For Zen Cart

    Dear all,

    Because of the reason that nobody seems to be interested, I decided to make this module with other way.

    Below is a description of the project.

    Well, after pc configurator form is complete, I make a post to post.php

    There I assign all form values to variables :

    $case = $_POST[cpc];
    $case_price = $_POST[cpc_price];
    $mobo_intel = $_POST[motherboard_intel];
    $mobo_intel_price = $_POST[motherboard_intel_price];
    $mobo_amd = $_POST[motherboard_amd];
    $mobo_amd_price = $_POST[motherboard_amd_price];
    $cpu_intel = $_POST[cpu_intel];
    $cpu_intel_price = $_POST[cpu_intel_price];
    $cpu_amd = $_POST[cpu_amd];
    $cpu_amd_price = $_POST[cpu_amd_price];
    $ram1 = $_POST[ram1];
    $ram1_price = $_POST[ram1_price];
    $ram2 = $_POST[ram2];
    $ram2_price = $_POST[ram2_price];
    $graphics_card = $_POST[graphics_card];
    $graphics_card_price = $_POST[graphics_card_price];
    $floppy_disk_drive = $_POST[floppy_disk_drive];
    $floppy_disk_drive_price = $_POST[floppy_disk_drive_price];
    $hard_disk_drive1 = $_POST[hard_disk_drive1];
    $hard_disk_drive1_price = $_POST[hard_disk_drive1_price];
    $hard_disk_drive2 = $_POST[hard_disk_drive2];
    $hard_disk_drive2_price = $_POST[hard_disk_drive2_price];
    $cd_rom_drive = $_POST[cd_rom_drive];
    $cd_rom_drive_price = $_POST[cd_rom_drive_price];
    $dvd_writer_drive = $_POST[dvd_writer_drive];
    $dvd_writer_drive_price = $_POST[dvd_writer_drive_price];
    $keyboard = $_POST[keyboard];
    $keyboard_price = $_POST[keyboard_price];
    $keyboard_set = $_POST[keyboard_set];
    $keyboard_set_price = $_POST[keyboard_set_price];
    $mouse = $_POST[mouse];
    $mouse_price = $_POST[mouse_price];
    $display_monitor = $_POST[display_monitor];
    $display_monitor_price = $_POST[display_monitor_price];
    $sound_card = $_POST[sound_card];
    $sound_card_price = $_POST[sound_card_price];
    $speakers = $_POST[speakers];
    $speakers_price = $_POST[speakers_price];
    $modem_fax = $_POST[modem_fax];
    $modem_fax_price = $_POST[modem_fax_price];
    $operating_system = $_POST[operating_system];
    $operating_system_price = $_POST[operating_system_price];
    $power_supply_unit = $_POST[power_supply_unit];
    $power_supply_unit_price = $_POST[power_supply_unit_price];
    $printer = $_POST[printer];
    $printer_price = $_POST[printer_price];
    $scanner = $_POST[scanner];
    $scanner_price = $_POST[scanner_price];
    $software_applications = $_POST[software_applications];
    $software_applications_price = $_POST[software_applications_price];
    $extra_parts = $_POST[extra_parts];
    $extra_parts_price = $_POST[extra_parts_price];
    $services_and_internet = $_POST[services_and_internet];
    $services_and_internet_price = $_POST[services_and_internet_price];
    $extra_options = $_POST[extra_options];
    $extra_options_price = $_POST[extra_options_price];

    $netprice = $_POST[netprice];
    $totalprice = $_POST[totalpricegross];
    I am now thinking to assign all product details variables to one variable.

    Who can help in this ? I started with an array to assign all variables to one. Is this the right way ?

    I also have assigned netprice and total price in variables.

    My purpose is to prepare all variables needed, just when I put the data for a new product in admin/products.

    So, from the posted form, I just can take all values that has to do with products details and assign them to a variable so later I can use it as PRODUCTS DESCRIPTION to insert it in the DATA BASE.

    I also have netprice and totalprice values assigned to variables to use them for the same purpose.

    What I have to do now is to assign specific values to all variables I need when I insert a new product to the DATABASE. This is very easy to do even for me who started PHP recently.

    So, you may wonder how this is going to work ?

    DID YOU EVER THINK THAT CUSTOMERS CAN CREATE PRODUCTS FOR YOU ?

    SOME EASY STEPS :

    1. PC Configurator form is populated automatically with products that exists in our database.

    2. We POST the form to a file.php to gather the required information for product details and price to assign their values to specific variables and we also write some code in the file.php to assign spesific values to specific variables, those we need just when we insert a new product in the database.

    3. In the file.php we have prepared all needed variables. Now we present the product that our customer constructed in a good looking table and we PROVIDE a button; The MAGIC button. When customer press it, this constructed product is inserted into the database, in a specific category we had previously specified with variable, with specific image......and so on. Now we must REDIRECT our customer to HIS OWN CREATED PRODUCT because HE WANTS TO BUY IT. Now I am thinking that if I query the database for the last product id, to redirect the customer to his product, maybe someone else, almost the same time has created another product. So this will confuse the customer. So, to redirect the customer for sure to his product, we must add a new field to the database which could be a name or something else that customer provides in the PC Configurator form. Well if customer is logged in NO PROBLEM.

    4. Customer is now seeing his product in our shop and he is ready to order. So this way, customer buys what he wants and also creates products in our database. To improve this, we can assign a KEY VALUE to a variable for a specific PC Configuration Product so it is not imported twice in our database in the case that customer did not see this product and tried to create it again.
    The bad is that products and prices change. The good is that our form is being populated automatically with products and prices.

    But what about older products that customers had created and parts and prices changed ? Are we going to delete from database ?

    Well, I am waiting for your opinion. I am sure that many of you could write that code in an hour, but in my opinion the point here is if you find this idea workable or if you have something else in mind so this module can be improved before I start writing the code.

    Thank you all.

  4. #4
    Join Date
    Apr 2006
    Location
    City Drama in Greece
    Posts
    160
    Plugin Contributions
    6

    Default Re: PC Configurator For Zen Cart

    Dear all,

    Because of the reason that nobody seems to be interested, I decided to make this module with other way.

    Below is a description of the project.

    Well, after pc configurator form is complete, I make a post to post.php

    There I assign all form values to variables :

    $case = $_POST[cpc];
    $case_price = $_POST[cpc_price];
    $mobo_intel = $_POST[motherboard_intel];
    $mobo_intel_price = $_POST[motherboard_intel_price];
    $mobo_amd = $_POST[motherboard_amd];
    $mobo_amd_price = $_POST[motherboard_amd_price];
    $cpu_intel = $_POST[cpu_intel];
    $cpu_intel_price = $_POST[cpu_intel_price];
    $cpu_amd = $_POST[cpu_amd];
    $cpu_amd_price = $_POST[cpu_amd_price];
    $ram1 = $_POST[ram1];
    $ram1_price = $_POST[ram1_price];
    $ram2 = $_POST[ram2];
    $ram2_price = $_POST[ram2_price];
    $graphics_card = $_POST[graphics_card];
    $graphics_card_price = $_POST[graphics_card_price];
    $floppy_disk_drive = $_POST[floppy_disk_drive];
    $floppy_disk_drive_price = $_POST[floppy_disk_drive_price];
    $hard_disk_drive1 = $_POST[hard_disk_drive1];
    $hard_disk_drive1_price = $_POST[hard_disk_drive1_price];
    $hard_disk_drive2 = $_POST[hard_disk_drive2];
    $hard_disk_drive2_price = $_POST[hard_disk_drive2_price];
    $cd_rom_drive = $_POST[cd_rom_drive];
    $cd_rom_drive_price = $_POST[cd_rom_drive_price];
    $dvd_writer_drive = $_POST[dvd_writer_drive];
    $dvd_writer_drive_price = $_POST[dvd_writer_drive_price];
    $keyboard = $_POST[keyboard];
    $keyboard_price = $_POST[keyboard_price];
    $keyboard_set = $_POST[keyboard_set];
    $keyboard_set_price = $_POST[keyboard_set_price];
    $mouse = $_POST[mouse];
    $mouse_price = $_POST[mouse_price];
    $display_monitor = $_POST[display_monitor];
    $display_monitor_price = $_POST[display_monitor_price];
    $sound_card = $_POST[sound_card];
    $sound_card_price = $_POST[sound_card_price];
    $speakers = $_POST[speakers];
    $speakers_price = $_POST[speakers_price];
    $modem_fax = $_POST[modem_fax];
    $modem_fax_price = $_POST[modem_fax_price];
    $operating_system = $_POST[operating_system];
    $operating_system_price = $_POST[operating_system_price];
    $power_supply_unit = $_POST[power_supply_unit];
    $power_supply_unit_price = $_POST[power_supply_unit_price];
    $printer = $_POST[printer];
    $printer_price = $_POST[printer_price];
    $scanner = $_POST[scanner];
    $scanner_price = $_POST[scanner_price];
    $software_applications = $_POST[software_applications];
    $software_applications_price = $_POST[software_applications_price];
    $extra_parts = $_POST[extra_parts];
    $extra_parts_price = $_POST[extra_parts_price];
    $services_and_internet = $_POST[services_and_internet];
    $services_and_internet_price = $_POST[services_and_internet_price];
    $extra_options = $_POST[extra_options];
    $extra_options_price = $_POST[extra_options_price];

    $netprice = $_POST[netprice];
    $totalprice = $_POST[totalpricegross];
    I am now thinking to assign all product details variables to one variable.

    Who can help in this ? I started with an array to assign all variables to one. Is this the right way ?

    I also have assigned netprice and total price in variables.

    My purpose is to prepare all variables needed, just when I put the data for a new product in admin/products.

    So, from the posted form, I just can take all values that has to do with products details and assign them to a variable so later I can use it as PRODUCTS DESCRIPTION to insert it in the DATA BASE.

    I also have netprice and totalprice values assigned to variables to use them for the same purpose.

    What I have to do now is to assign specific values to all variables I need when I insert a new product to the DATABASE. This is very easy to do even for me who started PHP recently.

    So, you may wonder how this is going to work ?

    DID YOU EVER THINK THAT CUSTOMERS CAN CREATE PRODUCTS FOR YOU ?

    SOME EASY STEPS :

    1. PC Configurator form is populated automatically with products that exists in our database.

    2. We POST the form to a file.php to gather the required information for product details and price to assign their values to specific variables and we also write some code in the file.php to assign spesific values to specific variables, those we need just when we insert a new product in the database.

    3. In the file.php we have prepared all needed variables. Now we present the product that our customer constructed in a good looking table and we PROVIDE a button; The MAGIC button. When customer press it, this constructed product is inserted into the database, in a specific category we had previously specified with variable, with specific image......and so on. Now we must REDIRECT our customer to HIS OWN CREATED PRODUCT because HE WANTS TO BUY IT. Now I am thinking that if I query the database for the last product id, to redirect the customer to his product, maybe someone else, almost the same time has created another product. So this will confuse the customer. So, to redirect the customer for sure to his product, we must add a new field to the database which could be a name or something else that customer provides in the PC Configurator form. Well if customer is logged in NO PROBLEM.

    4. Customer is now seeing his product in our shop and he is ready to order. So this way, customer buys what he wants and also creates products in our database. To improve this, we can assign a KEY VALUE to a variable for a specific PC Configuration Product so it is not imported twice in our database in the case that customer did not see this product and tried to create it again.
    The bad is that products and prices change. The good is that our form is being populated automatically with products and prices.

    But what about older products that customers had created and parts and prices changed ? Are we going to delete from database ?

    Well, I am waiting for your opinion. I am sure that many of you could write that code in an hour, but in my opinion the point here is if you find this idea workable or if you have something else in mind so this module can be improved before I start writing the code.

    Thank you all.

  5. #5
    Join Date
    Apr 2006
    Location
    City Drama in Greece
    Posts
    160
    Plugin Contributions
    6

    Default Re: PC Configurator For Zen Cart

    The new module is being developed very fast and there are many changes.

    I include a zip file if somebody wants to see what is going on.
    Attached Files Attached Files

  6. #6
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: PC Configurator For Zen Cart

    Quote Originally Posted by lebrand2006 View Post
    The new module is being developed very fast and there are many changes.

    I include a zip file if somebody wants to see what is going on.
    No readme/instructions in download..so where do files go in a zencart install??

  7. #7
    Join Date
    Apr 2006
    Location
    City Drama in Greece
    Posts
    160
    Plugin Contributions
    6

    Default Re: PC Configurator For Zen Cart

    Hi Misty.

    I managed to make this module work just today. Many things have to be done. I will be testing it for 5-10 days to fix some bugs and make it better and then I will post here first , the first version for crash test.

    When all things go well, then I will upload it to downloads.

    Does anybody know any function to produce uniq numbers based on a limited value, like 99.999.999.999 ?

    I want to use it to produce a serial number for each custom pc. Now I use the session id without letters combined with floored price to produce a serial number.

    But if session id remains the same, this is not good, so I need a function like this.

    As for instructions, I will make it detailed and I will post it here latter with all needed files and modifications.

  8. #8
    Join Date
    Apr 2007
    Location
    Rustenburg, South Africa
    Posts
    85
    Plugin Contributions
    0

    Default Re: PC Configurator For Zen Cart

    Hey you guys!! I am having so much trouble with PC Configurator. The thing is some one else installed it and now I need to sort out the problems. Can anybody help me?!

  9. #9
    Join Date
    Apr 2007
    Location
    Rustenburg, South Africa
    Posts
    85
    Plugin Contributions
    0

    Default Re: PC Configurator For Zen Cart

    My main problem is in the admin area. PC Configuratoe Basic is working very nicely, but the Options aren't even showing.

  10. #10
    Join Date
    Jan 2006
    Posts
    93
    Plugin Contributions
    0

    Default Re: PC Configurator For Zen Cart

    So I've been setting up this script on my site and so far iv tweaked all of the errors, but my question is... since it was written for a currency symbol on the right, what code would have to be changed to allow the script to work with the currency symbol on the left, like the $?

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. v154 WorldPay Module version 3.0 - Support thread
    By countrycharm in forum Addon Payment Modules
    Replies: 116
    Last Post: 31 Dec 2025, 11:36 AM
  2. MultiSite Module Support Thread
    By Gerome in forum All Other Contributions/Addons
    Replies: 2246
    Last Post: 29 Dec 2025, 10:13 AM
  3. Form Armor Module Support Thread
    By FormArmor in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 29 Jan 2009, 05:08 AM
  4. Layaway Payment Module Support Thread
    By Danielle in forum Addon Payment Modules
    Replies: 0
    Last Post: 21 Nov 2006, 06:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg