Jump to content
Latest News: (loading..)

Leaderboard


Popular Content

Showing content with the highest reputation since 09/17/2018 in all areas

  1. 4 points
    raiwa

    Featured Products BS

    New version uploaded: Featured Products BS Changes version 1.6.: - PHP 7.2 notice error fix in application_top.php - added admin/box module language file to avoid modifying main language file
  2. 4 points
    Sorry but that is not a valid reason. I would never choose a cart system because their forum software is up to date. I rather have an old(er) forum software but the latest and greatest osC system regularly updated and taking care of. Yes he indeed did but once again nothing happened. Not sure what his time frame or deadline is since he does not communicate it. Regular updates to the project. Showing up in the forum from time to time, in short(er) intervals. As Ambassador besides getting a larger message inbox upgrade maybe a few more perks like editing your own posts even past 15min. The money should go into the development of the osC cart system. Meaning you pay the coders or team members for their work to keep them motivated. Could be also achieved with a better Market place where paid apps could be sold and osC could take a certain % from the sold apps. With that they could finance whatever they need and offer good, professional apps with support. I really don't want to sound like a broken record but the issues are all still there and nothing has changed. Maybe Harald got fed up with us after his last visit but what did he expect? Flowers and a pad on the shoulder for neglecting this project? We offered help and a temporary solution to keep osC somewhat alive, it has been denied. I don't care if I can now show 50 different smileys or only 10. Merging the forums should not be his priority and if there is a big picture behind all this then he should simply communicate it on a regular basis. Regarding donating money, I mean if someone feels that giving money as a sign of appreciation then sure go ahead. But if you expect to get something more because you become ambassador or the project development moves faster forward then you are mistaken. A simple "thank you" as Steve just posted will also suffice especially if it comes from someone that is daily here giving help and support in the forum to others for free.
  3. 2 points
    😂 Sorry I was a bit confused about the question. Looks like you got a respone anyway. If your still wanting to do it as an add-on then just use this. JcM Product info Products URL CE
  4. 2 points
    raiwa

    Featured Products BS

    Updated Version uploaded: Changes version 1.6.1.: - Added missing "Delete" button in admin/featured.php All versions updated (GOLD, EDGE and CE FROZEN) https://apps.oscommerce.com/TyAIr&featured-products-bs
  5. 2 points
    raiwa

    AJAX Attribute Manager support

    Uploaded update: Version v2.9.2 + updated for PHP 7.2 compatibility. Changed deprecated while...each loops to foreach loops. Fixed undefined errors. + Added sort order support for 2.3.4.1 CE Frozen modular Product Info page. https://apps.oscommerce.com/mKsGy&ajax-attribute-manager-bs
  6. 2 points
    @JcMagpie, I'm afraid this will not work on mobile view. @puggybelle, like mentioned by @14steve14, it's important to know which version you are using. Unmodularized shopping cart: Place the "Continue shopping" button before the "Checkout" button and wrap each button inside <div class="col-sm-6">..button..</div> Modularized shopping cart: Use the sort order to control the order of the buttons and set both modules to col 6 width.
  7. 2 points
    raiwa

    AJAX Attribute Manager support

    @TsimiIt needs some update which I have already prepared. I'll upload it within the next 2 days.
  8. 2 points
    The decision seems to be split and I have to agree with @Tsimi Lambros. I can publicly thank HPDL for his code on this forum. I dont need to pay for that. Thank you @HPDL for the code you produced. There done it for free.
  9. 2 points
    The point is you are saying "Thanks" and your donation should not be dependent on some kind of expectation. Totally worth it.
  10. 2 points
    The leader updated the forum software only a few weeks ago! He also stated more updates on progress would be posted soon. Not sure what more is expected? The money goes to help keep this forum up and running. Whatever the future is for osC 10's of thousands of people like me and you still use it and this forum. Any new project if and when it happens will not automatically get people to switch to it! so this forum still needs support. It's only a few quid not really much to think about considering all the benefits people have had or are still getting from using osC over the years! What ever your using! 2.2a, 2.3.4 , 2.3.4.1, Gold, Edge, Frozen or CE it's all thanks to Harold and all the team members working on it over the years.
  11. 2 points
    They were mostly notices, with a few warnings when I was on 7.2* PP Express related...and other add on we're the source. Often similar to the undefined definitions as you mentioned. Rolling back to 7.1 did reduce issues showing up in the log The shop was running fine on 7.2, it's only when I checked the log did I notice.
  12. 2 points
    raiwa

    Horizontal Categories Menu BS

    Simplified snippet I use for these cases: <?php if ( defined('MODULE_CONTENT_HEADER_CATMENU_XS_STATUS' && MODULE_CONTENT_HEADER_CATMENU_XS_STATUS == 'True' ) { echo '<div id="catMenu" class="col-sm-12 hidden-xs hidden-sm">'; } else { echo '<div id="catMenu" class="col-sm-12">'; } ?>
  13. 2 points
    JcMagpie

    Google Adsense and https site

    There you go working on stock CE with https: 😊 just needs a bit of tweeking to mmake google happy. You will find google now shows more ads on mobile than pc.
  14. 2 points
    JcMagpie

    Google Adsense and https site

    Not true! I have ad-sense ruining fine on a number of sites all https. What you will find is that ad-sense is now prioritizing mobile friendly sites. I found that after installing new osC I had to make a number of small changes to make google happy with site before it would start showing ads. Simply use chrome browser dev tool to review your site and remove all issues it finds. You should then find that ads will just start working. Also check your site on mobile device and see if ad’s are showing. I found they appeared mobile devices first.
  15. 2 points
    burt

    PayPal App v5.010 for v2.3.4BS

    And for the third problem, the link which @14steve14 links to has a solution, but again it's something that needs to be updated by HPDL. As well as updating HTTP_*_VARS to _* as well 😕
  16. 1 point
    It would appear that some manufacturers are still not using SSL on there sites. Simply no excuse for this now! I personally would not redirect a customer to none SSL site. But then that’s just me! If you do need to redirect to none SSL pages then make this small edit to the template file. Find <a class="btn btn-info" id="produrl" role="button" href='//<?php echo $product_url; ?>' target='_blank' >Go to manufacturers product page</a><br> and replace with this, <a class="btn btn-info" id="produrl" role="button" href='http://<?php echo $product_url; ?>' target='_blank' >Go to manufacturers product page</a><br> Now all the redirects will simply go to www.anyoldsite rather than https://www.anyoldsite
  17. 1 point
    Jack_mcs

    Ship In Cart Documentation

    That addon needs at least one shipping module to be installed in order for it to work, as well as your checkout system for that matter. Once you have a working shipping module then you should be able to see the estimator on the product page or on the shopping cart page if you have that addon installed too.
  18. 1 point
    The Add-on has been updated to use owl carousel 2.3.4 and include the display issue fix. It no longer requires the owl_carousel 2.3.4 script to be loaded locally. These are now loaded to the header and footer using Header_Tags and use CDN rather than local install. Owl requires the owl style sheets and jQuery to be loaded in a specific order to work properly. See the recommendations here https://owlcarousel2.github.io/OwlCarousel2/docs/started-installation.html If you are using any other add-on using owl it may cause issues if it’s not installed correctly. It is still a no core change add-on. Install and turn on both Header_Tags then simply install the other files and install and turn on the new add-on. It has been tested on the v2.3.4.1 CE Only. Featured products with Ribbon v2.3.4.1CE
  19. 1 point
    Correction to my previous comment. I did find a buggy behavior in the admin area. When I switch to PHP 7.1 it does not happen. When I try to install any module no matter which one it gives me the language definition missing message even though the language definition is there. And a header already send bla bla bla something inside the general.php Guess I'll stick to PHP 7.1.20 for now.
  20. 1 point
    Short answer...no.
  21. 1 point
    raiwa

    Display Tax Info V3.0

    For the product listing you'll need to use: tep_get_tax_rate($listing['products_tax_class_id']) But I wouldn't include the function in the language file. use %s and sprintf( to format the output.
  22. 1 point
    MrPhil

    Google Adsense and https site

    If the ads that Google is serving you use http in their addresses, such as for images or Javascript, many browsers will suppress their appearance ("mixed content") due to http (non-SSL) content on an SSL (https) page. You should be able to see this by the icon shown next to your address in the browser address bar. The proper solution is to specify that you want SSL content in your ads, so that everything on the page will be shown by all browsers. I don't use Adsense, so I can't tell you how to do this.
  23. 1 point
    There are times when you need to get information about products or customers that is not shown in the admin side of the store. If you are happy to use phpAdmin then its easy to get it direct from the database by running a sql query. If your not keen on doing that then a simple alternative is to simply use a php file to display the data on screen. Using stock CE lets assume we want to see all customers who purchased a particular product. The code below looks in the database tables “orders” and “orders_products” for a product with the ID of 34 and prints onto the display all customers who purchased that product. The code can show much more depending on how you set the filters. <?php /* Attempt MySQL server connection. Assuming you are running MySQL server with default setting (user 'username' password'database name) */ $link = mysqli_connect("localhost", "username", "password", "database name"); // Check connection if($link === false){ die("ERROR: Could not connect. " . mysqli_connect_error()); } // Attempt select query execution $sql = "SELECT * FROM orders_products,orders where orders_products.products_id = 34 AND orders.orders_id Group by orders.orders_id "; if($result = mysqli_query($link, $sql)){ if(mysqli_num_rows($result) > 0){ echo "<table>"; echo "<tr>"; echo "<th>id</th>"; echo "<th>name</th>"; echo "<th>email</th>"; echo "<th>telephone</th>"; echo "<th>orders-ID</th>"; echo "<th>company name</th>"; echo "<th>country</th>"; echo "<th>product ID</th>"; echo "<th>Model</th>"; echo "<th>Name</th>"; echo "<th>quantity</th>"; echo "<th>Price</th>"; echo "</tr>"; while($row = mysqli_fetch_array($result)){ echo "<tr>"; echo "<td>" . $row['customers_id'] . "</td>"; echo "<td>" . $row['customers_name'] . "</td>"; echo "<td>" . $row['customers_email_address'] . "</td>"; echo "<td>" . $row['customers_telephone'] . "</td>"; echo "<td>" . $row['orders_id'] . "</td>"; echo "<td>" . $row['customers_company'] . "</td>"; echo "<td>" . $row['customers_country'] . "</td>"; echo "<td>" . $row['products_id'] . "</td>"; echo "<td>" . $row['products_model'] . "</td>"; echo "<td>" . $row['products_name'] . "</td>"; echo "<td>" . $row['products_quantity'] . "</td>"; echo "<td>" . $row['products_price'] . "</td>"; echo "</tr>"; } echo "</table>"; // Free result set mysqli_free_result($result); } else{ echo "No records matching your query were found."; } } else{ echo "ERROR: Could not able to execute $sql. " . mysqli_error($link); } // Close connection mysqli_close($link); ?> Here we see what is shown on the screen, As you can see all orders for product with ID 34 are listed with customers info. Using the same code with a small change we can list all order placed by each customer. The only chnage in the code is this line, All we are doing is geting data from 2 tables and sorting it with a filter for orders_id and orders_products_id common to a customers_id. $sql = "SELECT * FROM orders,orders_products where orders.orders_id = orders_products.orders_products_id"; The whole code is, <?php /* Attempt MySQL server connection. Assuming you are running MySQL server with default setting (user 'username' password' database name) */ $link = mysqli_connect("localhost", "username", "password", "database name"); // Check connection if($link === false){ die("ERROR: Could not connect. " . mysqli_connect_error()); } // Attempt select query execution $sql = "SELECT * FROM orders,orders_products where orders.orders_id = orders_products.orders_products_id"; if($result = mysqli_query($link, $sql)){ if(mysqli_num_rows($result) > 0){ echo "<table>"; echo "<tr>"; echo "<th>id</th>"; echo "<th>name</th>"; echo "<th>email</th>"; echo "<th>telephone</th>"; echo "<th>orders-ID</th>"; echo "<th>company name</th>"; echo "<th>country</th>"; echo "<th>product ID</th>"; echo "<th>Model</th>"; echo "<th>Name</th>"; echo "<th>quantity</th>"; echo "<th>Price</th>"; echo "</tr>"; while($row = mysqli_fetch_array($result)){ echo "<tr>"; echo "<td>" . $row['customers_id'] . "</td>"; echo "<td>" . $row['customers_name'] . "</td>"; echo "<td>" . $row['customers_email_address'] . "</td>"; echo "<td>" . $row['customers_telephone'] . "</td>"; echo "<td>" . $row['orders_id'] . "</td>"; echo "<td>" . $row['customers_company'] . "</td>"; echo "<td>" . $row['customers_country'] . "</td>"; echo "<td>" . $row['products_id'] . "</td>"; echo "<td>" . $row['products_model'] . "</td>"; echo "<td>" . $row['products_name'] . "</td>"; echo "<td>" . $row['products_quantity'] . "</td>"; echo "<td>" . $row['products_price'] . "</td>"; echo "</tr>"; } echo "</table>"; // Free result set mysqli_free_result($result); } else{ echo "No records matching your query were found."; } } else{ echo "ERROR: Could not able to execute $sql. " . mysqli_error($link); } // Close connection mysqli_close($link); ?> To use simply save the required code as say get_product_info.php, I would save it in your admin directory to keep it secure! Don't for get you need to enter you own details at the head of the file to connect to your database. /* Attempt MySQL server connection. Assuming you are running MySQL server with default setting (user 'root' password'database name) */ $link = mysqli_connect("localhost", "username", "password", "database name"); We are only reading from the db so should not have any problems but as allways to be safe backup first.
  24. 1 point
    I know this is an old post, but I would like to thank gary for this post. It took some finding, but I was glad that it showed up. I wanted to disable all payments methods aparet from payPal for all non UK customers and this worked. Thanks @burt
  25. 1 point
    Hmm...true, clean code is important... I don't know if this banaid is better than the previous one, but they both offer a similar solution. I would really do a var_dump($text_array) or print_r($text_array) just before the foreach statement to get a stack trace of the argument. You really need to know why PHP was complaining. In fact, the foreach statement wasn't just looking for an array, and it was expecting an associative array. FWR is a smart dude, I would definitely understood why before deciding on a fix. That would be my approach...some upstream setting may just fix the warning.
×