Jump to content

bloodshoteyes

Members
  • Content count

    327
  • Joined

  • Last visited

Everything posted by bloodshoteyes

  1. bloodshoteyes

    Error on index.php after install

    You had an extra line at the bottom of index.php. go to ?> place cursor outside, just like in front of the p in place here, and hit delete.
  2. bloodshoteyes

    Invalid Option

    Never mind wrong topic
  3. bloodshoteyes

    COUPON / VOUCHERS TAX ISSUE

    are you sure that coupons reduce your sales tax liability for the full purchase price amount. Most taxing authorities consider coupons as a promotional items which is in most cases a business income reducing expense and a business tax deductable like most cost of sales costs. Most authorites require the purchase be completely totalled and then the coupon deducted from the grand total. But allow it to be shown before the grand total on the invoice. Which on the invoice would fall Sub-total, Taxes, Shipping, Coupon then Grand total. The coupon amount having a minus sign in front of it. You might want to check with your taxing authority before committing
  4. bloodshoteyes

    Master Products - MS2

    Matt, Thanks for the changes, works very nice.. I did however take it one step further since everything shows up regardless of when it was added.. I took your code: if ( (!isset($new_products_category_id)) || ($new_products_category_id == '0') ) { $new_products_query = tep_db_query("select p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_new_products_price, p.products_price) as products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where products_status = '1' and p.products_master_status = '0' order by p.products_date_added desc limit " . MAX_DISPLAY_NEW_PRODUCTS); } else { $new_products_query = tep_db_query("select distinct p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_new_products_price, p.products_price) as products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and c.parent_id = '" . (int)$new_products_category_id . "' and p.products_status = '1' and p.products_master_status = '0' order by p.products_date_added desc limit " . MAX_DISPLAY_NEW_PRODUCTS); } and added: if ( (!isset($new_products_category_id)) || ($new_products_category_id == '0') ) { $new_products_query = tep_db_query("select p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_new_products_price, p.products_price) as products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where products_status = '1' and p.products_master_status = '0' and month(p.products_date_added) = month(now()) order by p.products_date_added desc limit " . MAX_DISPLAY_NEW_PRODUCTS); } else { $new_products_query = tep_db_query("select distinct p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_new_products_price, p.products_price) as products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and c.parent_id = '" . (int)$new_products_category_id . "' and p.products_status = '1' and p.products_master_status = '0' and month(p.products_date_added) = month(now()) order by p.products_date_added desc limit " . MAX_DISPLAY_NEW_PRODUCTS); } That limits the displayed products to those added in the current month.. Thanks again
  5. bloodshoteyes

    Master Products - MS2

    Can anyone help???? What would it take to add a check box to master products so you could turn on or off displaying in catalog/includes/modules/new_products.php. I suppose this is unclear. This is what I am trying to accomplish.. New Products for (month) box: No Catagories, No Master Products, just products and slave products... And Master products listed in Catagories Box...
  6. bloodshoteyes

    Master Products - MS2

    Thanks Matti
  7. bloodshoteyes

    Master Products - MS2

    I am not clear on this 'HIDDEN' thing. Will they or will they not show up when you choose the product_master???
  8. bloodshoteyes

    Master Products - MS2

    Matti, I need to make a Master_Product Like a catagorie with dozens of individual products under it. And I need it to show in the catagorie box in a tree. Is this possible????? Is it possible to only show master_products and not slaves in the New Products for February Box??? Thanks
  9. Recently installed Master Products which runs fine as does the other mods on my test site.. Except now I get these errors... Warning: SAFE MODE Restriction in effect. The script whose uid is 10098 is not allowed to access /tmp/sess_7eee5c2d4c75076dbd0877e03352e93e owned by uid 48 in /usr/local/psa/home/vhosts/XXXXXXXXXXXXXX.com/httpdocs/ecom/catalog/admin/whos_online.php on line 109 Warning: file("/tmp/sess_7eee5c2d4c75076dbd0877e03352e93e") - Success in /usr/local/psa/home/vhosts/XXXXXXXXXXXXXX.com/httpdocs/ecom/catalog/admin/whos_online.php on line 109 Warning: Bad arguments to implode() in /usr/local/psa/home/vhosts/XXXXXXXXXXXXXX.com/httpdocs/ecom/catalog/admin/whos_online.php on line 110 Can anyone help???????
  10. bloodshoteyes

    Newbie in trouble Unknown errors..... Help

    I think I know what I did. When I uploaded Master_Products I also uploaded two files named .htaccess. One into catalog and the other in admin. I'm running PHP 4.1.0. Can anyone tell me how to get rid of these two files??? Throught admin, no good, permissions need to be reset. Can't see the files from FTP Voyager, so I can't change permissions there. I need some help bad......
  11. bloodshoteyes

    Master Products - MS2

    Is there any way to get the Master Products to show up under catagories????? It seems if you put them under a catagory item the count shows up in the catagory box but not the Master Products or the slave products. And everything shows up in the Whats New for box.
  12. bloodshoteyes

    Master Products - MS2

    Christine, Everything in the box OSC runs off of the calender day of your system when you input the product master. Go into your db and change this date to one which goes back 90 days. it will not appear under new items but the slaves will. So if the slaves are the new designs, then everytime you enter one it will appear under new items. One thing to consider is the mod for Featured items, it might work better for you. You can turn them on and off. :D
  13. bloodshoteyes

    Multiple flat rate shipping contributions...

    One thing, how many items are we talking about???
  14. bloodshoteyes

    Master Products - MS2

    Help people... I don't know why thhe errors previously described are happening. I could really use some help. And maybe Matti could explain what numbers are supposed to be used in admin/configuration/slave products. It seems the questions are yes and no but we use numbers to answer?????????? :(
  15. bloodshoteyes

    Master Products - MS2

    Help, Help I can't find why this error keeps coming up now that I finsihed loading Master_Products. Can someone please help... Warning: SAFE MODE Restriction in effect. The script whose uid is 10098 is not allowed to access /tmp/sess_9a89054f68596d67b74347f73c87634c owned by uid 48 in XXXX/XXXXXXXXX/XXXX/XXXX/catalog/admin/whos_online.php on line 109 Warning: file("/tmp/sess_9a89054f68596d67b74347f73c87634c") - Success in /admin/whos_online.php on line 109 Warning: Bad arguments to implode() in /ecom/catalog/admin/whos_online.php on line 110 Please...
  16. bloodshoteyes

    Master Products - MS2

    Thanks Colin, I really appreciate the response. I'll just keep pluggin along.
  17. bloodshoteyes

    Buttons contribs

    buttons, gifs, jpegs, icons, og in catalog/images
  18. bloodshoteyes

    Master Products - MS2

    Matti, I know how busy you are, but have you ever documented the changes to each of the files. I have loaded you Master_Products before on a almost virgin oOSC MS2 and it worked great for me. But when I loaded USPS Methods on top of yours it totally blew up the test site with so many errors I couldn't eliminate all of them. Granted a total newbie mistake. I should have compared like files before doing that. My active site is up and running fine but it has the USPS contribution active with some small mods of mine. And I sure would like to get Master_Products up and running. What if any suggestions can you give that might help me get to that end. Thanks
  19. bloodshoteyes

    Database Set-up

    Go to wiki documentation and read new installation....
  20. bloodshoteyes

    USPSMethods 2.6

    I need help, I loaded Master Products into a amost clean OSC 2.2 MS2 and wow, it is just what I needed for some of my products. For me it eliminates attributes all together. Great mod... But.... I had installed USPS Methods 2.6 prior to Master Products and Bam.. As soon as I ran a test order The shipping numbers went kaflooy. So I took a close look at the USPS Methods .php file code and found two identical entries under the install section tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Tax Class', 'MODULE_SHIPPING_USPS_TAX_CLASS', '0', 'Use the following tax class on the shipping fee.', '6', '0', 'tep_get_tax_class_title', 'tep_cfg_pull_down_tax_classes(', now())"); And an extra field I had entered when I modified it to include insurance and other USPS fees for special circumstances. So I removed both. Saved it off site, unloaded USPS from within admin and ftp'd the corrected file up. I then clicked on install and it does. Then I tried to edit, and thats when I got the error message Undefined function tep_cfg_select_multioption() in modules.php 216 and something else XXXX()'d line 1. I can't remember what the four characters were. Anyway comparing the two after the cows have gotten out, it seems both make changes to catalog/admin/includes/functions/general.php and catalog/admin includes/modules.php. I found in general in USPS Methods defines the function tep_cfg_select_multioption() and that seemed to be the only difference. So I loaded a copy of the general.php file from Master Products in my PHP editor and pasted the USPS function in to it. Checked to make sure there wasn't any extra spaces or an extra line at the bottom, to avoid Parsing errors saved it and Ftp'd it up to overwrite the original general.php file supplied with Master Products. I open my browser to admin and I get the stock blue menu, but clicking on any selection only gets you a can't find file error. Open the front end of the cart fine except for a error line across the top of the screen saying install dict prsent in catalog it needs to be removed . What it looks like is a reload of original files and and a re configuration hopefully without touching the database. Then a file by file comparison of the two contributions tp make sure they are compatable. I use USPS Methods 2.6 with my mods and it runs flawlessly. I sure would like to incorporate Master Products with it. But I know I lack the experience and expertise and maybe the resources to compare like files accurately. Any suggestions or solutions would be most appreciated. Let me just say that I am sure my inexperience and the all nighter I pulled surely more than complicated the situation.
  21. bloodshoteyes

    Master Products - MS2

    I need help, I loaded Master Products into a amost clean OSC 2.2 MS2 and wow, it is just what I needed for some of my products. For me it eliminates attributes all together. Great mod... But.... I had installed USPS Methods 2.6 prior to Master Products and Bam.. As soon as I ran a test order The shipping numbers went kaflooy. So I took a close look at the USPS Methods .php file code and found two identical entries under the install section tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Tax Class', 'MODULE_SHIPPING_USPS_TAX_CLASS', '0', 'Use the following tax class on the shipping fee.', '6', '0', 'tep_get_tax_class_title', 'tep_cfg_pull_down_tax_classes(', now())"); And an extra field I had entered when I modified it to include insurance and other USPS fees for special circumstances. So I removed both. Saved it off site, unloaded USPS from within admin and ftp'd the corrected file up. I then clicked on install and it does. Then I tried to edit, and thats when I got the error message Undefined function tep_cfg_select_multioption() in modules.php 216 and something else XXXX()'d line 1. I can't remember what the four characters were. Anyway comparing the two after the cows have gotten out, it seems both make changes to catalog/admin/includes/functions/general.php and catalog/admin includes/modules.php. I found in general in USPS Methods defines the function tep_cfg_select_multioption() and that seemed to be the only difference. So I loaded a copy of the general.php file from Master Products in my PHP editor and pasted the USPS function in to it. Checked to make sure there wasn't any extra spaces or an extra line at the bottom, to avoid Parsing errors saved it and Ftp'd it up to overwrite the original general.php file supplied with Master Products. I open my browser to admin and I get the stock blue menu, but clicking on any selection only gets you a can't find file error. Open the front end of the cart fine except for a error line across the top of the screen saying install dict prsent in catalog it needs to be removed . What it looks like is a reload of original files and and a re configuration hopefully without touching the database. Then a file by file comparison of the two contributions tp make sure they are compatable. I use USPS Methods 2.6 with my mods and it runs flawlessly. I sure would like to incorporate Master Products with it. But I know I lack the experience and expertise and maybe the resources to compare like files accurately. Any suggestions or solutions would be most appreciated. Let me just say that I am sure my inexperience and the all nighter I pulled surely more than complicated the situation.
×