Page 5 of 26 FirstFirst ... 3456715 ... LastLast
Results 41 to 50 of 255
  1. #41
    Join Date
    Apr 2006
    Location
    City Drama in Greece
    Posts
    160
    Plugin Contributions
    6

    Default New "functions" for the next Alpha Testing Version

    There will be the following new "functions" in the second Alpha Testing Version:

    1. When customer press the link "Product Details", we load an override (templates_default/classic/product_info/tpl.main_page.php) which is doing the following in combination with a change in file "pc_configurator_java_script.php" :

    A. Disables HEADER, LEFT COLUMN, RIGHT COLUMN and FOOTER
    This is happening because we changed the variable "lnk" in
    "display_product_details" function in the file
    "pc_configurator_java_script.php" ; Added an extension for checking:
    "&hide_header_left_right_footer=1".

    It was :
    var lnk = "index.php?main_page=product_info&products_id=" + productid"
    Now it is :
    var lnk = "index.php?main_page=product_info&products_id=" + productid + "&hide_header_left_right_footer=1"
    By this way "hide_header_left_right_footer" is being a PHP variable
    having the value '1'. So we are now sure that the customer pressed
    on the "Products Details" link. We do the following check in the file
    "tpl.main_page.php"
    $product_info_pc_configurator = $_GET['hide_header_left_right_footer'];

    if($product_info_pc_configurator == 1){

    $flag_disable_header = true;
    $flag_disable_left = true;
    $flag_disable_right = true;
    $flag_disable_footer = true;

    $extra_popup_info_pid = $_GET['products_id'];

    include(DIR_WS_PC_CONFIGURATOR . 'pc_configurator_extra_popup_info.php');

    ?>

    <script>alert('<?php echo PC_CONFIGURATOR_PRODUCT_DETAILS_ALERT;?>')</script>

    <?php
    }
    and this way we disable HEADER, LEFT COLUMN, RIGHT COLUMN
    and FOOTER.

    B. As you can see above, we also display an alert popup window
    and also $_GET products_id and then "include" a brand new file named
    "pc_configurator_extra_popup_info.php".

    Inside this file, we query the database to find master_categories_id
    base on the products_id and then we query again for categories_name.
    Now we are going to use categories_name to track extra information
    from a configuration key. This extra information can be added for every
    product group in admin, and be activated individualy. This way we know
    if a popup alert window should open, and what should the content be.

    The second section (B) is now under construction.

    With a few words, what you read above is :

    1. We override the product's info page to disable header, columns and footer

    2. We are able to provide extra information, depending on the products
    category. For example: Our products provider, did not inform us for an
    out of stock product. Lets asume this product is a proccesor. Then we go
    to Admin->Configuration->PC Configurator and we set up a small message
    to inform the customer for the availability of one, or two or many other
    products in this category at once, quick and easy. We also activate this
    message. Now when customer press the "Product Details" link he is
    presented with this message.

    Well, if we know that we will have availability for this product in the next 2-3 days, we do not have to go to update one by one these products. We just inform the customer with an easy way.

    But what if customer do not press on the "Product Details" link ? This is an issue.

    This made me think to make another override for the page pc_configurator, where when customer goes to this page, then we present the message we want.

    Any ideas would be nice.

  2. #42
    Join Date
    Jun 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: PC Configurator For Zen Cart

    Hi people,

    i have been trying this new version but had problems with the YOUR_zen_cart_catalog/includes/languages/english/extra_definitions/pc_configurator_defines.php file, upon uploading it i was getting an error message on line 12, i have located this error and you will need to replace it with the following

    PHP Code:
    define('PC_CONFIGURATOR_CUSTOMER_INFORMATION_TABLE_TEXT''Above you can check all of your selections. This Pesronal Computer will now be available for everyone to buy. If you want you can provide your name below to be displayed in this computers description. To continue press -Buy this Personal Computer-'); 
    Please do correct me if i am wrong but i do believe this is the only problem and it should dtill work fine once you have done this

  3. #43
    Join Date
    Jun 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: PC Configurator For Zen Cart

    Could someone please take a look at my site and tell me if what i have for the configurator is correct because it really doesn't look right to me.
    The link is as follows
    http://www.pcparadiseuk.com/shop/ind...ex&cPath=28100

  4. #44
    Join Date
    Jan 2005
    Posts
    25
    Plugin Contributions
    0

    Default Re: PC Configurator For Zen Cart

    The first page (main_page=pc_configurator) does not display and just times out, but step 2 and step 3 displays. Can you please help on telling me where I'm going wrong.

    Hennie

  5. #45
    Join Date
    Feb 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: PC Configurator For Zen Cart

    Quote Originally Posted by lebrand2006 View Post
    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.
    awesome - DLing now - hopefully I can figure it out

  6. #46
    Join Date
    Feb 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: PC Configurator For Zen Cart

    hmmm, I don't understand where to upload the files specifically - this section doesn't make sense to me

    ######## UPLOADING FILES ########
    2. Upload carefully all files with the right structure. This structure is for template_default -> classic

    If you use any custom tamplate just rename "classic" to your tamplate's name.
    As for the folder "pc_configurator" which contains 3 files, upload it directly to folder catalog(shop)/includes

  7. #47
    Join Date
    Feb 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: PC Configurator For Zen Cart

    Quote Originally Posted by badmunchkin View Post
    hmmm, I don't understand where to upload the files specifically - this section doesn't make sense to me

    ######## UPLOADING FILES ########
    2. Upload carefully all files with the right structure. This structure is for template_default -> classic

    If you use any custom tamplate just rename "classic" to your tamplate's name.
    As for the folder "pc_configurator" which contains 3 files, upload it directly to folder catalog(shop)/includes
    ok I thought I had figured it out - I uploaded everything but am now getting thise error message when I go to main cart page - AAAAAHHH!

    Parse error: syntax error, unexpected T_STRING in /home/cuttin1/public_html/zencart/includes/languages/english/extra_definitions/pc_configurator_defines.php on line 12

  8. #48
    Join Date
    Feb 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: PC Configurator For Zen Cart

    ok, I deleted that one file and it's working now. What I need this to do is exactly this:

    http://www.diz4biz.com/diz4biz/sites...e=professional

    is that possible with this module because from trying to work with it so far it doesn't seem like it is - any ideas?

  9. #49
    Join Date
    Jan 2005
    Posts
    25
    Plugin Contributions
    0

    Default Re: PC Configurator For Zen Cart

    Quote Originally Posted by hennie View Post
    The first page (main_page=pc_configurator) does not display and just times out, but step 2 and step 3 displays. Can you please help on telling me where I'm going wrong.

    Hennie
    Fixed that problem. It seems that you have to fully populate the list in admin to get it displayed. It also looks like the groups that you dont want to remove it in the "pc_configurator_products_construction_query.php". Maybe built something in to remove groups that is not neccessary. I might be wrong in my statement.

    Hennie

  10. #50
    Join Date
    Jan 2005
    Posts
    25
    Plugin Contributions
    0

    Default Re: PC Configurator For Zen Cart

    When I put a currency symbol on the left in admin-->localization-->currency, then I get NaN in the price block, but when I put this symbol on the right hand side in works fine.

    Hennie

 

 
Page 5 of 26 FirstFirst ... 3456715 ... 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