Latest News: (loading..)

Omar_one

Members
  • Content count

    157
  • Joined

  • Last visited

  • Days Won

    5

Omar_one last won the day on June 19

Omar_one had the most liked content!

4 Followers

About Omar_one

Profile Information

  • Real Name
    Omar Masheh
  • Gender
    Male
  • Location
    Finland

Recent Profile Visitors

3,101 profile views
  1. @Dennisra the Specials Ribbon it is not request change in that line ... the out of stock Ribbon need to change in that line. Are you sure that you are talking about Specials Ribbon? Omar
  2. @Jeep_ice sometime ago @burt share some code on the forum to do this . I don't know the topic, but here the copied code: in /includes/functions/html_output.php Find: if ( isset($params['params']) ) { $button .= ' ' . $params['params']; } add after it if (isset($params['product_id']) ) { $products_quantity_query = tep_db_query("select products_quantity from products where products_id = " . (int)$params['product_id']); $products_quantity = tep_db_fetch_array($products_quantity_query); if ($products_quantity['products_quantity'] < 1) { $button .= ' disabled="disabled" '; $title = 'Out Of Stock'; $icon = 'fa fa-times-circle'; $style = 'btn-warning'; } } in product_info.php find this tep_draw_button(IMAGE_BUTTON_IN_CART, 'fa fa-shopping-cart', null, 'primary', NULL, 'btn-success') replace with this tep_draw_button(IMAGE_BUTTON_IN_CART, 'fa fa-shopping-cart', null, 'primary', array('product_id' => $product_info['products_id']), 'btn-success') Omar
  3. @sunshynecraftsbeads Here is your product_listing.php file after I added the ribbons (out of stock and specials ribbon).. backup your product_listing.php before you copy this file. Omar product_listing.php
  4. to move the ribbon to left try to change in the ribbon css in (user.css) find this .ribbon { position: absolute; right: -5px; top: -5px; z-index: 1; overflow: hidden; width: 75px; height: 75px; text-align: right; } try to change this line (right:-5px;top:-5px;) to something like this ( right: 10px; top: -5px;) Omar
  5. @sunshynecraftsbeads You are using the responsive version the Gold one. For out of stock ribbons try this find $prod_list_contents .= ' <div class="col-xs-6 text-right">' . tep_draw_button(IMAGE_BUTTON_BUY_NOW, 'fa fa-shopping-cart', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']), NULL, NULL, 'btn-success btn-sm') . '</div>'; replace with if ( tep_get_products_stock($listing['products_id']) > 0 ) { $prod_list_contents .= ' <div class="col-xs-6 text-right">' . tep_draw_button(IMAGE_BUTTON_BUY_NOW, 'cart', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']), NULL, NULL, 'btn-success btn-sm') . '</div>'; } else { $prod_list_contents .= ' <div class="ribbon red"><span> '. TABLE_HEADING_OUT_OF_STOCK . '</span></div>'; } and for specials ribbon try find this $prod_list_contents .= ' <div class="col-xs-6"><div class="btn-group" role="group"><button type="button" class="btn btn-default"><del>' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</del></span> <span class="productSpecialPrice">' . $currencies->display_price($listing['specials_new_products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</button></div></div>'; replace with $prod_list_contents .= ' <div class="ribbon blue"><span> ' .TABLE_HEADING_SPECIAL_RIBBONS.'</span></div><div class="col-xs-6"><div class="btn-group" role="group"><button type="button" class="btn btn-default"><del>' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</del></span> <span class="productSpecialPrice">' . $currencies->display_price($listing['specials_new_products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</button></div></div>'; Let me know if it will work please . BR Omar
  6. @sunshynecraftsbeads Can you post you product_listing.php code here Omar
  7. @valquiria23 there is no difference, the change what mention from the last Edge version. you can change the code what you find it. BR Omar
  8. New update Now the ribbons (Out of stock Ribbon and Specials Ribbon) will work with multi language shop. BR Omar
  9. @sunshynecraftsbeads are you using the Responsive version? you can post the product_listing.php here or PM it to me BR Omar
  10. @valquiria23 here it is Out of Stock Ribbon For OsC2.3.4/BS BR Omar
  11. Hi Mike, sorry it was not that link where I have been downloaded from.. I download the whole the osc 2.3 from GitHub https://github.com/tgely/osCommerce-234-bootstrap/tree/cleaned_email_templates and the HTML Emails included there. So I compare my files with the files from the downloaded one.. you can see which file have edited last on GitHub..what you need it is type ( Email Templates and Email Modules) beside the file .. you need to check all the folder then compare all the files what have been edited with your file. If you want just the HTML Emails package pm me your email and I will send it to you. You need to compare them them with your files Sorry about my bad English. It is not my mother language. Omar
  12. Hello Mikepo. I have it working with bs Edge,You can download it from here HTML Emails . I download it from there and compare it with my files(some files like password_forgotten.php, tell_a_friend.php,contact_us.php,etc.. ) I don't remember all the file which need to edit , and you can try to install it BS-Gold. If you want just the HTML Emails package, pm me your email. and I will send it to your email and you can compare it with your files. BR Omar
  13. @@Dan Cole I have add different ribbons for Free Shipping Per Product for v2.3 addon , new products and out of stock ...I will look for the code. Omar
  14. Back Back Button v1(Bootstrap) A quick and easy way to add a back button to your product info page -updated for content modules(Modular Product Page - Bootstrap) http://addons.oscommerce.com/info/9566 BR Omar
  15. :wacko: still not working .. thank you @@Tsimi for your time