Jump to content

juniorprg

Members
  • Content count

    370
  • Joined

  • Last visited

1 Follower

About juniorprg

  • Birthday 05/26/1979

Profile Information

  • Real Name
    Sarath
  • Location
    Canada
  • Website
  1. hi, i tried to use this contribution but nothing is happening still showing cpath= ,, in navigation bar, can you please help me how i can see there my categories name,, i am new to OSc and also dont know much of programming,

    please help me out,

    \thanks

    Zegar

    http://addons.oscommerce.com/info/4354

  2. juniorprg

    Product Description 1.3

    hi alex, like shown in the image, is it showing 2 times the prod description... iam not sure if we are using the same product description contribution... this is my file says about adding prod description in the product listing file ####[ OPEN ]################################################################## catalog /includes/modules/product_listing.php ####[ FIND, 85 ]########################################################### $cur_row = sizeof($list_box_contents) - 1; ####[ ADD AFTER ]############################################################# $has_description = false; ####[ FIND, 100 ]######################################################### $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a> '; } ####[ ADD AFTER ]############################################################# if (PRODUCT_LIST_DESCRIPTION && $listing['products_description'] && PRODUCT_LIST_DESCRIPTION_MAX_LENGTH) $lc_text .= '<br><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td class="productDesc">' . tep_flatten_product_description($listing['products_description'], ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing['products_id']) . '">' . TEXT_MORE . '</a>') . '</td></tr></table>';
  3. juniorprg

    fast easy checkout

    I m not able to go pass the checkout page, with CCGV installed, it seems when i enable echo $order_total_modules->credit_selection(); the payment selection radio buttons are not properly selected and in internet explorer i get error at the here document.checkout_payment.shipping.0 and also when i hit the continue button to proceed to checkout confirmation, it doesnt respond.... but if i remove echo $order_total_modules->credit_selection(); this then everything goes back to normal pleass help
  4. juniorprg

    fast easy checkout

    hello ronnie, were you able to fix error with regards to ccgv, can you please copy your checkout_shipping.php
  5. juniorprg

    [contribution] CustomerDiscount

    If you are using sub totals to be shown in catalog/shopping_cart.php and if your using advaced cartbox v2 contribution this mod will show the discounted price This will show the appropriate SUB TOTALS in the shopping_cart.php and if your using the Advanced Cartbox Version 2 contribution catalog/includes/classes/shopping_cart.php Search for function calculate() Add the following line just above : $products_price = $product['products_price']); ---------------------------------------------------------------- //CustomerDiscount start global $customer_id; $query = tep_db_query("select customers_discount from " . TABLE_CUSTOMERS . " where customers_id = '" . $customer_id . "'"); $query_result = tep_db_fetch_array($query); $customer_discount = $query_result['customers_discount']; if (strstr($customer_discount, "+") != null) { $product['products_price'] = $product['products_price'] + $product['products_price'] * abs($customer_discount) / 100; } else { $product['products_price'] = $product['products_price'] - $product['products_price'] * abs($customer_discount) / 100; } //CustomerDiscount end --------------------------------------------------------------------- The following changes will show the proper discounted price in the Advanced Cartbox Version 2. Contribution Search for $products_form Change $currencies->display_price($products[$i]['final_price']) TO $currencies->display_price_nodiscount(($products[$i]['final_price'])
  6. juniorprg

    Index Ads - Banners in body_text

    I dont remeber if this problem occured to me after i made some changes in my project or not... But i feel putting product id is much better than providing the product url... If you feel my way is good, i would suggest to make the changes...If you need any help , please let me know thanks for your appreciation
  7. juniorprg

    Index Ads - Banners in body_text

    Ok i fixed this one too with a small alteration... in modules/index_ads.php change to this: //Put the banner string in the array position $info_box_contents[$row][$col] = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $banner['banners_url']) . '">' . tep_image(DIR_WS_IMAGES . $banner['banners_image'], $banner['banners_title']) . '</a>'; .............................. basically what i did was refer to products_id instead of banner url... so in the admin/banner manager, instead of putting the url, just insert the product id... i feel this is much better..
  8. juniorprg

    Index Ads - Banners in body_text

    is there anyone who can help me pls
  9. juniorprg

    Index Ads - Banners in body_text

    Im facing a problem with this contribution, after adding some items into shopping cart and then click on this banner, it empties everything in the cart, i think its not keeping the session intact, can anyone help me how to solve this.. thank you
  10. juniorprg

    Product Description 1.3

    code looks fine to me, exactly like mine, add or rearrange the bracekets could work, may be in ur page there is one extra or short of one Paratheses. check that out
  11. juniorprg

    Product Description 1.3

    Please anyone to help me out ...thanks
  12. Hello, I'm looking for a osc/php developer to create the following mod's. Reasonable payment can be made towards these developments. I'm posting this here because we are all fanatic about OSC and any further development will help this community grow further the story goes like this: when a customer clicks on create a new account, he goes to a page where he enters the postal code, which is referenced to a table in database which holds the list of postal codes that are valid. if they are not valid sorry no registration and if they are proceed to next step in registration which is, they are asked if they are home or office user... if home user then basic registration details, same as what osc has if office they little more fields extras third at checkout... they have to pick a date, from a week, they are displayed (just a week not a months calendar) this should respect any weekend and statutory holidays then they pick a time , if a home user then they can pick time between 9-2 and 2-5 if office user then 9am-5pm thats it...if anyones willing to help, please send a PM...cheers
  13. juniorprg

    Product Description 1.3

    I have installed Product Description V1.5 and its works fine, im using the oscommerce with SPPC. Now i want to show the description in the shopping_cart.php too I have made the necessary changes in classes\shopping_cart.php as follows: --------------------------------------- $products_query = tep_db_query("select p.products_id, pd.products_name, p.products_model, pd.products_description, p.products_image, p.products_price, p.products_weight, p.products_tax_class_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$products_id . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); and here 'image' => $products['products_image'], 'description' => $products_description['products_description'], 'price' => $products_price, 'quantity' => $this->contents[$products_id]['qty'], -------------------------------------------- Now in catalog/shopping_cart.php i have made the following changes: ' <td class="productListing-data" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><b>' . $products[$i]['name'] . '</b></a></td>' . ' <td class="productListing-data" valign="top">' . tep_flatten_product_description($products['description'], '<br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">' . TEXT_MORE . '</a>') . '</td></tr>'; I thought this was enough to work but it displays only more>>>> the (' . TEXT_MORE . ') part Can someone help me fix this..i know im so close. thanks
  14. juniorprg

    Order Re-Order Contribution Support

    If you are using this contribution along with the Scrambled Order Number v 1.5 then you will have to make a minor change in the account_history_info.php Replace 'order_id=' . $_GET['order_id'] With : 'order_id=' . derandomise_order_num ($_GET['order_id']) echo tep_draw_form('order_reorder', tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . derandomise_order_num ($_GET['order_id']) . '&action=reorder')); echo '<td valign="middle" align="center">' . tep_image_submit('button_order_this_again.gif', 'Re-Order','','update_button') . '</td>'; echo '</form>';
  15. juniorprg

    Product Listing in Columns v2.0

    Hey all I finally fixed it, its posted in the contribution section: http://www.oscommerce.com/community/contri...ns/search,39650 Support Forum at : http://forums.oscommerce.com/index.php?showtopic=213179 This contribution is a hack from djmonkeys Product Listing Multi Col v2.1 All the coding and contributions belong to the respective contributers.
×