Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

  • Days Won


Omar_one last won the day on January 8

Omar_one had the most liked content!


About Omar_one

Profile Information

  • Real Name
    Omar Masheh
  • Gender
  • Location

Recent Profile Visitors

2,911 profile views
  1. Hi Mike, sorry it was not that link where I have been downloaded from.. I download the whole the osc 2.3 from GitHub 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
  2. 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
  3. @@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
  4. 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) BR Omar
  5. :wacko: still not working .. thank you @@Tsimi for your time
  6. @@Tsimi I have been clear the cache. and tested by pc and mobile same thing Omar
  7. @@Tsimi Thank you this was fix it on chrome not on Firefox Omar
  8. Hello I have issue with discount field it is show that the discount code not right ... checked the discount code via admin and its right Omar
  9. Hello, @@joe122joe did you found out how to fix it? I Would like to use this addon with Discount Codes BS, Omar
  10. @@MrPhil Thank you Sorry to be not clear with my post,, maybe it was not good idea to do anything when I have strong flu :x :wacko: and been one year older then last night -_- ...... BR Omar
  11. @@MrPhil any idea what case the issue, or what I should do to move it live without lose accumulated SE ranking and customer's bookmarks go bad?? BR Omar
  12. @@MrPhil Thank you for you reply the osc 2.32 bs edge was on test (sub-folder) .. and in the root was the live shop osc 2.2, so what i was doing it just go live with osc 2.3 bs edge .. this was why I trying to move it to the root ,
  13. Hello everyone, I am trying to move the shop from sub-folder, and it working well, I have been modifying the configure.php files and .htaccess file, after a few hours, I got blank page (just the catalog the admin weork well) with some errors about the duplicate configuration keys, so I checked the use phpmyadmin to found out these duplicate configuration keys and uninstall it, After that I got just blank page without errors, and if I move it back to sub-folder work well . beside that i haven't got this errors when the shop in sub-folder... Did I miss something. I am using osc 2.3 bs Edge Thank your for any help Omar
  14. @@frankl I made some editing and now it will show products image on the products list when you search for product. product.php <?php // product.php include("includes/db.php"); include("includes/functions.php"); include("includes/session.php"); LoadLangFiles($lang); // check if valid login session, else require login $session->logged_in = $session->checkLogin(); if(!$session->logged_in) { header('Location: login.php'); } $Q_Product = mysql_query("SELECT p.products_id, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, " . "pd.products_name, pd.products_description, s.specials_new_products_price, s.expires_date, s.status, " . "if ((s.specials_new_products_price is not NULL), s.specials_new_products_price, p.products_price) as sales_price " . "FROM " . PRODUCTS . " p left join ". SPECIALS ." s on (p.products_id=s.products_id), " . PRODUCTS_DESCRIPTION . " pd " . "WHERE (p.products_id = '" . $_REQUEST['ProductID'] . "' AND " . "pd.products_id = p.products_id ) " . "AND pd.language_id = $language_id " . "LIMIT 1"); if(mysql_num_rows($Q_Product)){ $R_Product = mysql_fetch_assoc($Q_Product); }else{ header("Location: index.php?error=no_product_found"); } // -- Load all options // -- Load available options for this product if (use_attribs()) { $R_product_attribs = new attributes($_REQUEST['ProductID'],$language_id); } //get the total number of product options, so we know how many possible options can be on a product page $option_count_query = mysql_query("SELECT count(*) as total from " . PRODUCTS_OPTIONS); $option_count_results = mysql_fetch_assoc($option_count_query); $option_count = $option_count_results['total']; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <meta name="description" content=""> <link rel="icon" href="favicon.ico"> <title><?php echo($POSName) . ': ' . TITLE; ?></title> <!-- Bootstrap core CSS --> <link href="" rel="stylesheet"> <link href="user.css" rel="stylesheet"> <!-- Custom styles for this template --> <link href="jumbotron-narrow.css" rel="stylesheet"> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src=""></script> <script src=""></script> <![endif]--> <?php // -- Load product page javascript if (use_attribs()) { $R_product_attribs->product_page_js(); } ?> </head> <!-- javascript function to recalculate price and quantity on page load --> <body> <div class="container"> <?php include("includes/header.php"); ?> <div class="row marketing"> <div class="alert alert-info text-center"> <h3><?php echo PRODUCT_INFO; ?><?php echo($R_Product['products_name']); ?></h3> </div> <table class="table table-condensed table-striped table-hover"> <tr> <td width="20%" class="tdBlue"><b><?php echo PRODUCT_MODEL; ?></b></td> <td width="80%"><?php echo($R_Product['products_model']); ?></td> </tr> <tr> <td width="20%"><b><?PHP echo PRICE; ?></b></td> <td width="80%" id="product_price_display"> <?php // Store base product price for automated adjustments // ---------------------------- $product_final_price = $R_Product['products_price']; if (($R_Product['specials_new_products_price'] != NULL) && ($R_Product['status'] == '1') && ($R_Product['expires_date'] >= date("Y-m-d") || (substr($R_Product['expires_date'],0,10) == '0000-00-00') || (is_null($R_Product['expires_date']) ) ) ) { if (IN_STORE_PRICING == 1) { $R_Product['specials_new_products_price'] += ($R_Product['specials_new_products_price'] * IN_STORE_SURCHARGE); } echo $default_currency_symbol . "<s>".(number_format($R_Product['products_price'], 2, '.', ''))."</s> <span class='productSpecialPrice'>".(number_format($R_Product['specials_new_products_price'], 2, '.', ''))."</span>"; $product_final_price = $R_Product['specials_new_products_price']; } else { if (IN_STORE_PRICING == 1) { $R_Product['products_price'] += ($R_Product['products_price'] * IN_STORE_SURCHARGE); } echo $default_currency_symbol . (number_format($R_Product['products_price'], 2, '.', '')); } ?> </td> </tr> <tr> <td width="20%"><b><?php echo QTY_IN_STOCK; ?></b></td> <td width="80%" id="product_quantity_display"> <?php echo($R_Product['products_quantity']); if($R_Product['products_quantity'] == 0 && ALLOW_SOLDOUT_PRODUCTS == 0){ //echo(" ( $R_Product['products_reorder_quantity'] reordered )"); echo(' <font color="red">' . OUT_OF_STOCK . '</font>'); } ?></td> </tr> <tr> <td width="20%"><b><?php echo PRODUCT_WEIGHT; ?></b></td> <td width="80%"><?php echo($R_Product['products_weight']); ?> lbs.</td> </tr> <?php // Display attributes form elements if (use_attribs() && (count($R_product_attribs->options)>0)) { ?> <tr> <td width="100%" colspan="2" align="center"> <b><?php echo PRODUCT_OPTIONS; ?></b> </td> </tr> <tr> <td width="100%" colspan="2"> <?php echo $R_product_attribs->product_form($product_final_price); ?> </td> </tr> <?php } ?> <tr height="45px"> <td width="100%" colspan="2" align="center"> <?php if($_SESSION['CurrentOrderIndex'] == -1) { ?> <a href="#" title="<?php echo ADD_TO_ORDER_BUTTON_TITLE; ?>" onclick="this.blur();" class="btn btn-success btn-default disabled" role="button"><?php echo ADD_TO_ORDER; ?></a> <?php } elseif (use_attribs() && (count($R_product_attribs->options)>0)) { // Use form submit feature, with additional hidden fields, when adding product. // This forces the POSTing of any option values. // Use the old-format page redirection if attributes not used or not present ?> <a href="#" title="<?php echo ADD_TO_ORDER_BUTTON_TITLE; ?>" onclick="check_attrform(document.product_options_form,<?php echo $option_count; ?>,'<?php echo MAKE_SELECTION; ?>')" class="btn btn-success btn-default" role="button"><?php echo ADD_TO_ORDER; ?></a> <?php } else { ?> <a href="#" title="<?php echo ADD_TO_ORDER_BUTTON_TITLE; ?>" onclick="this.blur(); window.location.href='action.php?Action=AddItem&ProductID=<?php echo($R_Product['products_id']); ?><?php if ($_SESSION['Orders'][$_SESSION['CurrentOrderIndex']]->ReturnOrder == 1) { echo ("&Quantity=-1"); } else { echo ("&Quantity=1"); } ?>'" class="btn btn-success btn-default" role="button"><?php echo ADD_TO_ORDER; ?><input type="hidden" name="CreateAssign" value="<?php echo ADD_TO_ORDER; ?>"></a> <?php } if (use_attribs() && (count($R_product_attribs->options)>0)) { ?> <input type=hidden name=Action value='AddItem'> <input type=hidden name=ProductID value=<?php echo $R_Product['products_id'] ?> > <?php if ($_SESSION['Orders'][$_SESSION['CurrentOrderIndex']]->ReturnOrder == 1) { $qty = -1; } else { $qty = 1; } ?> <input type=hidden name=Quantity value=<?php echo $qty;?> > <input type=hidden name=Price value=<?php echo $product_final_price ?> > <?php if (is_attrib_mode("QTP")) { ?> <input type=hidden name=StockQuantity value=<?php echo $R_Product['products_quantity'] ?> > <?php } ?> </form> <?php } ?> <?php if (IN_STORE_PRICING == 0) { // Disallow price editing if in-store pricing is in effect. It is too easy to confuse this and enter incorrect prices ?> <a href="#" title="<?php echo EDIT_PRODUCT_BUTTON_TITLE; ?>" onclick="this.blur(); window.location.href='product_edit.php?ProductID=<?php echo($R_Product['products_id']); ?>'" class="btn btn-primary btn-default" role="button"><?php echo EDIT_PRODUCT; ?></a> <a href="#" title="<?php echo EDIT_SPECIAL_PRICE_BUTTON_TITLE; ?>" onclick="this.blur(); window.location.href='product_edit_sale.php?ProductID=<?php echo($R_Product['products_id']); ?>'" class="btn btn-default" role="button"><?php echo EDIT_SPECIAL_PRICE; ?></a> <?php } ?> <a href="#" title="<?php echo BACK_BUTTON_TITLE; ?>" onclick="this.blur(); window.location.href='index.php';" class="btn btn-danger btn-default" role="button"><?php echo BACK; ?></a> <br> </td> </tr> <?php if(SHOW_PRODUCT_DESCRIPTION) { ?> <tr> <td width="100%" colspan="2" align="center"> <b><?php echo PRODUCT_DESCRIPTION; ?></b> </td> </tr> <tr> <td width="100%" colspan="2"> <?php echo($R_Product['products_description']); ?> </td> </tr> <?php } ?> <?php if(SHOW_PRODUCT_IMAGE) { ?> <tr> <td width="100%" colspan="2" align="center"> <b><?php echo PRODUCT_IMAGE; ?></b> </td> </tr> <tr> <td width="100%" colspan="2" align="center"> <img src="<?php echo IMAGE_PATH; ?><?php echo($R_Product['products_image']); ?>"> </td> </tr> <?php } ?> </table> </div> <footer class="footer"> <?php include("includes/footer.php"); ?> </footer> </div> <!-- /container --> </body> </html> Omar
  15. @@frankl when OllaCart installed it will create two orders status in the database for just one language (English), So I insert same orders status id with the 2nd language_id(my language) with different orders_status_name to fit my language. here is any example shop have two language lets say English (language_id = 1) and finnish (language_id =2) and when you install the OllaCart it will insert INSERT INTO `orders_status` (`orders_status_id`, `language_id`, `orders_status_name`, `public_flag`, `downloads_flag`) VALUES (12, 1, 'Completed In Store', 1, 0), (13, 1, 'Voided In Store', 1, 0); So we have to insert the 2nd language manually with same orders_status_id INSERT INTO `orders_status` (`orders_status_id`, `language_id`, `orders_status_name`, `public_flag`, `downloads_flag`) VALUES (12, 2, 'valmistunut Myymälässä', 1, 0), (13, 2, 'Mitätöity Myymälässä', 1, 0); after that the created orders via OllaCart they will show on the admin side(orders) English is not my mother tongue; please excuse any errors on my part. Omar