Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Yari

Archived
  • Posts

    120
  • Joined

  • Last visited

Everything posted by Yari

  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:
  16. Hi. I need to use my own submitbutton and not the default one, how can I change it to use one of my own buttons ? The code is this: 'text' ?=> ?'<form name="newsletter" action="' . tep_href_link(FILENAME_NEWSLETTERS_SUBSCRIBE, '', 'NONSSL') . '" method="post" onSubmit="return verify(this);">' . TEXT_NAME . '<br><input type="text" name="lastname" value="" checked size="15" maxlength="35"><br><br>' . TEXT_EMAIL . '<br><input type="text" name="Email" value="" checked size="15" maxlength="35">' . '<input type="submit" name="Submit" value="ok">' . '<a href="' . tep_href_link(FILENAME_NEWSLETTERS, '', 'NONSSL') . '"></form>');
  17. Hi. I have installed the loginbox and I have a value E-mail in the textbox, now I want the value in the box to disappear when someone click in the box with the mouse courser. How can I do that ? The code is: <input type=\"text\" name=\"email_address\" maxlength=\"96\" size=\"18\" value=\"E-mail\">
  18. I'm trying to use I-frame to, did you get it working ? Or do anyone else know if ot's possible? I want to have the menus $categorybox, $bestsellersbox and $specialfriendbox in the same I-frame so when someone comes to the webshop the $categorybox is open in the I-frame and then they can click on a link or a button so some of the other menus opens in the same I-frame. Is this possible to do ? I still need help with this ?
  19. I'm trying to use I-frame to, did you get it working ? Or do anyone else know if ot's possible? I want to have the menus $categorybox, $bestsellersbox and $specialfriendbox in the same I-frame so when someone comes to the webshop the $categorybox is open in the I-frame and then they can click on a link or a button so some of the other menus opens in the same I-frame. Is this possible to do ?
  20. I translated and shared the swedish language pack almost 1 year ago so why not try it :D http://www.oscommerce.com/community/contri.../search,swedish
  21. Still no response :angry: Let me take some examples from his translation. He has translated the word BOX_CONFIGURATION_CACHE with the swedish word for "Hiding Place" BOX_CONFIGURATION_LOGGING with the swedish word for "felling (cutting)", BOX_TOOLS_BANNER_MANAGER with the swedish word "baner (business) executive", IMAGE_ICON_STATUS_GREEN_LIGHT with the swedish word for "stiff active", And so it goes on :angry: The problem I have with this is that I'm going to start up my own business in the beginning of Januar and one of the things I am going to offer is installing osCommerce for my klients, this is giving me some bad credit that I don't need. So please help me to get his translation deleted.
  22. Ok, I have tried to PM a moderator but no luck :( Do I have to hack the server or how can I get any help from the usually good support here ?
  23. Ok, I will try that if they will be more helpfull then.
  24. I still get mails from people that complaines about the translation to swedish languages of the admin part of osC, can someone please tell me who I should contact to get the files in contributions deleted ? My translation of the Catalog part works fine but the translation someone did for the admin part don't work. Who should I contact to get thoes files deleted ? I hope someone can tell me.
  25. I guess this wasn't the right way, who should I contact in this matter ?
×
×
  • Create New...