Jump to content

mickeymouse

Members
  • Content count

    99
  • Joined

  • Last visited

Posts posted by mickeymouse


  1. First...all the tax rates in the table are incorrect. This contribution was designed to add the county tax from the contributions tax table to the state tax rate you have set in OSC. So you will have to go to your Locations/Tax Rate in OSC and set it for 4% for NYS (because NYS base tax rate is 4% then each county adds their own tax rate). Then, edit all the county taxes in this contribution's database file by subtracting 4%. (i.e. Tax rate for Allegany county should be set to 4.5% not 8.5% as was downloaded from the last updated sql file)

     

    Second...go to your Shipping module and make sure your shipping methods are set to the propper tax class (i.e. "Taxable Goods)

     

    Third...go to your Order Total Module and make sure that the sort order for taxes is set to a higher number than shipping and lower than total (i.e. Subtotal-1, Shipping-2, Tax-3, Total-4). By doing this your order is subtotaled first, then shipping is added, then tax is charged, then a final total.


  2. Jan and all,

     

    Found a typo in the new upload of 1.3.2a

    In catalog/includes/classes/shopping_cart.php

     

    find on line 298:

    $products_price = $pf->computePrice($qty, $no_of_other_items_in_cart_from_same_cat);

     

    and replace with:

    $products_price = $pf->computePrice($qty, $nof_other_items_in_cart_same_cat);

     

     

    This typo was causing the subtotal to calculate incorrectly in the shopping cart with using category discount quantities.

     

    Greg


  3. I thought the FS thing worked. But I am still getting an error. Do I need to change something in my paths on configure file?

     

    Warning: fopen(/home/*****/public_html/shop//shoprsscache/contrib_rss.html) [function.fopen]: failed to open stream: No such file or directory in /home/*****/public_html/shop/admin/includes/functions/contrib_tracker.php on line 23

     

    Change the name of your rsscache directory from shoprsscache to rsscache.


  4. ok...I've just confirmed that the edit problems are related to the way OSC 2.2 RC1 handles things. I just added another contribution called "Contribution Control and Bookmark" and it does the same thing. Inserting and deleting are fine. Editing the record doesn't work, it just deletes the information.


  5. lildog,

     

    I think changing all references of DIR_WS_CATALOG to DIR_FS_CATALOG would be the best solution. It's possible that altering the config file to change the path of WS_CATALOG may break other contributions. FS seems to be the cleanest.

     

    I'm having the same problem as sashaben with the edit function. Insertion and deletion are all well. Editing seems to wipe out the record in the database. I'm setting up 2.2 RC1. Your version 1.54 works well on an older snapshot. I've got v1.54 running on another store usisng 2.2 ms2 and all is well. I couldn't really see any differences in the code from v1.54 to v1.6 that would cause this to happen so I tend to believe that OSC 2.2 RC1 is handling some things differently that is breaking the database update. I've tried installing v1.54 on 2.2 RC1 and have the same editing problem. Unfortunately I know just enough about php to to get me into a lot of trouble so I'm not much help in fixing the problem.

     

    Thanks

    Greg


  6. Hi all,

     

    I was wondering what changes and which create account page I have to have to make customers create an account. I dont wish to use the option to create an account I want them to create one.

     

    Thanks

     

    Then you don't need this contribution. If you choose, you can install the combine payment & shipping aspect of the mod, but you won't need the rest of it. The main purpose of this mod was to allow customers to checkout w/o making an account. By default OSC forces the customers to create one.

     

    Greg


  7. Minor update:

    A slight addition to Expert's update. His new admin ability of turning the Star Product on or off is great however it called a configuration value that didn't exist.

     

    Run this sql command on your database:

    INSERT INTO `configuration` VALUES (768, 'Show Start Product', 'SHOW_STARPRODUCT', 'false', 'Show Star Product on Index Page', 1, 154, '2006-08-12 19:45:03', '2003-08-14 00:25:08', NULL, 'tep_cfg_select_option(array(''false'', ''true''),');

     

    Next...to get rid of the star product box on the index page when turned off in admin:

     

    Find these lines:

    <tr>

    <td><?php include(DIR_WS_MODULES . FILENAME_STAR_PRODUCT); ?></td>

    </tr>

     

    And replace with these:

    <?

    // STAR PRODUCT START...

    if (SHOW_STARPRODUCT=="true") {

    ?>

    <tr>

    <td><?php include(DIR_WS_MODULES . FILENAME_STAR_PRODUCT); ?></td>

    </tr>

     

    <?

    }

    // STAR PRODUCT END...

    ?>

     

    That's it...

    All credit goes to the original authors...I just updated it a touch.


  8. I'm having a small problem trying to integrate Fast Easy Checkout and STS together.

     

    The problem I'm having is that FEC calls a toggle_collapse javascript function. However the "collapse" aspect doesn't work. The form that's supposed to be collapsed is already expanded.

     

    Here's the particular area of code that defines the form and the toggle_collapse function call:

     

    <td height="35" class="infoboxheader" valign="middle"><?php echo LOGINBOX_EXSISTING_CUSTOMER_NOW ?><?php //echo tep_draw_checkbox_field('caccount', 'Y',$checked = false ,'id="togglenow"' ) . '  ' ; ?><input type="image" src="images/collapse_tcat.gif" name="row" value="1" onclick="return toggle_collapse('forumbit_2')"></td>

    </tr><TBODY id=collapseobj_forumbit_2>

    <td><p id="lorem2" >

    <table border="0" width="100%" height="100%" cellspacing="0" cellpadding="2">

    <tr class="infoBoxContents">

    <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?><?php echo tep_draw_form('login', tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL')); ?></td>

    </tr>

     

    <td colspan="2"><?php //echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

    </tr>

    <tr class="infoBoxContents">

    <td class="main"><b><?php echo ENTRY_EMAIL_ADDRESS; ?></b></td>

    <td class="main"><?php echo tep_draw_input_field('email_address'); ?></td>

    </tr>

    <tr class="infoBoxContents">

    <td class="main"><b><?php echo ENTRY_PASSWORD; ?></b></td>

    <td class="main"><?php echo tep_draw_password_field('password'); ?></td>

    </tr>

    <tr>

    <td colspan="2"><?php //echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

    </tr>

    <tr>

    <td align="right"><?php echo tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN); ?></P></td><td class="smallText" colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>'; ?></td>

     

    </table> </form></td><script>toggle_collapse('forumbit_2')</script>

    </tr> </TBODY>

     

    The toggle_collapse function is defined in globals.js. I've tried putting the js code in header.php, between the <head> tags in sts_template.html. I guess I'm at a loss as to what to do to get this to work.

     

    Can anybody point me in a direction??

    Many thanks to all and for a fab contribution!!


  9. Has anyone gotten STS and Fast Easy Checkout to play well together.

     

    The problem I'm having is that FEC calls a toggle_collapse javascript function. However the "collapse" aspect doesn't work. The form that's supposed to be collapsed is already expanded.

     

    Here's the particular area of code that defines the form and the toggle_collapse function call:

     

    <td height="35" class="infoboxheader" valign="middle"><?php echo LOGINBOX_EXSISTING_CUSTOMER_NOW ?><?php //echo tep_draw_checkbox_field('caccount', 'Y',$checked = false ,'id="togglenow"' ) . '  ' ; ?><input type="image" src="images/collapse_tcat.gif" name="row" value="1" onclick="return toggle_collapse('forumbit_2')"></td>

    </tr><TBODY id=collapseobj_forumbit_2>

    <td><p id="lorem2" >

    <table border="0" width="100%" height="100%" cellspacing="0" cellpadding="2">

    <tr class="infoBoxContents">

    <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?><?php echo tep_draw_form('login', tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL')); ?></td>

    </tr>

     

    <td colspan="2"><?php //echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

    </tr>

    <tr class="infoBoxContents">

    <td class="main"><b><?php echo ENTRY_EMAIL_ADDRESS; ?></b></td>

    <td class="main"><?php echo tep_draw_input_field('email_address'); ?></td>

    </tr>

    <tr class="infoBoxContents">

    <td class="main"><b><?php echo ENTRY_PASSWORD; ?></b></td>

    <td class="main"><?php echo tep_draw_password_field('password'); ?></td>

    </tr>

    <tr>

    <td colspan="2"><?php //echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

    </tr>

    <tr>

    <td align="right"><?php echo tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN); ?></P></td><td class="smallText" colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>'; ?></td>

     

    </table> </form></td><script>toggle_collapse('forumbit_2')</script>

    </tr> </TBODY>

     

    The toggle_collapse function is defined in globals.js. I've tried putting the js code in header.php, between the <head> tags in sts_template.html. I guess I'm at a loss as to what to do to get this to work.

     

    Any ideas or suggestions would be greatly appreciated!!


  10. Has anybody gotten this to play well w/ STS??

     

    I want to use the create account 3 file...all works well w/ STS disabled, however when I turn on STS...all the javascript functions don't work. (i.e....use javascript for login box....the login box is already open w/ STS) Any pointers would be greatly appreciated!!!!!!!!

     

    Thanks,

    Greg


  11. First I just want to give everyone involved w/ this contrib Kudos for all the work. Just finished installing this yesterday and I must say that it was a nice improvement over earlier versions. The older one was just a royal pain in the old poop shoot to install and use. V. 4.1 was just as sweet as silk to put in!!

     

    I've got a suggestion for all you php wizzards that shouldn't be hard to implement. Unfortunatelly, I know about as much about php as a brick.

     

    In the admin side where you tell sts what template you want to use...it would just be the poop to have that field become a drop down box w/ all your template names listed there..that way, you wouldn't have to try to remember what the name of your template is. It shouldn't be too terribly difficult to write up!

     

    Thanks again to everyone for all the wonderful work on this!!!


  12. Hi,

     

    I have now tried to include both SPPC and master products togehter without any luck.I tried what you explained here.

     

    But i get this error 1054 - Unknown column 'p.products_price1' in 'field list'

     

    select p.products_id, p.products_price1, p.products_price2, p.products_price3, p.products_price4, p.products_price5, p.products_price6, p.products_price7, p.products_price8, p.products_price1_qty, p.products_price2_qty, p.products_price3_qty, p.products_price4_qty, p.products_price5_qty, p.products_price6_qty, p.products_price7_qty, p.products_price8_qty, p.products_qty_blocks from products p where products_id = '2'

     

    And i dont now what i should do since the SPPC store the group prices in products_groups.

     

    Does anybody now what to do?

     

    Best regards

    -Thomas-

     

    Thomas,

     

    This is looking for the Quantity Price Break mod also. You'll need to install that mod and run the sql and this error should go away.

     

    Greg


  13. Actually, the order class gets its information from the shopping_cart class by calling the function get_products.php from that class. Check your version with the complete shopping_cart class below, especially get_products (starts around line 294).

     

    Well Jan...I've looked at this code for a couple of days now and just can't find the error. This class of mine is just soooo heavily modded that I can't seem to pinpoint the difficulty. <_<

     

    If you wouldn't mind taking a look at it I would be very grateful. I'd be more than happy to pay you for your services...just pm me and I'll send ya the file

     

    Thanks,

    Greg


  14. Greg,

     

    This seems to work for your "special" case:

     

    Jan....You are a god...thanks. The shopping cart is showing the correct pricing independent of the attributes...this is perfect...however..upon reaching the checkout confirmation screen, all the prices went to $0.00. Is there changes that need to be made in the order class..or did I just mess things up somewhere.

     

    I'm actually running a loaded system (Linda McGrath's SEC) so some of the changes aren't completely straight forward, so sometimes I change a stock install and then compare that to my modded install. I'm gonna triple check things again just to be sure I've got all my i's dotted and t's crossed, but we're definitely going down the track I desparetly need!!!

     

    Many, Many Thanks Again,

    Greg ;)

×