Page 17 of 26 FirstFirst ... 71516171819 ... LastLast
Results 161 to 170 of 255
  1. #161
    Join Date
    Jan 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: PC Configurator For Zen Cart

    I'm getting a 404 error. http://shop.pcucomputers.com/index.p...ex&cPath=28200

    PC Configurator Basic works ok under admin but PC Configurator Options and the PC Configurator link are both blank.

    Any idea what I did wrong. I was pretty careful copying files but when the directions said "As for the folder "pc_configurator" which contains 3 files, upload it directly to folder catalog(shop)/includes" my folder had 11 php files and 1 readme not the 3 it mentioned

  2. #162
    Join Date
    Jan 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: PC Configurator For Zen Cart

    I just manually added the link index.php?main_page=pc_configurator and that seemed to take me to the right place

    The link that was set up automatically is broke
    http://shop.pcucomputers.com/%3C?php...c_configurator


    the link I changed it to isn't all English and I thought I edited those already

  3. #163
    Join Date
    Jan 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: PC Configurator For Zen Cart

    The buy now button in step 2 takes me to your website. Which file do I need to edit to point it to my site? I know I read this in the directions at some point and edited it but my pointers seem to be off.

  4. #164
    Join Date
    Jan 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: PC Configurator For Zen Cart

    I edited it but now I get a 404 error

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

    Idea or Suggestion Re: Help for Kegir


  6. #166
    Join Date
    Jan 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: PC Configurator For Zen Cart

    Hi I have managed to install your module into my site, but I am having problems with the prices of each component. When selecting a component from the drop down list the price that should display in the input box next to it displays 'NaN' rather than how much the product is. I have looked through the previous posts and found that someone else had a similar problem, and when I used your solution that you gave him it fixed it, but now the pound (£) sign is displayed on the right hand side of the price. Is there a way of displaying the pound (£) sign on the left hand side.

    Here's a link to my site to show you what i mean: http://www.affiliatetoolbox.co.uk/sh...c_configurator

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

    Idea or Suggestion Re: PC Configurator For Zen Cart

    I am sure it can be done, but I am bussy with this : http://www.lebrand.gr/shop/

    If it is working, leave it as it is

  8. #168
    Join Date
    Jan 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: PC Configurator For Zen Cart

    Hi, I was wondering if anyone was having the same problem as me?

    Once I've selected the components that I want for my custom PC and proceed from step 2 to step 3 I get this page appear which looks like an error page, but can't tell because it's all in arabic or greek.

    Here's the page url that I am talking about: http://www.affiliatetoolbox.co.uk/sh...l_28=&qty_28=1

    Let me know what you think.....

    Thank you

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

    Idea or Suggestion Re: PC Configurator For Zen Cart

    Go here

    http://www.zen-cart.com/index.php?ma...roducts_id=555

    and download module Quick Order.

    Unzip, and then upload ( replace files where needed )

    When you uploaded PC Configurator, you also uploaded the module Quick Order. It was translated in Greek.

    So, Download again from the link above and upload it again.

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

    Idea or Suggestion Re: Using Quick Orders with PC Configurator

    To be able to use module Quick Orders in combination with PC Configurator, you should use unique model names for all your products.

    In the last step, see what happens :

    http://www.affiliatetoolbox.co.uk/sh...l_28=&qty_28=1

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

    In the above URL there should be at least values for the first 7 set of variables.

    EG The first set is model_1 + qty_1 the second is model_2 + qty_2

    I have written extra code for PC Configurator to take advantage of module Quick Orders.

    See below: (this is in file pc_configurator_prepare_products_for_cart.php)
    ########################################################################################################################_
    <?php

    $str_url_add_products = 'http://www.lebrand.gr/eshop/index.php?main_page=quick_order&action=url_add_products';

    $strq_1 = '&qty_1=1'; $strq_2 = '&qty_2=1'; $strq_3 = '&qty_3=1'; $strq_4 = '&qty_4=1'; $strq_5 = '&qty_5=1';
    $strq_6 = '&qty_6=1'; $strq_7 = '&qty_7=1'; $strq_8 = '&qty_8=1'; $strq_9 = '&qty_9=1'; $strq_10 = '&qty_10=1';
    $strq_11 = '&qty_11=1';$strq_12 = '&qty_12=1';$strq_13 = '&qty_13=1';$strq_14 = '&qty_14=1';$strq_15 = '&qty_15=1';
    $strq_16 = '&qty_16=1';$strq_17 = '&qty_17=1';$strq_18 = '&qty_18=1';$strq_19 = '&qty_19=1';$strq_20 = '&qty_20=1';
    $strq_21 = '&qty_21=1';$strq_22 = '&qty_22=1';$strq_23 = '&qty_23=1';$strq_24 = '&qty_24=1';$strq_25 = '&qty_25=1';
    $strq_26 = '&qty_26=1';$strq_27 = '&qty_27=1';$strq_28 = '&qty_28=1';

    $strm_1 = '&model_1=';$strm_2 = '&model_2=';$strm_3 = '&model_3=';
    $strm_4 = '&model_4=';$strm_5 = '&model_5=';$strm_6 = '&model_6=';
    $strm_7 = '&model_7=';$strm_8 = '&model_8=';$strm_9 = '&model_9=';
    $strm_10 = '&model_10=';$strm_11 = '&model_11=';$strm_12 = '&model_12=';
    $strm_13 = '&model_13=';$strm_14 = '&model_14=';$strm_15 = '&model_15=';
    $strm_16 = '&model_16=';$strm_17 = '&model_17=';$strm_18 = '&model_18=';
    $strm_19 = '&model_19=';$strm_20 = '&model_20=';$strm_21 = '&model_21=';
    $strm_22 = '&model_22=';$strm_23 = '&model_23=';$strm_24 = '&model_24=';
    $strm_25 = '&model_25=';$strm_26 = '&model_26=';$strm_27 = '&model_27=';
    $strm_28 = '&model_28=';

    $strmn_1 = $_SESSION['products_model_1']; $strmn_2 = $_SESSION['products_model_2'];
    $strmn_3 = $_SESSION['products_model_3']; $strmn_4 = $_SESSION['products_model_4'];
    $strmn_5 = $_SESSION['products_model_5']; $strmn_6 = $_SESSION['products_model_6'];
    $strmn_7 = $_SESSION['products_model_7']; $strmn_8 = $_SESSION['products_model_8'];
    $strmn_9 = $_SESSION['products_model_9']; $strmn_10 = $_SESSION['products_model_10'];
    $strmn_11 = $_SESSION['products_model_11']; $strmn_12 = $_SESSION['products_model_12'];
    $strmn_13 = $_SESSION['products_model_13']; $strmn_14 = $_SESSION['products_model_14'];
    $strmn_15 = $_SESSION['products_model_15']; $strmn_16 = $_SESSION['products_model_16'];
    $strmn_17 = $_SESSION['products_model_17']; $strmn_18 = $_SESSION['products_model_18'];
    $strmn_19 = $_SESSION['products_model_19']; $strmn_20 = $_SESSION['products_model_20'];
    $strmn_21 = $_SESSION['products_model_21']; $strmn_22 = $_SESSION['products_model_22'];
    $strmn_23 = $_SESSION['products_model_23']; $strmn_24 = $_SESSION['products_model_24'];
    $strmn_25 = $_SESSION['products_model_25']; $strmn_26 = $_SESSION['products_model_26'];
    $strmn_27 = $_SESSION['products_model_27']; $strmn_28 = $_SESSION['products_model_28'];


    $str_mq_1 = $strm_1.$strmn_1.$strq_1;
    $str_mq_2 = $strm_2.$strmn_2.$strq_2;
    $str_mq_3 = $strm_3.$strmn_3.$strq_3;
    $str_mq_4 = $strm_4.$strmn_4.$strq_4;
    $str_mq_5 = $strm_5.$strmn_5.$strq_5;
    $str_mq_6 = $strm_6.$strmn_6.$strq_6;
    $str_mq_7 = $strm_7.$strmn_7.$strq_7;
    $str_mq_8 = $strm_8.$strmn_8.$strq_8;
    $str_mq_9 = $strm_9.$strmn_9.$strq_9;
    $str_mq_10 = $strm_10.$strmn_10.$strq_10;
    $str_mq_11 = $strm_11.$strmn_11.$strq_11;
    $str_mq_12 = $strm_12.$strmn_12.$strq_12;
    $str_mq_13 = $strm_13.$strmn_13.$strq_13;
    $str_mq_14 = $strm_14.$strmn_14.$strq_14;
    $str_mq_15 = $strm_15.$strmn_15.$strq_15;
    $str_mq_16 = $strm_16.$strmn_16.$strq_16;
    $str_mq_17 = $strm_17.$strmn_17.$strq_17;
    $str_mq_18 = $strm_18.$strmn_18.$strq_18;
    $str_mq_19 = $strm_19.$strmn_19.$strq_19;
    $str_mq_20 = $strm_20.$strmn_20.$strq_20;
    $str_mq_21 = $strm_21.$strmn_21.$strq_21;
    $str_mq_22 = $strm_22.$strmn_22.$strq_22;
    $str_mq_23 = $strm_23.$strmn_23.$strq_23;
    $str_mq_24 = $strm_24.$strmn_24.$strq_24;
    $str_mq_25 = $strm_25.$strmn_25.$strq_25;
    $str_mq_26 = $strm_26.$strmn_26.$strq_26;
    $str_mq_27 = $strm_27.$strmn_27.$strq_27;
    $str_mq_28 = $strm_28.$strmn_28.$strq_28;


    $str_cart_url = $str_url_add_products.$str_mq_1.$str_mq_2.$str_mq_3.$str_mq_4.$str_mq_5.$str_mq_ 6.$str_mq_7.$str_mq_8.$str_mq_9.$str_mq_10.$str_mq_11.$str_mq_12.$str_mq_13.$str _mq_14.$str_mq_15.$str_mq_16.$str_mq_17.$str_mq_18.$str_mq_19.$str_mq_20.$str_mq _21.$str_mq_22.$str_mq_23.$str_mq_24.$str_mq_25.$str_mq_26.$str_mq_27.$str_mq_28 ;


    ?>

    ########################################################################################################################__

    Now I will "analyse" how this code works :

    First of all ( I see you did this ) change the url to yours :

    $str_url_add_products = 'http://www.lebrand.gr/eshop/index.php?main_page=quick_order&action=url_add_products';

    Change http://www.lebrand.gr/eshop/ to yours, where you have installed Zen Cart , eg http://www.your_domain_name/zen_cart/

    Lets see

    I am using "one type" of variable to help us build the url as for product quantity which is :

    FROM $strq_1 = '&qty_1=1'; TO $strq_28 = '&qty_28=1'; one for every choice , if you use all 28 drop down lists.

    Because of the reason that you can choose only one product from every drop down list, you can see above that quantity in every variable is allways 1.

    Next, I am using "two type" of variables for product model. First one to build the url and second one to find product model :

    $strm_1 = '&model_1='; ( TO BUILD URL )

    $strmn_1 = $_SESSION['products_model_1']; ( TO FIND PRODUCT MODEL)

    Then I use this "type" of variable

    $str_mq_1 = $strm_1.$strmn_1.$strq_1;

    to build products model and products quantity together.

    The variable above will produce something like the following :

    &model_1=xxx&qty_1=1

    WHERE xxx = $strmn_1 which is the exact name of product model.

    So, we have prepared all needed data ( variables ) to build the URL that Quick Orders module can "READ" which is :

    index.php?main_page=quick_order&action=url_add_products&model_1=xxx&qty_1=1..... ........to &model_28=xxx&qty_28=1

    Now we use the LAST variable to build the FULL URL :

    $str_cart_url = $str_url_add_products.$str_mq_1.$str_mq_2.$str_mq_3.$str_mq_4.$str_mq_5.$str_mq_ 6.$str_mq_7.$str_mq_8.$str_mq_9.$str_mq_10.$str_mq_11.$str_mq_12.$str_mq_13.$str _mq_14.$str_mq_15.$str_mq_16.$str_mq_17.$str_mq_18.$str_mq_19.$str_mq_20.$str_mq _21.$str_mq_22.$str_mq_23.$str_mq_24.$str_mq_25.$str_mq_26.$str_mq_27.$str_mq_28 ;


    This way we build the full url that module quick orders can read.

    We have to give unique product models for every product. It does not matter if we have enabled to show product model or not, because products models where found from queries, depending on our choises in PC Configurator.

    Before this step, we have already assigned products models in SESSION variables :

    See below : ( this is in file pc_configurator_transfer_products_for_cart.php)

    ########################################################################################################################__


    $products_model_1 = $product_group_1_name_result->fields['products_model'];


    With the above we assign a query result for products model to a variable and then :

    $_SESSION['products_model_1'] = $products_model_1;

    we assign this variable to a SESSION variable.

    ########################################################################################################################___


    I hope this can help you to understand the way I wrote the code.

    As you know I am a beginner in PHP. If someone can write this code better, then do it and POST HERE.

    Thanks

 

 
Page 17 of 26 FirstFirst ... 71516171819 ... LastLast

Similar Threads

  1. MultiSite Module Support Thread
    By Gerome in forum All Other Contributions/Addons
    Replies: 2239
    Last Post: 21 May 2025, 02:07 PM
  2. v154 WorldPay Module version 3.0 - Support thread
    By countrycharm in forum Addon Payment Modules
    Replies: 115
    Last Post: 20 Jul 2021, 04:00 PM
  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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR