Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Posts posted by 14steve14

  1. 33 minutes ago, Moxamint said:

    Hi Steve, move the required code changes from index.php to includes\modules\content\index_products\cm_ip_product_listing.php and I think that's it.


    Sort of tried that but bits have changed and I was unsure on how to modify the old code to match the new. Now I have said that I hope I was looking in the right place.


  2. Thanks for that Gary, I will take a look later. I am really after a custom sort order as over the years I have added more and more products  which are the same or similar to other products already stocked and listed and its nice to get them all grouped together in order within the category. Or am I missing something obvious. Its been a long day.

  3. 29 minutes ago, Philo2005 said:

    Thank you for the hint. I think I must go to a programing course before I can use this and try over days how this is going to work. 
    I was looking for an example "user.css" , I could clone and override items with preferences i like.

     Seems there is no such a standard "user.css" to be used as base.

    user.css is only used to change things that the store owner wants changed, and that may not bee what you want. If you are using Chrome or Firefox as a browser, they both have developer tools that you can use to find elements on a website or even view source code. Search in your browsers addons area to see what they do. I searched for bootstrap 4 themes and found sever for my Phoenix site and uploaded the whole css into the user css which totally changed the lok of the site. What I plan to do later is to remove the bits that I have not marked as changed to reduce the file size.

    If you search for css help you will find loads of online reading without the need to go on a course. You can do the same for SEO once you get a site live to save a few bucks. w3schools is good site as the bootstrap one but only use the site for the correct version of bootstrap that you are using.

  4. @Jack_mcs  Been using this addon for years and find it really helpful. I have just tried to install the latest version of this addon to the latest version of Phoenix running on php7.3. I have uploaded the supplied admin/orders.php file rather than try to cut and paste the code into a standard file as I thought it would be easiest. I get the same error as mentioned above. The actual error I am getting is


    Warning: Use of undefined constant SHOW_INVOICE_SHIPPING - assumed 'SHOW_INVOICE_SHIPPING' (this will throw an Error in a future version of PHP) in /####/####/####/####/####/includes/functions/general.php on line 1585

    There is also another error


    Warning: sizeof(): Parameter must be an array or an object that implements Countable in /####/####/####/####/####/orders.php on line 526

    Line 526 is

    if (sizeof($order->products[$i]['attributes']) > 0) {

    Any help would be appreciated.

  5. 18 hours ago, cigarsforless said:

    simple to install, but over complicated in some aspects and be prepared to pay thru the nose for each and every must have add on, basics like ups shipping will set you back 79 bucks if you want live rates, same for usps, fed ex the list goes on and on. much rather support osc and tweak some code myself than pay a grand or 2 a year to woocommerce

    Every business has startup or running costs and website development for an online business should be included. But if you are just playing at websites then I see your point it can work out expensive. I had a look at opencart and there developers release a free version of a full addon that does not include every feature as a taster. Great idea and one that should be done here, but part of every sale should go back into the pot to help pay for future core code updates and changes.

  6. Make sure that your user.css file is the last one listed in your view source. Mine was first in the list not last, and there has now been a fix for this so look in the phoenix announcements thread if you are using Phoenix..

    Also use the developer tools available with most browsers, I know chrome and firefox have them, to inspect an element to see what is controlling the area or item you want to change.


  7. I have said for a very long time that the core of oscommerce needs to be fit for today's market. It has to offer the features that are needed in today's harsh selling environment. It has to do everything well. Recently I have been looking for other software as a replacement module for the old Stripe payments was not available and was in the hands of Harald, so was never going to done. There are lots of carts out there, some more popular than others, but all offer standard features not available to oscommerce which are needed to run an ecommerce store and generate sales. This has been known but ignored by those in charge for years, and another thread moaning about what should or should not be included will not have any effect. There is a lot of grounds to be made up and without someone to lead a marketing push, which should generate interest from new developers and new users, then I am afraid that the project will just fizzle out.

    There is nothing stopping people creating modules and submitting them to be considered to be put into core, but they have to be coded first to show what they can do and they have to work. Its wrong to expect one person to do it all as much as its wrong for one person to want to do it all.

  8. I have just placed a test order and added a comment to the order. That comment shows on the invoice at the top of the comments section.

    If I knew what I was doing I would look at the PayPal module and see why that only shows the customer order comments and not any of the other stuff it saves.

    Like I say the old module for Stripe used to do this so nothing lost. I just wondered if it could be removed. Thanks for taking the time to look.

  9. Many thanks @raiwa for the quick response. There are some comments showing where the order comments should be n my invoice. This is the only payment module to show them. The old original module also showed them. I have circled the comments. What I dont have is an image with the standard order comments showing that a customer can add to the order process.


  10. I have just tested the most recent version with live and test payments and all seems to be working as it should. I did uninstall and remove the old stripe code form the site before testing so things must be looking up.

    My only comment is that payment details are showing again on the invoices. Is there a way for this not to show, but to be saved somewhere. In some of the earlier versions this dint happen.

  11. 1 hour ago, valquiria23 said:

    And what about the rest of the oscommerce team? I see them entering the forum every day but they never upload a PayPal update or other contributions.
    It would be great to add it to the next version of the amazing Phoenix, don't you think?

    How big do you think this active team of developers is. At the moment its Gary on his own. No Harald nor anyone else as far as I am aware.

    If people want these payment modules, get them coded, tested and let those that can add to the core see what you gave done. It may get added if its good enough.

  12. I has been pointed out that the user.css file is called before the bootstrap files, rather than after. Viewing the source of the page I see

    <!-- stylesheets hooked -->
    <style>* {min-height: 0.01px;}.form-control-feedback { position: absolute; width: auto; top: 7px; right: 45px; margin-top: 0; }@media (max-width: 575.98px) {.display-1 {font-size: 3rem;font-weight: 300;line-height: 1.0;}.display-2 {font-size: 2.75rem;font-weight: 300;line-height: 1.0;}.display-3 {font-size: 2.25rem;font-weight: 300;line-height: 1.0;}.display-4 {font-size: 1.75rem;font-weight: 300;line-height: 1.0;}h4 {font-size: 1rem;}}</style>
    <link href="user.css" rel="stylesheet">
    <style>@media (min-width: 576px) {.card-group > .card.is-product {max-width: 50%;}.card-deck > .card.is-product {max-width: calc(50% - 30px);}.card-columns {column-count: 2;}} @media (min-width: 768px) {.card-group > .card.is-product {max-width: 33.333333333333%;}.card-deck > .card.is-product {max-width: calc(33.333333333333% - 30px);}.card-columns {column-count: 3;}} @media (min-width: 992px) {.card-group > .card.is-product {max-width: 25%;}.card-deck > .card.is-product {max-width: calc(25% - 30px);}.card-columns {column-count: 4;}} @media (min-width: 1200px) {.card-group > .card.is-product {max-width: 25%;}.card-deck > .card.is-product {max-width: calc(25% - 30px);}.card-columns {column-count: 4;}}</style>
    <!-- fa hooked -->
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.10.2/css/all.css" crossorigin="anonymous">
    <!-- bs hooked -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">

    Shouldnt the user.css stuff be after all the other bits. If so how do we change the sort order of the hooks?

  13. On 9/14/2019 at 6:43 PM, astecme said:

    Unused to use the available module from 7 years ago. It did stop working with one of the php upgrades which is a shame. The best thing about it was the max value on each type so for example a £40 purchase could be forced to recorded delivery...

    Compare your RM files with the files from a standard oscommerce shipping module as I believe they were created using the flat rate as a base. I expect there has been a PHP change somewhere. You should also be able to find out why the module does not work by looking in your php error files.

  14. 5 hours ago, Heatherbell said:

    You over estimate the abilities of shopowners. NNTR

    That's why we should stick to being a shop owner and leave the coding to those that know what they are doing even if it means paying someone to do it. All you have to find is a coder that will listen to what you want and do what you want, not what they think you want. Thats the hard bit with some.

    I have enjoyed a bit of a play with bootstrap 4. There are so many features that can be used and changed easily in all the areas of the code. All it takes is a quick read on the bootstrap code pages or w3schols sites and a simple change can make all the difference.