Yari

Members
  • Content count

    120
  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About Yari

Profile Information

  • Real Name
    Yari
  • Location
    Sweden

Contact Methods

  1. Ok i shall do that, it's a bid differens between the old one and new one of STS. Hope I can work it out, if someone else hasn't get it working allready with sts 2.0.1 ?
  2. Thanks for answer, there was two links there that pointed to newer version of the STS wich doesn't work. Any help for STS 2.0.1 ?
  3. I tried this contribution in a shop that has STS 2.0.1 installed but it didn't work, anyone know how to make it work with STS 2.0.1 ?
  4. Ok my time to ask :D Has anyone got this contrib to work with STS ?
  5. Many thanks for your help, that worked, but there was some spaces and missing ; in the code so it should be. Change the first one to: $featured_manufacturer_products_query_raw = "select p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, pd.products_name, pd.products_description, pd.products_short, p.products_image, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price, m.manufacturers_id, m.manufacturers_name, m.manufacturers_image, m.manufacturer_featured_until, mi.manufacturers_id, mi.languages_id, mi.manufacturers_url from " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_MANUFACTURERS_INFO . " mi, " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = m.manufacturers_id and m. manufacturers_id = mi.manufacturers_id and mi.languages_id = '" . (int)$languages_id . "' and m.manufacturer_featured = '1' order by " . FEATURED_MANUFACTURER_SORT_ORDER . " " . FEATURED_MANUFACTURER_DIRECTION . " limit " . MAX_DISPLAY_FEATURED_MANUFACTURER; And the second one to: $featured_categories_query_raw = "select c.categories_id, cd.categories_name, c.categories_image, c.parent_id, c.categories_featured_until, p.products_id, p.products_price, p.products_tax_class_id, pd.products_name, pd.products_description, pd.products_short, p.products_image, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price , IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where c.categories_featured = '1' and cd.language_id = '" . (int)$languages_id . "' and c.categories_id = cd.categories_id and c.categories_id = p2c.categories_id and cd.categories_id = p2c.categories_id and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' order by " . FEATURED_CATEGORIES_SORT_ORDER . " " . FEATURED_CATEGORIES_DIRECTION . " limit " . MAX_DISPLAY_FEATURED_CATEGORIES;
  6. I have the same problem with mysql 5, did anyone got it to work with mysql 5 ?
  7. Thanks I found it in the database even f it wasn't in the admin.
  8. Hi. I have installed order editor 2.5 and if I edit an order it insert an extra line to the shipping fields that says FL TAX 7.0%:, where does this come from ? The shop has nothing like that and it comes up only if I have edited an order, it inserts this extra line in the Invoice too.
  9. Hi I have used the contrib easy way add Qty box in your product_info.php and in the file product_info I have changed the code on line 213 to <td class="main" align="right"><?php echo TEXT_QUANTITY . tep_draw_input_field('quantity', '1', 'SIZE=2 maxlength=10') . tep_draw_separator('pixel_trans.gif', '5', '1') . tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART, 'align=absmiddle'); ?></td> And in the file application_top.php I have changed the code to $cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $HTTP_POST_VARS['id']))+ $HTTP_POST_VARS['quantity'], $HTTP_POST_VARS['id']); It says the code should be $cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $HTTP_POST_VARS['id']))+ (int)$HTTP_POST_VARS['quantity'], $HTTP_POST_VARS['id']); But I need the ability to add quantity like 1.2 or 1,2 so I removed (int) in the code. It works if the customer adds 1.2 to the basket but if the customer adds 1,2 it will add only 1 in the basket. How can I do so it replaces the , with . if customer adds 1,2 so it will add 1.2 to the basket ?
  10. Yeahh.. this solved my problem too. Many thanks to you :thumbsup:
  11. I have the same problem, did you solv it ? Or can anyone else help me ? This error is in the admin when you open the link Page manager.
  12. Great, I hope it will work with STS Template System too ?
  13. I have tried to install it with STS Templatesystem but it didn't work. Do you know if it's possible to make it work with STS ? The error code is a lot of this errors Warning: Cannot use a scalar value as an array in /home/userA/xxxxxx/public_html/mysite.se/includes/sts_display_output.php on line 31 Warning: Cannot use a scalar value as an array in /home/userA/xxxxxx/public_html/mysite.se/includes/sts_user_code.php on line 35 Warning: Cannot use a scalar value as an array in /home/userA/xxxxxx/public_html/mysite.se/includes/sts_user_code.php on line 41 Warning: Cannot use a scalar value as an array in /home/userA/xxxxxx/public_html/mysite.se/includes/sts_user_code.php on line 47 Warning: Cannot use a scalar value as an array in /home/userA/xxxxxx/public_html/mysite.se/includes/sts_user_code.php on line 57 Warning: Cannot use a scalar value as an array in /home/userA/xxxxxx/public_html/mysite.se/includes/sts_display_output.php on line 172 Warning: Cannot use a scalar value as an array in /home/userA/xxxxxx/public_html/mysite.se/includes/sts_display_output.php on line 175 Warning: Cannot use a scalar value as an array in /home/userA/xxxxxx/public_html/mysite.se/includes/sts_display_output.php on line 178 ........
  14. And you think you are the boss here or what Newbie :o I guess you don't know what this community is here for ? Every one from newbies to experts can ask questions and no question is stupid. If you can't handle the community rules then don't come in here, if you act like an idiot and say here is hundreds of stupid questions and this community is filled with stupid questions then you are really out of line here. Newbies has every right to ask their easy or as you say stupid questions like experts has their right to ask difficault ones. Can't you handle it don't waste your time to come in here!
  15. I have to learn HTML :D :D This contrib is not complex and I have worked it out, just wanted to save some time when I had so much work but thanks for nothing and your community spirit :lol: