Jump to content

onkeljan

Members
  • Content count

    22
  • Joined

  • Last visited

Profile Information

  • Real Name
    Bj?rn Ove
  1. onkeljan

    Seperate Pricing Per Customer v3.5

    Actually, i just need a sipmle contribution, that gives different discounts on different manufacturers. It can be in percent, and in can be as simple as it just gives the discount in shopping cart.... Any suggestions of other sollutions for me?
  2. onkeljan

    Seperate Pricing Per Customer v3.5

    It didnt work out for me, to many errors and complications. So after 5 hours editing files, i give up. Thanx for the quick support though. Hope addons like this will be preinstalled in next versions of osc in the future :-)
  3. onkeljan

    Seperate Pricing Per Customer v3.5

    I found one issue with an other contribution, the disable categories/product contribution. Can anyone help me out with the code, so both contributions work together? // BOF Enable & Disable Categories if ($random_product = tep_random_select("select distinct p.products_id, p.products_image, p.products_tax_class_id, p.products_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c where p.products_status=1 and p.products_id = p2c.products_id and c.categories_id = p2c.categories_id and c.categories_status=1 order by p.products_date_added desc limit " . MAX_RANDOM_SELECT_NEW)) { // EOF Enable & Disable Categories Needs to be replaced with: if ($random_product = tep_random_select("select p.products_id, p.products_image, p.products_tax_class_id, p.products_price, pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and pd.language_id = '" . (int)$languages_id . "' and p.products_id = pd.products_id order by p.products_date_added desc limit " . MAX_RANDOM_SELECT_NEW)) {
  4. onkeljan

    Seperate Pricing Per Customer v3.5

    Sorry, i think i have some more typing to do here :) I obviously though that i was finished, but i wasnt :\
  5. onkeljan

    Seperate Pricing Per Customer v3.5

    I haven't editet login.php at all, couse its after the "BOF SECTION THAT IS OPTIONAL". Does this mean that i still need to go below that section?
  6. onkeljan

    Seperate Pricing Per Customer v3.5

    I feel a bit stupid now, but i have looked for several hours after what might be the problem, but cant figure it out. The contribution, seems to be successfully installed, and i have created a new group, and a product with an different price. I have also created a test account, but nothing seems to happen. The tax still displays, even if i disable it, and the price dont change. What could be the problem?
  7. The next problem now, is that the sub total doubles the price... anyone have a solution for that? this happens even with the coupon module disabled. i have tried to install the Optional combo fix (subtotals + table shipping) but that doesnt solve the problem... anyone please?
  8. i found it!!!! OPEN catalog/includes/database_tables.php ADD: //kgt - discount coupons define('TABLE_DISCOUNT_COUPONS', 'discount_coupons'); define('TABLE_DISCOUNT_COUPONS_TO_ORDERS', 'discount_coupons_to_orders'); define('TABLE_DISCOUNT_COUPONS_TO_CATEGORIES', 'discount_coupons_to_categories'); define('TABLE_DISCOUNT_COUPONS_TO_PRODUCTS', 'discount_coupons_to_products'); define('TABLE_DISCOUNT_COUPONS_TO_MANUFACTURERS', 'discount_coupons_to_manufacturers'); define('TABLE_DISCOUNT_COUPONS_TO_CUSTOMERS', 'discount_coupons_to_customers'); define('TABLE_DISCOUNT_COUPONS_TO_ZONES', 'discount_coupons_to_zones'); //end kgt - discount couponsOPEN catalog/includes/languages/english.php i forgot to add this! :) soooooo happy =)
  9. 1146 - Table 'elutstyr.TABLE_DISCOUNT_COUPONS' doesn't exist i have a feeling that "elutstyr." should be removed from that line. but i dont know where to remove it, what document.. can that be the problem?
  10. sorry, my version is 3.31
  11. the error is showing when the browser sends me to checkout_shipping.php
  12. no, while trying to enter a valid code in browser... i have not upgraded to 3.3 yet. i have v. 3.1
  13. 1146 - Table 'elutstyr.TABLE_DISCOUNT_COUPONS' doesn't exist SELECT dc.* FROM TABLE_DISCOUNT_COUPONS dc WHERE coupons_id = 'K6VLX80MTR' AND ( coupons_date_start <= CURDATE() OR coupons_date_start IS NULL ) AND ( coupons_date_end >= CURDATE() OR coupons_date_end IS NULL ) [TEP STOP] any suggestions? i have run the sql query...
  14. I need several documents to be attached to all order confirmation emails sent to customers, shouldt be much of a problem, but i dont know witch file to edit, og what to do, anyone?
×