Jump to content

JangoF

Members
  • Content count

    239
  • Joined

  • Last visited

Everything posted by JangoF

  1. JangoF

    Featured 1.5

    Anyone? I am using Featured Products 1.5.9, but cannot limit the queries for some reason. Adding limit doesn't seem to do much.
  2. I am using the file that came with 3.0. However, when I click on ANY info to bring up the edit/delete/etc buttons, it does not appear. Any help? EDIT: This does not happen on page 1, but all the other pages... When I click on any product on any other page than one, it brings the product permanently to the first page it seems. What gives?
  3. JangoF

    Featured 1.5

    Hi, I was wondering if anybody can please help me? I want to make it so that when I create a new Featured Product, only the last 500 products are listed in the drop-down. I have tried using limit in just about every query there is, but I just can't get it working. Can anyone help?
  4. JangoF

    multi orders updates annoucement

    hey angel, This sound like a very promising contribution! I will be sure to test it and leave feedback here in early January (going on christmas vacation).
  5. JangoF

    Featured Product Support v1.5.4

    Hi all, I'm using Featured Product 1.5.9, but I noticed a little problem. When I click on "New Product", the drop-down list that occurs also contains products that have been deactived. How can I fix it so that only the activated products appears in the list (ie. the ones with status = 1)?
  6. I figured out where to put the mail (in the same section as // this record was missing the product_model). However, I am still wondering how I can print out a list of the newly added products in the mail (products_name)?
  7. JangoF

    [contribution] "osC_GiftWrap_v1.0"

    1. Copy-paste includes\modules\giftwrap\giftwrap.php and name it gift2.php 2. Open up and edit, and make the following changes: class giftwrap -> class gift2 function giftwrap -> function gift2 $this->code = 'giftwrap'; -> $this->code = 'gift2'; Search and replace (Match Case) GIFT_ with GIFT2_ (17 occurences) 3. Copy-paste includes\languages\english\modules\giftwrap\giftwrap.php and name it gift2.php Search and replace (Match Case) GIFT_ with GIFT2_ (3 occurences) Rename text to something suitable Also wondering how you make No Giftwrap selected by default? For me, No Giftwrap shows up on top (sort order 1, the other 2), however it is not selected by default.
  8. Hey surfalot, or anyone who might know: At the same time when importing products into the store, I would like a new product notification email to be sent out to some people. Now the code for the mail itself I have nailed down, but I am not sure about the right place to put the code in Easy Populate? Also wondering what kind of variable, if any, or code, I could use to print out a list of the newly added products in this mail? Thanks in advance for any help :)
  9. JangoF

    fast easy checkout

    Well I think I found a good solution. I use this to print the selected currency of the customer, because I force the checkout in certain currencies: In application.top.php, find: // navigation history Add before: if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { if ($currency == 'USD') { $local_currency = 'USD'; tep_draw_hidden_field('local_currency', $local_currency); } elseif ($currency == 'EUR') { $local_currency = 'EUR'; tep_draw_hidden_field('local_currency', $local_currency); } elseif ($currency == 'GBP') { $local_currency = 'GBP'; tep_draw_hidden_field('local_currency', $local_currency); } elseif ($currency == 'CAD') { $local_currency = 'CAD'; tep_draw_hidden_field('local_currency', $local_currency); } elseif ($currency == 'AUD') { $local_currency = 'AUD'; tep_draw_hidden_field('local_currency', $local_currency); } } Now you can use this variable to whatever you wish on the checkout pages.
  10. JangoF

    fast easy checkout

    Just a quick question: How would I go about catching a simple variable that I set at checkout_shipping.php, and pass it on to checkout_confirmation.php so I can print it there? Thanks in advance. :)
  11. JangoF

    [Contribution] Auction Module

    @dimitryous: Check my post at the top of page 8, I have almost all bugs listed. ;)
  12. JangoF

    fast easy checkout

    Is support for this contribution dead by the way, or is everyone on vacation? I would be very grateful if someone helped me with getting the currency to work.
  13. JangoF

    [Contribution] Auction Module

    Could you please keep discussions about testing your site in a PM? Thanks.
  14. JangoF

    fast easy checkout

    There are standard installations instructions in the FEC 3.2 (not quicker install) for installing it manually.
  15. JangoF

    This contribution is not mature

    The Auction contribution.
  16. JangoF

    fast easy checkout

    Does anyone know how to properly do the currency as I mentioned above?
  17. JangoF

    fast easy checkout

    Just to add to my own post (why can't I edit it?): My question about seelily.com being clean and tidy was actually related to the javascript functionality of the radiobuttons, as well as the blue line that is used. I have fixed that now, however I still have a problem concerning the currency. I am also trying to get the Shipping Insurance contribution to work with this. But for some reason it does not register that I checked the button on the Confirmation page. I did a little searching, and one guy said he fixed it by catching the post var and setting a session variable there. Does anyone know how that can be done?
  18. JangoF

    fast easy checkout

    Apologies if this has been asked before, but I couldn't find anything when searching. I am wondering about two things. I have installed FEC 3.2 on my test-site (about to move it over to the live one in not long), and I currently use two payment methods: paypal and credit card (both use external payment processing pages/gateways). But due to circumstances with my CC gateway, I need to enforce the payment to be in certain currencies for depending on what the customer selects. So I have put this code after tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); in checkout_confirmation.php: if ($HTTP_POST_VARS['payment'] = 'bbva_ZhenIT') { $currency = 'EUR'; } elseif ($HTTP_POST_VARS['payment'] = 'paypal') { $currency = 'USD'; } However, when I use this code, the payment method is changed to CC (bbva...) even though if I selected Paypal. Does anyone know what is causing this? Also I checked out the Checkout at http://seelily.com/, and the are really clean and tidy compared to what I see on my page. Any tips of how to fix this up? This is a great contribution, hope to get some help regarding these short questions. :)
  19. JangoF

    [Contribution] Auction Module

    Excellent work Marcus ;)
  20. JangoF

    [Contribution] Auction Module

    @dimitryous: Insert this into filenames.php in admin\includes define('FILENAME_ORDERS_EDIT', 'edit_orders.php');
  21. JangoF

    [Contribution] Auction Module

    Sorry dimitryous, I forgot to post it here. <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2007 osCommerce Released under the GNU General Public License */ ?> <!-- latest_auction //--> <tr> <td> <?php $auctions_query_box = "select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, a.auctions_starting_price, a.expires_date from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_AUCTIONS_PRODUCTS . " a where p.products_status = '1' and a.products_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and a.status = '1' order by expires_date DESC LIMIT 1"; $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_AUCTON_LATEST); new infoBoxHeading($info_box_contents, false, false); $auctions_query = tep_db_query($auctions_query_box); while ($auctions = tep_db_fetch_array($auctions_query)) { $info_box_contents = array(); $info_box_contents[] = array('text' => '<div align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $auctions['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $auctions['products_image'], $auctions['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $auctions['products_id']) . '">' . $auctions['products_name'] . '</a><br>' .$currencies->display_price($auctions['auctions_starting_price'], tep_get_tax_rate($auctions['products_tax_class_id'])) . '<br><br><a href="auctions.php"><b>View All Auctions</a></b></div>'); } new infoBox($info_box_contents); ?> </td> </tr> <!-- latest_auction //-->
  22. JangoF

    [Contribution] Auction Module

    I would advise against it, as currently there are several people working on the next version of this contribution. Now there is no particular release date for it, as the fix/todo-list is rather extensive as you can see from my post (not a complete list either), but hopefully it will be done in due time.
  23. JangoF

    [Contribution] Auction Module

    I hadn't thought of that. This is perhaps another problem that needs addressing, the fact that the buy-it-now button is still visible and usable on all the other pages where the products are listed. I haven't tested it, but I think a simple check like on the product_info page should be enough to fix it: if ($auction_product) { //product is an auction, do nothing } else { //regular product, print the buy-it-now button <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?> } Or reverse it: if (!$auction_product) { <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?> } else { } Find all instances of where you need this done, and replace it with the above.
×