Page 75 of 120 FirstFirst ... 2565737475767785 ... LastLast
Results 741 to 750 of 1194
  1. #741
    Join Date
    Oct 2006
    Location
    At Home
    Posts
    370
    Plugin Contributions
    0

    Default Re: Tabbed Products ''LITE'' version - Delimiter based

    In the mean time, try running the sql code again but remove the first two lines that do the deleting process. What error do you get when you don't add the first two lines?
    Ok, this is the error tht i still got..after deleted the first two lines :

    1146 Table 'mensdesi_zc1.configuration_group' doesn't exist
    in:
    [SELECT @gid := configuration_group_id FROM configuration_group where configuration_group_title LIKE 'Tabbed Products Config';]


    i still have no luck with it..but as you say, the easier way is to use the non-admin version. so i guess its the only way i have at this moment. even though i still wishing tht i could use the admin version. thx for your help btw. its a great contribution.

    p/s: used to have no problem with the previous version (TabbedLite-v3.7-AdminEdition). wondering why?

  2. #742
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: Tabbed Products ''LITE'' version - Delimiter based

    Quote Originally Posted by miles View Post
    Ok, this is the error tht i still got..after deleted the first two lines :

    1146 Table 'mensdesi_zc1.configuration_group' doesn't exist
    in:
    [SELECT @gid := configuration_group_id FROM configuration_group where configuration_group_title LIKE 'Tabbed Products Config';]


    i still have no luck with it..but as you say, the easier way is to use the non-admin version. so i guess its the only way i have at this moment. even though i still wishing tht i could use the admin version. thx for your help btw. its a great contribution.

    p/s: used to have no problem with the previous version (TabbedLite-v3.7-AdminEdition). wondering why?
    Hmm are you sure you have a prefix on your database. From your first error it sounds like you did but now it is saying you don't have a table by that name. If you got 3.7 to run then you shouldn't really have a problem here unless it was the delete commands that were causing the error instead of the prefix.

    You could try removing the prefix and the DELETE lines and see if that works. but that will just cause more problems because the old 3.7 admin code is probably still there. you really need to have DELETE access to run a store properly. How do you delete products? Does it allow you to do that?

  3. #743
    Join Date
    Dec 2004
    Location
    Stockholm
    Posts
    123
    Plugin Contributions
    0

    Default Re: Tabbed Products ''LITE'' version - Delimiter based

    Hi Folks,

    I have the same problem with sql-base as Miles, but then i
    run the sql-lines direct under sql-base om the server I did not
    get any errors.

    After I have copy files from contrib and I look in the product info
    page it's empty, it's not show anything at all on the page.
    And when I try merge my "tpl_product_info_display.php"
    with the file from contrib
    it's give me a error:

    Parse error: parse error, unexpected $ in
    includes/templates/template_default/templates/tpl_product_info_display.php on line 310

    And in admin is Tabbed Products Config empty

    I have not use override in this case..

    on:

    Apache-version 1.3.36 (Unix)
    MySQL-version 4.1.21-standard
    PHP-version 5.0.4

    And I use ZC-1.3.6
    Last edited by aspudden; 10 Nov 2006 at 11:16 AM.
    Employing version 1.3.X

  4. #744
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: Tabbed Products ''LITE'' version - Delimiter based

    Quote Originally Posted by aspudden View Post
    Hi Folks,

    I have the same problem with sql-base as Miles, but then i
    run the sql-lines direct under sql-base om the server I did not
    get any errors.

    After I have copy files from contrib and I look in the product info
    page it's empty, it's not show anything at all on the page.
    And when I try merge my "tpl_product_info_display.php"
    with the file from contrib
    it's give me a error:

    Parse error: parse error, unexpected $ in
    includes/templates/template_default/templates/tpl_product_info_display.php on line 310

    And in admin is Tabbed Products Config empty

    I have not use override in this case..
    This is a little different than miles' problem. I'm not sure how sql base works or if it is the same as mysql. I assume so if zc works as per usual, but not sure how it handles variables.

    run these (ONE AT A TIME) in your sql admin area (i.e. phpmyadmin):

    Code:
    select * from configuration_group
    WHERE configuration_group_title LIKE 'Tabbed Products Config';
    and

    Code:
    select * from configuration
    WHERE configuration_title LIKE 'Global Product Description Tab';
    does the "configuration_group_id" match on both of those. If not what are the numbers on each?

    The parse error means you missed something in the syntax while you were merging. I'd suggest you hold off on merging until you get it working with default code.
    Last edited by qhome; 10 Nov 2006 at 01:57 PM.

  5. #745
    Join Date
    Dec 2004
    Location
    Stockholm
    Posts
    123
    Plugin Contributions
    0

    Default Re: Tabbed Products ''LITE'' version - Delimiter based

    Hi qhome,

    Yes, the numbers are same in both.

    That I miss something when I merge it's probably tru.

    When I copy the tpl_product_info_display.php from
    contrib to "includes/templates/template_default/templates"
    it's dosent show anything on the page.
    Employing version 1.3.X

  6. #746
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: Tabbed Products ''LITE'' version - Delimiter based

    Quote Originally Posted by aspudden View Post
    Hi qhome,

    Yes it's the same number in both.

    That I miss something when I merge it's probably tru.

    When I copy the tpl_product_info_display.php from
    contrib to "includes/templates/template_default/templates"
    it's dosent show anything on the page.
    If the number is the same in both I dont understand why you dont see anything in the admin->tabbed products config menu, as that number links them together.

    You will get a blank on the store product page until you have the correct database entries because it doesn't know what settings it needs to read yet so it is failing when it can't find those values.

    SQL must be correctly installed for this contrib to work.

    For now, you can also use the non-database version of the module file I mentioned above to get up and running. I'm not sure why you guys are having db problems. I've run it a dozen times with no errors. Perhaps try running it in phpmyadmin.

  7. #747
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Tabbed Products ''LITE'' version - Delimiter based

    Quote Originally Posted by qhome View Post
    That would require some template file editing, both of the tpl_product_info_display.php file and tpl_tabbed_products_lite.php.

    They are structured similarly, so you can edit the first file listed and find the "Product Details" stuff. Then cut that and paste it in the second file. BELOW this line:
    Code:
    <!--eof Product details list -->
            <br class="clearBoth" />
    Repeat for anything else you want away from the image and title.
    Qhome, finally installed this and I must say it's excellent. I was wondering what the easiest approach would be to achive this two goals:

    1. Remove the "Tell A Friend" button from the product display page. It's redundant because I have the Tell A Friend sidebox on.

    2. Move the Add to Cart button about the Tabs. Because most of our products have extensive description, the Add to Cart is buried too low on the screen. Besides, it will be customer friendly to have it on top for those customers that do not need to read description, they can easily add things to cart. I know you created a custom file for Stephen for version 3.3. Is that still available and applicable to v3.8.

    Just trying to figure out the most efficient way to do this since I have to do it in 5templates for each product type.

    Thanks!

  8. #748
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: Tabbed Products ''LITE'' version - Delimiter based

    Quote Originally Posted by BlessIsaacola View Post
    Qhome, finally installed this and I must say it's excellent. I was wondering what the easiest approach would be to achive this two goals:

    1. Remove the "Tell A Friend" button from the product display page. It's redundant because I have the Tell A Friend sidebox on.

    2. Move the Add to Cart button about the Tabs. Because most of our products have extensive description, the Add to Cart is buried too low on the screen. Besides, it will be customer friendly to have it on top for those customers that do not need to read description, they can easily add things to cart. I know you created a custom file for Stephen for version 3.3. Is that still available and applicable to v3.8.

    Just trying to figure out the most efficient way to do this since I have to do it in 5templates for each product type.

    Thanks!
    Hi Blessisacola,

    1. In Admin->Product Types->Edit Layout there is a setting called:
    Show Product Tell a Friend button. Set that to 0 and it will turn it off on the page, but leave the sidebox one.

    2. Assuming you will have the main image above the tabs too, then you can find: (around line 141)
    Code:
    <!--bof Add to Cart Box -->
    <?php 
    if (CUSTOMERS_APPROVAL == 3 and TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') {
      // do nothing
    } else {
      $display_qty = (($flag_show_product_info_in_cart_qty == 1 and $_SESSION['cart']->in_cart($_GET['products_id'])) ? '<p>' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '</p>' : '');
      if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) {
        // hide the quantity box and default to 1
        $the_button = '<input type="hidden" name="cart_quantity" value="1" />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
      } else {
        // show the quantity box
        $the_button = PRODUCTS_ORDER_QTY_TEXT . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" /><br />' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '<br />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
      }
      $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button);
      if ($display_qty != '' or $display_button != '') { ?>
        <div id="cartAdd">
        <?php
          echo $display_qty;
          echo $display_button;
        ?>
        </div>
      <?php } // display qty and button ?>
    <?php } // CUSTOMERS_APPROVAL == 3 ?>
    <!--eof Add to Cart Box-->
    cut that and paste it underneath:
    Code:
    <!--bof Product Name-->
    <h1 id="productName" class="productGeneral"><?php echo $products_name; ?></h1>
    <!--eof Product Name-->

  9. #749
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Tabbed Products ''LITE'' version - Delimiter based

    Quote Originally Posted by qhome View Post
    Hi Blessisacola,

    1. In Admin->Product Types->Edit Layout there is a setting called:
    Show Product Tell a Friend button. Set that to 0 and it will turn it off on the page, but leave the sidebox one.

    2. Assuming you will have the main image above the tabs too, then you can find: (around line 141)
    Code:
    <!--bof Add to Cart Box -->
    <?php 
    if (CUSTOMERS_APPROVAL == 3 and TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') {
      // do nothing
    } else {
      $display_qty = (($flag_show_product_info_in_cart_qty == 1 and $_SESSION['cart']->in_cart($_GET['products_id'])) ? '<p>' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '</p>' : '');
      if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) {
        // hide the quantity box and default to 1
        $the_button = '<input type="hidden" name="cart_quantity" value="1" />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
      } else {
        // show the quantity box
        $the_button = PRODUCTS_ORDER_QTY_TEXT . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" /><br />' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '<br />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
      }
      $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button);
      if ($display_qty != '' or $display_button != '') { ?>
        <div id="cartAdd">
        <?php
          echo $display_qty;
          echo $display_button;
        ?>
        </div>
      <?php } // display qty and button ?>
    <?php } // CUSTOMERS_APPROVAL == 3 ?>
    <!--eof Add to Cart Box-->
    cut that and paste it underneath:
    Code:
    <!--bof Product Name-->
    <h1 id="productName" class="productGeneral"><?php echo $products_name; ?></h1>
    <!--eof Product Name-->
    That was pretty easy. Thank you! I ended up placing the code after this:
    Code:
    <!--bof free ship icon  -->
    <?php if(zen_get_product_is_always_free_shipping($products_id_current)) { ?>
    <div id="freeShippingIcon"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON; ?></div>
    <?php } ?>
    <!--eof free ship icon  -->
    It looks better there. For some reason it the Add to Cart box wasn't floating the right when placed after the product name. Hopefully, this doesn't cause any functionality problem. If you think I need to correct something please let me know.

    Thanks again for this fabulous mod. Makes the site look so professional. I will migrate it live in the next few hours.

  10. #750
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Tabbed Products ''LITE'' version - Delimiter based

    Qhome, where can I change the configuration so that the default tabs are wrapped. I looked includes/module and I do not see where to make the changes. Customer Also Purchased and We Also Recommend are not wrapping out of the box.

    Thanks!

 

 
Page 75 of 120 FirstFirst ... 2565737475767785 ... LastLast

Similar Threads

  1. File list for Tabbed Products Lite v3.8?
    By spaz_tic in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 24 Mar 2010, 05:58 PM
  2. PHP Inlcudes with Tabbed Products Lite v3.8
    By rmjr in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Dec 2007, 05:28 PM
  3. tabbed products lite big problem
    By tacotupac in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 27 Jun 2007, 11:25 PM
  4. Tabbed Products LITE - CSS/JS Issue?
    By rknepp79 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 15 Dec 2006, 08:04 PM
  5. x-sell, tabbed products lite, IH2 question
    By signs in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 30 Oct 2006, 01: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