Jump to content

etek14

Members
  • Content count

    12
  • Joined

  • Last visited

  1. etek14

    [Contribution] STS v4

    My question concerns the latest version of STS and HTC contribution. The STS instructions say not to totally follow the HTC catalog side of the instructions if I understood correctly. Does adding the headertags.php file to admin section of STS suppose to replace having to modify this bit of code in every page you need header tags. QUOTE from HTC instructions................ CHANGES TO ALL FILES: For Header Tags to work on a page of your site, that page must have the code change mentioned below installed. You should make the following changes to index.php product_info.php and any other file in the root directory (the same location where your index.php file is located) that you want to have Header Tags to work with. For example, if you want your privacy page to have its own title and meta tags, then you should make this change to the privacy.php file. Only files that contain <title><?php echo TITLE; ?></title> can be altered. NOTE: The <TITLE> tag is different in popup_image.php and is not handled by Header Tags Controller so there is no need to modify that file. In each file you want to edit, make the following modification: FIND: <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> REPLACE with: <?php // BOF: Header Tag Controller v2.6.3 if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> <title><?php echo TITLE; ?></title> <?php } // EOF: Header Tag Controller v2.6.3 -------------------------------------------------------------------------------------------------------------- My Header title and meta tags all seemed to be functioning fine but the following bit of code on the product_info.php.html page does not fuction without the above change............. Quote from HTC: <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="smallText" align="center"><?php echo TEXT_VIEWING; ?> <?php echo '<a title="' . $tags_array['title'] . '" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $product_info['products_id'], 'NONSSL') . '"/# ' . $tags_array['title'] . '">' . $tags_array['title']; ?></a></td> </tr> All I get is "Currently Viewing:" with nothing else As I said, I solved it with changing the code but would like to confirm I have it working as it was designed to function in STS. Basically my question is , by adding the headertags.php file after sts_user_code.php in admin, is this suppose to take care of this automatically because it seems to contain the same code to include in the page.
  2. Hello ArneK, Thanks for the reply but it seems I got it working with the existing code. I am also using the STS contribution with my shop and the directions in the STS forum said if you are installing HTC contribution to not follow the Catalog side of the HTC instructions, they are handling it with STS but I Looked at the Catalog instructions anyway and added this bit of code from HTC directions for the Product_info.php file and it seemed to solve my problem. I did not modify the index file because it seemed to be working fine as far as I could see but then again I am using STS Templates. QUOTE: ---------------------------------------------------------------------------------------------- CHANGES TO ALL FILES: For Header Tags to work on a page of your site, that page must have the code change mentioned below installed. You should make the following changes to index.php product_info.php and any other file in the root directory (the same location where your index.php file is located) that you want to have Header Tags to work with. For example, if you want your privacy page to have its own title and meta tags, then you should make this change to the privacy.php file. Only files that contain <title><?php echo TITLE; ?></title> can be altered. NOTE: The <TITLE> tag is different in popup_image.php and is not handled by Header Tags Controller so there is no need to modify that file. In each file you want to edit, make the following modification: FIND: <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> REPLACE with: <?php // BOF: Header Tag Controller v2.6.3 if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> <title><?php echo TITLE; ?></title> <?php } // EOF: Header Tag Controller v2.6.3 ?> -------------------------------------------------------------------------------------------------------------------
  3. I installed this contribution and seems to be working well although I am having one small problem with this code in product_info.php: <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="smallText" align="center"><?php echo TEXT_VIEWING; ?> <?php echo '<a title="' . $tags_array['title'] . '" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $product_info['products_id'], 'NONSSL') . '"/# ' . $tags_array['title'] . '">' . $tags_array['title']; ?></a></td> </tr> It is displaying the TEXT_VIEWING variable which is "Currently Viewing:" but nothing else is displayed. I've overlooked something simple I'm sure. Any Ideas?
  4. Excellent, that did the trick. Many thanks for the prompt help.......
  5. Thanks for your time checking this, I tried the code above and got the same results. If I set the "display attributes column" in admin to 3 instead of 4 and set "display product price" to 4 then the price is displayed multiple times instead but only when the product contains 1 option with more than 4 attributes (ie. option "color" with attributes "blue","red",.....more than 4) I tried to diagnose the problem more and it seems if you have *only one* option that contains multiple attributes,for example option "color" that contains more than 4 atrributes such as "blue","red", etc is when the loop occurs. If I have two options such as "color" and "size" the problem goes away. I looked at the code and Cannot determine is it is an "IF" statement or Variable setting.
  6. I added the code to index.php and the array has items listed [0],[1],[2],[3] which I assume is normal. The problem seems to be when the number of values in the drop down box is 5 or more. It seems to list multiple drop boxes and qty selections for that product. I have included some html source from one of my product pages. If you'll notice the first two are fine but product ID 153 is listing 3 boxes for the same product when there should be 1. <tr class="productListing-odd"> <td align="center" valign="top" class="productListing-data" width="33%"> <select name="id_128[1]"><option value="6">amber</option><option value="3">red/amber</option><option value="2"........ <td align="center" valign="top" class="productListing-data" width="33%"> <a href="http:................. <select name="id_120[1]"><option value="6">amber</option><option value="5">red/white/red .................... <td align="center" valign="top" class="productListing-data" width="33%"> ................ <select name="id_153[1]"><option value="10">red/white/red/white (+$138.00)</option><option value="9"............ <select name="id_153[1]"><option value="10">red/white/red/white (+$138.00)</option><option value="9"............ <select name="id_153[1]"><option value="10">red/white/red/white (+$138.00)</option><option value="9"............ </tr>
  7. Just installed latest version of Product Listing in Columns 2.2.2, I have "Display add multiples column" selected in the Admin configuration. If I have 5 or more attributes selectable for a product, it will list my product in columns fine but will have multiple qty and attribute selection drop down boxes for the same product. If the product it is listing has 4 or less attributes it displays just 1 qty and drop down box for that product like it should. Has anyone run into this problem?
  8. etek14

    Product Listing in Columns v2.0

    Thanks for the response and the quick update. Will upload corrected file.
  9. etek14

    Product Listing in Columns v2.0

    Just installed version 2.2.1, Great contribution. When I select "display add multiples column" in Admin I get the follwing error in my store when products should be displayed. --------------------------------------------------------------- 1054 - Unknown column 'attributes_hide_from_groups' in 'where clause' select distinct popt.products_options_id, popt.products_options_name from products_options popt, products_attributes patrib where patrib.products_id='128' and patrib.options_id = popt.products_options_id and popt.language_id = '1' and find_in_set('', attributes_hide_from_groups) = 0 [TEP STOP] -------------------------------------------------------------- When "Display buy now column is selected" it list products in columns fine. Also when the "display add multiples with buy now column" is selected it displays products but some products have the drop down attributes select box listed multiple times and the price is listed 2 or 3 times. Some of the products on the same page list fine. Anyone had any of these problems before ? Thanx
  10. etek14

    fast easy checkout

    Safoo, excellant point on the shipping charges changing. Would only be good if the address didnt change from the general area. I guess the shipping charges could be updated automatically. Seems the idea of entering your credit card twice could deter some customers and prolong the FEC but realize there are alot of possible scenarios.
  11. etek14

    fast easy checkout

    I have read the thread and dont see it mentioned. Has anyone changed the code where you can go directly back to checkout_confirmation after you initiate an edit address change from that page instead of having to go back thru and enter your credit card number again. Is this a security issue or just a matter of registering or not registering card info. I guess the whole page could be eliminated if you have the capabilty of billing address and shipping address change on the checkout_shipping page. Frank, I noticed you have that on your checkout at seelily. Is that code available?
  12. etek14

    fast easy checkout

    Frank, I was trying to test at your site and am receiving a no address book error when I submit the info on createaccount screen. Great contribution.....
×