Jump to content

eyekandee

Members
  • Content count

    106
  • Joined

  • Last visited

2 Followers

Profile Information

  1. eyekandee

    [Contribution] - USPS Methods

    I wanted to offer free shipping on my site for orders over $99 and still offer express postal service, if the customer wished to have faster delivery. I could not find anything that would set Parcel Post to 0 if the order was equal to or over $99 and still display the other shipping options. Took a second look at the code and made this change to offer Parcel Post free with orders over $99. case 'Parcel Post': $time = ereg('<Days>(.*)</Days>', $transresp[$service], $tregs); $time = $tregs[1]; if ($time == '' || $time == 'No Data') { $time = MODULE_SHIPPING_USPS_TEXT_ESTIMATED . ' 2 - 9 ' . MODULE_SHIPPING_USPS_TEXT_DAYS; } elseif ($time == '1') { $time .= ' ' . MODULE_SHIPPING_USPS_TEXT_DAY; } else { $time .= ' ' . MODULE_SHIPPING_USPS_TEXT_DAYS; } if ($order->info['subtotal'] >= 99) { $postage = 0; } else { $postage = $postage + $this->handling[5]; } break; This might be useful to someone else. Cheers
  2. eyekandee

    [Contribution] SEO-G

    Hi Misantropo, I had a similar problem. I just removed the review pages from being created by SEO-G. You can do this by excluding the product_review_info.php in the G-EXCLUDE database. ...... On another note I had problems with this contribution and the PayPal_Shopping_Cart_IPN contribution. You need to declare the seo class in the IPN's application_top_inc.php, the same way you do in the catalog application_top.php. Cheers
  3. eyekandee

    [contribution] Super Download Store

    The Purchase Without Account contribution will work
  4. eyekandee

    [Contribution] SEO-G

    I got the artists listing to redirect. I had some code in the application top that was affecting the redirect. Now I got the .html prefix removed everything works, except none of the images are showing up. Is there a solution to this. cheers
  5. eyekandee

    [Contribution] SEO-G

    I'm running my site with custom manufacturer listings. I have an artist listing and a record label listing, both are being converted by the contribution and in the report all the links are right. However when you click on the artist link, instead of going to the artist page. It just loads the normal index page. Also is there a way to list the links without the .html as the url prefix. thanks for any help. here is the link to our test site http://testingsite.ntactrecords.com thanks alex
  6. eyekandee

    Supplier Admin Area Contribution

    I noticed that the sales satistic page was showing all sales even when you were viewing passed months. It could become confusing to some when that are viewing ever month and the totals look the same. I changed some of the code on the sales statistic page so it would only show sales for just that month Find this code <?php $start_year = 2000; $start_month = '1'; $end_year = date(Y) + 1; $end_month = '1'; $order = " AND TO_DAYS(date_purchased) >= TO_DAYS('" . $start_year . "-" . $start_month . "-01') AND TO_DAYS(o.date_purchased) <= TO_DAYS('" . $end_year . "-" . $end_month . "-01') -1"; $order1 = " AND TO_DAYS(date_purchased) >= TO_DAYS('" . $start_year . "-" . $start_month . "-01') AND TO_DAYS(o.date_purchased) <= TO_DAYS('" . $end_year . "-" . $end_month . "-01') -1"; switch($HTTP_GET_VARS['type']){ case 'daily': $start_year = $HTTP_GET_VARS['year']; $start_month = $HTTP_GET_VARS['month']; $end_year = $HTTP_GET_VARS['year']; $end_month = $HTTP_GET_VARS['month'] + 1; if ($end_month == '13') {$end_month = '1'; $end_year = $end_year +1;} $order = " AND TO_DAYS(date_purchased) >= TO_DAYS('" . $start_year . "-" . $start_month . "-01') AND TO_DAYS(o.date_purchased) <= TO_DAYS('" . $end_year . "-" . $end_month . "-01') -1"; $order1 = " AND TO_DAYS(date_purchased) >= TO_DAYS('" . $start_year . "-" . $start_month . "-01') AND TO_DAYS(o.date_purchased) <= TO_DAYS('" . $end_year . "-" . $end_month . "-01' -1) "; break; case 'monthly': $start_year = $HTTP_GET_VARS['year']; $start_month = '01'; $end_year = $HTTP_GET_VARS['year'] + 1; $end_month = '01'; $order = " AND TO_DAYS(date_purchased) >= TO_DAYS('" . $start_year . "-" . $start_month . "-01') AND TO_DAYS(o.date_purchased) <= TO_DAYS('" . $end_year . "-" . $end_month . "-01') - 1"; $order1 = " AND TO_DAYS(date_purchased) >= TO_DAYS('" . $start_year . "-" . $start_month . "-01') AND TO_DAYS(o.date_purchased) <= TO_DAYS('" . $end_year . "-" . $end_month . "-01') - 1 "; break; default: // $order = " AND TO_DAYS(date_purchased)"; break; } ?> Change it to this code <?php $start_year = 2008; $start_month = '1'; $end_year = date(Y) + 1; $end_month = '1'; $from_date = date("Y-m-d", mktime(0,0,0,$start_month ,1,$start_year)); $to_date = date("Y-m-d", mktime(0,0,0,$end_month ,0,$end_year)); $order = " and o.date_purchased >= '" . $from_date . "' and o.date_purchased <= '" . $to_date . "'"; switch($HTTP_GET_VARS['type']){ case 'daily': $start_year = $HTTP_GET_VARS['year']; $start_month = $HTTP_GET_VARS['month']; $end_year = $HTTP_GET_VARS['year']; $end_month = $HTTP_GET_VARS['month'] + 1; if ($end_month == '13') {$end_month = '1'; $end_year = $end_year +1;} $from_date = date("Y-m-d", mktime(0,0,0,$start_month ,1,$start_year)); $to_date = date("Y-m-d", mktime(0,0,0,$end_month ,0,$end_year)); $order = " and o.date_purchased >= '" . $from_date . "' and o.date_purchased <= '" . $to_date . "'"; break; case 'monthly': $start_year = $HTTP_GET_VARS['year']; $start_month = '01'; $end_year = $HTTP_GET_VARS['year'] + 1; $end_month = '01'; $from_date = date("Y-m-d", mktime(0,0,0,$start_month ,1,$start_year)); $to_date = date("Y-m-d", mktime(0,0,0,$end_month ,0,$end_year)); $order = " and o.date_purchased >= '" . $from_date . "' and o.date_purchased <= '" . $to_date . "'"; break; default: // $order = " AND TO_DAYS(date_purchased)"; break; } ?> Find this code while ($products = tep_db_fetch_array($products_query)) { $products_id = $products['products_id']; $orders_products_query = tep_db_query("select products_price, final_price from " . TABLE_ORDERS_PRODUCTS . " where products_id = '" . $products_id . "'"); $products_purchased = tep_db_num_rows($orders_products_query); $final_price = 0; Change it to this code while ($products = tep_db_fetch_array($products_query)) { $products_id = $products['products_id']; $orders_products_query = tep_db_query("select op.products_price, op.final_price, o.date_purchased from " . TABLE_ORDERS . " o, " . TABLE_ORDERS_PRODUCTS . " op where op.products_id = '" . $products_id . "'" . $order . " and op.orders_id = o.orders_id"); $products_purchased = tep_db_num_rows($orders_products_query); $final_price = 0; Cheers
  7. eyekandee

    streamline checkout?

    Hey digilee, Are you still looking for the checkout code? If so install the Fast and Easy Checkout and I will send you the changes I made to make it work after. Cheers
  8. eyekandee

    streamline checkout?

    I got mine down to three pages. Including automatic account creation/login, shipping/payment/coupon and confirmation. I just modified the fast checkout contribution to handle it.
  9. eyekandee

    osPlayer v2

    The FLA is available on the contribution page, if I'm not mistaken its in the Spanish version.
  10. eyekandee

    Paypal Order Total

    FIX Problem Currency set to CAN, should be set to CAD
  11. eyekandee

    fast easy checkout

    I can send you my create_account page so you can see how I did what you are looking for.
  12. eyekandee

    osPlayer v2

    I was having the same sound problem on my catalog page. Here is my fix Find this line in your configure.php // osCPlayer v2 player start define('DIR_FS_CATALOG_MP3', DIR_FS_CATALOG . '/data/mp3/'); define('DIR_WS_CATALOG_MP3', DIR_WS_CATALOG . '/data/mp3/'); // osCPlayer v2 player end and replace with // osCPlayer v2 player start define('DIR_FS_CATALOG_MP3', DIR_FS_CATALOG . '/data/mp3/'); define('DIR_WS_CATALOG_MP3', '/data/mp3/'); // osCPlayer v2 player end hope this helps Peace
  13. eyekandee

    PDF Invoice

    Hi bobg7, I just installed this mod and spent today editting it to look the way I wanted. I also needed the attributes on my invoices. If you still haven't got yours working yet, you are more then welcome to use mine. Here a screen shot Anyone else that would like to use my invoice layout feel free to email me at webmaster@eyekandeeapparel.com
  14. eyekandee

    Multi-Stores Multiple Shops Support

    Hey Everyone, I added the x-sell option to my websites and edited it to work with mutli-stores. If any one wants the coding for it I can send it to them. Eye Kandee Apparel webmaster@eyekandeeapparel.com
  15. eyekandee

    Paypal Order Total

    Got a little problem. The order totals are not being passed to paypal when the customer clicks on confirm order. However if the customer cancel the transaction and then goes into thier order details and clicks on confrim order on the order history screen it passes a negitive value to paypal equal to the cost of the shipping. All the other infomation is bieng passed like email address, item totals, item name, shipping addres, etc. Just the order total is not passing right. After checking the board for days I could not find any resolution to the problem. Some of the Mods I have on my store include: Canada Post shipping OSC Affiliate CCGV / Coupon Reward Points If anyone knows why the total is not passing, Please let me know. Thank You Alex Roche http://www.eyekandeeapparel.com
×