Jump to content

techgoddess

Members
  • Content count

    34
  • Joined

  • Last visited

Profile Information

  • Real Name
    Athena
  • Gender
    Female
  • Location
    Costa Rica
  1. Is there a link to the SSPP module? I can't seem to find it anywhere.
  2. techgoddess

    Links Manager II

    Besides having to spend waaay too much time figuring out why the links weren't showing on my page (For anyone else going, "#$%*!!! wtf?", Category can NOT be set to TOP in the "Links" section of the Admin panel.), this is SUPER AWESOME and just saved me a TON of time and was so easy compared to what I was thinking I was going to have to do for similar results. THANKS JACK! I wanted to know if there was a reason the Spanish language files were all jacked up? Why is there all that extra code that you don't see in regular multi-lingual modules? Some of it is commented but the comments are cryptic. I was hoping to copy the English language files and translate them to Spanish and upload them for this module but I don't understand the reason for the extra code in the Spanish files that downloaded with Links Manager II. Thanks!
  3. techgoddess

    Quantity Price Breaks

    OK, I found some cheese for my whine. NOW to help anyone else out who has struggled with moving the dang Price Break box to the bottom of the page, I have a SEMI fix. I'm running 2.2RC2A. To move the Price Break box to the bottom of the page above the Add to Cart bar AND keep the price in the upper right of the page where it should be, I did the following. In catalog/product_info.php I changed this: // BOF qpbpp /* if ($new_price = tep_get_products_special_price($product_info['products_id'])) { $products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>'; } else { $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); } */ $pf->loadProduct((int)$_GET['products_id'], (int)$languages_id); $products_price=$pf->getPriceString(); // EOF qpbpp to this // BOF qpbpp if ($new_price = tep_get_products_special_price($product_info['products_id'])) { $products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>'; } else { $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); } $pf->loadProduct((int)$_GET['products_id'], (int)$languages_id); $products_price_qpbpp = $pf->getPriceString(); // EOF qpbpp In the same file, in order to move the PriceBreak box to the bottom of the page, around line 235 I changed this: <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> </tr> <?php } ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td> <td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> to this: <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> </tr> <?php } ?> <!-- BEGIN EDIT TO MOVE PRICE BREAK BOX TO BOTTOM OF SCREEN--> <tr align="center"> <td style="text-align: center;"> <table style="width: 75%; text-align: left; margin-left: auto; margin-right: auto;" border="0" cellpadding="2" cellspacing="2"> <tbody> <tr> <td style="text-align: center; vertical-align: middle;"><?php echo $products_price_qpbpp ?></td> </tr> </tbody> </table> </td> </tr> <!-- END EDIT TO MOVE PRICE BREAK BOX TO BOTTOM OF SCREEN--> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td> <td <?php // BOF qpbpp //<td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?> <td class="main" align="right"> <table border="0" align="right"> <tr><td align="center"> <?php echo TEXT_ENTER_QUANTITY . ":" . tep_draw_input_field('cart_quantity', $pf->adjustQty(1), 'size="6"'); ?> </td></tr> <tr><td align="center"> <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?> </td></tr> </table> </td> <?php // EOF qpbpp ?> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> The only problem left is the product price STILL shows up at the bottom of the product page whether it has a price break or not. I'm sure what I need to do (when I get some more time) is to find the file that information is being called from and add a statement saying to NOT include a price if the product does not have a price break. I hope this helps someone. Luck!
  4. techgoddess

    Quantity Price Breaks

    Hi Matt, I just spent DAYS < <_<> wrestling with moving the price break box from above (what a silly place to put a large box) to just above the "Add to Cart" box. UNFORTUNATELY, unlike the previous version which used a call to "$products_price_qpbpp;", the latest version uses the original "$products_price;". So that means moving the price box to the bottom of the page will also now move the product price (that is originally in the upper right of the screen) to the bottom of the page too. This has been such a headache that, personally, I'm thinking of just trashing the install and doing without it rather than spending who knows how much more time on something that should be super simple. Anyhow, if you still want to move the box to the bottom of the page before the "add to Cart" box, take a look at my table below. It centers the price break box so you won't have to struggle with trying to get the darn thing to align someplace other than right. It's only a short bit but I added more code rather than less to give you a good idea of exactly where the code was placed in catalog/product_info.php. Good luck! In catalog/product_info.php : if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td> </tr> <?php } else { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> </tr> <?php } ?> <!-- BEGIN EDIT TO MOVE PRICE BREAK BOX TO BOTTOM OF SCREEN--> <tr align="center"> <td style="text-align: center;"> <table style="width: 75%; text-align: left; margin-left: auto; margin-right: auto;" border="0" cellpadding="2" cellspacing="2"> <tbody> <tr> <td style="text-align: center; vertical-align: middle;"><?php echo $products_price; ?></td> </tr> </tbody> </table> </td> </tr> <!-- END EDIT TO MOVE PRICE BREAK BOX TO BOTTOM OF SCREEN--> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td> <td <?php // BOF qpbpp //<td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?> <td class="main" align="right"> <table border="0" align="right"> <tr><td align="center"> <?php echo TEXT_ENTER_QUANTITY . ":" . tep_draw_input_field('cart_quantity', $pf->adjustQty(1), 'size="6"'); ?> </td></tr> <tr><td align="center"> <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?> </td></tr> </table> </td> <?php // EOF qpbpp ?>
  5. techgoddess

    Event Calendar

    I know this is a very old post but if I was looking for the answer then maybe someone else will need the resolution too. I found it on the Zencart.com forum. A poster named "Fusionsp" posted the following fix which worked for me. "ok, open admin/includes/boxes/event_drop_dns.php and look near the very bottom line of code. it will be in 2 places that has to change. echo $box->menuBox($heading,''); change to this: echo $box->menuBox($heading, $info_box_contents); " The original post can be found at: Zen Cart Forum Athena
  6. techgoddess

    Header Tags SEO

    I know this is a really old thread but I upgraded to the latest SEO URL's and had the problem of my right column dropping to the bottom of the page in Internet Explorer. I have an English/Spanish Osc site. The last version I had installed was In "Ultimate_SEO_URLs_v2-2.2eFIXED" and since the newer version didn't have any actual files most of the original files stayed put. Anyhoo, my problem was the code from "Install_Catalog.txt" It said to add the following in in "Product_Info.php": == FIND (around line 240) </table></form></td> <!-- body_text_eof //--> ADD ABOVE it: <?php /*** Begin Header Tags SEO ***/ ?> <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="' . $header_tags_array['title'] . '" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $product_info['products_id'], 'NONSSL') . '"/# ' . $header_tags_array['title'] . '">' . $header_tags_array['title']; ?></a></td> </tr> <?php /*** End Header Tags SEO ***/ ?> NOTE 1: The placement of this is not critical. Anywhere neat the bottom of the page is fine. You can also change or remove the TEXT_VIEWING text to fit your site. NOTE 2: If you are using STS and a product_info template, use this code instead: <table width="794" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="smallText" align="center">$text_viewing $text_viewing_title</td> </tr> <!--- BEGIN Header Tags SEO Social Bookmarks --> </table> == I only had the appropriate part before the "Notes" but I commented it out and the right column popped back into place in Internet Explorer. Hope this helps someone.
  7. techgoddess

    ULTIMATE Seo Urls 5 - by FWR Media

    I know this is a really old thread but I upgraded to the latest SEO URL's and had the problem of my right column dropping to the bottom of the page in Internet Explorer. I have an English/Spanish Osc site. The last version I had installed was In "Ultimate_SEO_URLs_v2-2.2eFIXED" and since the newer version didn't have any actual files most of the original files stayed put. Anyhoo, my problem was the code from "Install_Catalog.txt" It said to add the following in in "Product_Info.php": == FIND (around line 240) </table></form></td> <!-- body_text_eof //--> ADD ABOVE it: <?php /*** Begin Header Tags SEO ***/ ?> <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="' . $header_tags_array['title'] . '" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $product_info['products_id'], 'NONSSL') . '"/# ' . $header_tags_array['title'] . '">' . $header_tags_array['title']; ?></a></td> </tr> <?php /*** End Header Tags SEO ***/ ?> NOTE 1: The placement of this is not critical. Anywhere neat the bottom of the page is fine. You can also change or remove the TEXT_VIEWING text to fit your site. NOTE 2: If you are using STS and a product_info template, use this code instead: <table width="794" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="smallText" align="center">$text_viewing $text_viewing_title</td> </tr> <!--- BEGIN Header Tags SEO Social Bookmarks --> </table> == I only had the appropriate part before the "Notes" but I commented it out and the right column popped back into place in Internet Explorer. Hope this helps someone.
  8. techgoddess

    Moneybookers IFrame Module Help Please!

    I installed the newest contribution with IFrame and had nothing but problems with it. For some reason the checkout confirmation page would distort (only with this moneybookers IFrame module) and if I ignored the distortion and clicked continue anyway, a new copy of my web page would open up and place itself in the frame and then would not continue further. I had a ticket with Holbi for over a week and there was never an update. Monybookers claimed it was a problem with my ISP even though the other payment modules worked fine. I went back to version "Minor SQL Error - FIXED!!" and applied the "999" fix and now the module works and it works the way you are trying to make the IFrames version work. When payment is about to be processed, it goes to the Moneybookers website. When done it will return your clients to your website. You must take note of this post from "Christoforos" *http://forums.oscommerce.com/index.php?showtopic=268230&view=findpost&p=1258352* AND This post from "Saad Al Mubarak" *http://forums.oscommerce.com/index.php?showtopic=268230&view=findpost&p=1296922* From this thread http://forums.oscommerce.com/index.php?sho...hl=moneybookers Athena
  9. techgoddess

    Meta Tags

    To be honest, I've never checked my placement. My websites are all still in progress.
  10. techgoddess

    Meta Tags

    I used this one: HeaderTags_SEO_V_3.0.3 and love it. http://addons.oscommerce.com/info/5851 The support thread for Header Tags SEO is at http://forums.oscommerce.com/index.php?showtopic=298099
  11. techgoddess

    Simple Price Break Contrib

    I was having the same problem where the discount was not being applied during checkout. If I recall correctly, I think the following two posts are what resolved the problem for me: Post 1 by Shawn Mulligan and Post 2 by Fabio Good luck! Athena
  12. techgoddess

    Simple Price Break Contribution

    Pretty please with sugar on top, rainbow sprinkles, and TWO cherries. Anyone. Anything. Becoming desperate here. Thanks, Athena
  13. techgoddess

    Simple Price Break Contribution

    Hi, I have the exact same problem as post #21 in this thread. Has anyone found a way around this issue? I thought of maybe using Quantity Price Break Per Product instead but the install procedure conflicts with an install of Header Tags SEO particularly with categories.php. I did notice that QPBPP had a work around for this problem *here* but I don't see an easy way to apply that fix to Simple Price Break. Any suggestions? Thanks, Athena
  14. techgoddess

    Problems with Product Attributes Sort Order

    Hi, I'm not sure if Scott or Erik should be addressed but I found some inconsistencies in the fileset and a sort problem with "Attribute Sort with Attribute Clone 1.8.3" First, the instructions such as [*** If you want to clone all attributes from ONE Product Attribute to ONE Option Value, insert the following ***] were not clear as to whether the option was one or the other or an all you can eat type setup choice. If I wanted all the functions could I install all the options or did it have to be one or the other? ------------------------ CATALOG\PRODUCT_INFO.PHP ------------------------ The ASWAC1.8.3 paragraph below calls for an "order by attribute_sort" but the paragraph before it calls for an "order by popt.products_options_name" and seems to be canceling out the clone tools call to "order". If I remove the first paragraphs sort call then clone tool will (almost) order the attributes by sort number. I say almost because no matter what I set the sort numbers to one of my attributes will not sort. I have an attribute set to "2" that refuses to move to the head of the selection even though the other attributes are set to 4, 6, and 8. When the sort is set to alphabetical, it orders perfectly. When sort is set to use the attribute sort, it moves to second place when it should be first. ======================================= $products_options_name_query = tep_db_query("select distinct popt.products_options_id, popt.products_options_name from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "' order by popt.products_options_name"); while ($products_options_name = tep_db_fetch_array($products_options_name_query)) { $products_options_array = array(); // BOE: Attribute Sort with Clone Tool $products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "' order by attribute_sort"); // EOE: Attribute Sort with Clone Tool ======================================== ------------------------- CATALOG\ADMIN\PRODUCTS_ATTRIBUTES.PHP ----------------------- Difference between the instructions and the fileset on lines 74 through 77. First line commented and moved in fileset but not in the instructions. ============================ // tep_db_query("insert into " . TABLE_PRODUCTS_ATTRIBUTES . " values (null, '" . (int)$products_id . "', '" . (int)$options_id . "', '" . (int)$values_id . "', '" . (float)tep_db_input($value_price) . "', '" . tep_db_input($price_prefix) . "')"); // BOE: Attribute Sort with Clone Tool tep_db_query("insert into " . TABLE_PRODUCTS_ATTRIBUTES . " values (null, '" . (int)$products_id . "', '" . (int)$options_id . "', '" . (int)$values_id . "', '" . (float)tep_db_input($value_price) . "', '" . tep_db_input($price_prefix) . "', '" . (int)$attributes_sort . "')"); // EOE: Attribute Sort with Clone Tool ================================= Difference between the instructions and the actual file on lines 131 through 134. First line commented and moved in fileset but not in the instructions. =============================== // tep_db_query("update " . TABLE_PRODUCTS_ATTRIBUTES . " set products_id = '" . (int)$products_id . "', options_id = '" . (int)$options_id . "', options_values_id = '" . (int)$values_id . "', options_values_price = '" . (float)tep_db_input($value_price) . "', price_prefix = '" . tep_db_input($price_prefix) . "' where products_attributes_id = '" . (int)$attribute_id . "'"); // BOE: Attribute Sort with Clone Tool tep_db_query("update " . TABLE_PRODUCTS_ATTRIBUTES . " set products_id = '" . (int)$products_id . "', options_id = '" . (int)$options_id . "', options_values_id = '" . (int)$values_id . "', options_values_price = '" . (float)tep_db_input($value_price) . "', price_prefix = '" . tep_db_input($price_prefix) . "', attribute_sort = '" . (int)$attributes_sort . "' where products_attributes_id = '" . (int)$attribute_id . "'"); // EOE: Attribute Sort with Clone Tool =============================== My workaround for CATALOG\PRODUCT_INFO.PHP was to change the first call to order from "order by popt.products_options_name" to "order by popt.products_options_id". This was an awesome and needed contribution. Thanks to all keeping it updated. Athena
×