Jump to content


  • Content count

  • Joined

  • Last visited

Profile Information

  • Real Name
    Anna-Karin Svensson
  • Gender
  1. finimej

    Featured Product Support v1.5.4

    Hi, I changed the query to this, and you can use the product decription $new_products_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_image, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, p.products_date_added, m.manufacturers_name from " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id left join " . TABLE_FEATURED . " f on p.products_id = f.products_id where p.products_status = '1' and f.status = '1' order by p.products_date_added DESC, pd.products_name desc limit " . MAX_DISPLAY_NEW_PRODUCTS); if you are going to use the product description, this will save the the extra queries to the database to get the product description. This is how I used my product description, truncated osc_trunc_string(strip_tags($new_products['products_description'])) This is how I used my product name $new_products['products_name']
  2. finimej

    fast easy checkout

    to skip the payment verification checkout_shipping.php, if you only have one payment model, 1) in the checkout_shipping.php Here it is very important that the form is called 'checkout_address', not 'checkout_payment" as it comes. <?php echo tep_draw_form('checkout_address', tep_href_link(FILENAME_CHECKOUT_SHIPPING, then find </table></form></td> <!-- body_text_eof //--> change to </table></form><script language="javascript"> document.checkout_address.submit(); </script> </td> <!-- body_text_eof //--> 2) do the same thing with the checkout_payment.php find </table></form></td> <!-- body_text_eof //--> change to </table></form><script language="javascript"> document.checkout_payment.submit(); </script> </td> <!-- body_text_eof //--> There, the same procedure, just cheating the system, give it a programmed submit the form.
  3. finimej

    fast easy checkout

    find this thread. is trying it now, and see if this can help me. http://forums.oscommerce.com/index.php?showtopic=193155
  4. finimej

    fast easy checkout

    I installed the FEC. Thanks for the fantastic contribution! I only have one payment method, and no billing adress, only the shipping adress. Therefore I would like to skip the checkout_shipping.php and let the user directly goes to the Checkout_confirmation.php. However, there are lots of status session checking in the Checkout_confirmation.php, so it keeping through me back to the checkout_shipping.php anyway even I from the shop_cart.php directly go to the Checkout_confirmation.php. How shall I do? I would like to skip the checkout_shipping.php and let the user directly from shopping_cart.php goes to the Checkout_confirmation.php. Thanks.