Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Posts posted by 14steve14

  1. 41 minutes ago, hungryfrank said:

    considering that two of the best  coders in the site helped,  this could become the source of information when u google it if it become useful in its own context.

    look at Burt he has put so much effort in making the bootstrap version for the community. be generous with your knowledge.

    Don't you ever shut up and not have the last word.. I will ask @burt or any other other mods to remove all your irrelevant posts as its doing nothing for this thread and will only stop others finding the information they are looking for. Hopefully it will be deleted from where I posted the image near the top.

  2. For those that cannot work out where the buttons are by looking at the images, they are in the product cards modules that are shown on the index page. Because it's on the index page that means that the file can be found in the index section of the content modules. As its altering the design, the template file is the one to alter. 

    There are other similar files in the index nested content block and also just in the includes folder. There are also similar display layouts in some addons such as recently viewed, also purchased, cross sell addons and there must be more.

    Hopefully that answers those that need the additional direction. I have no plans to release the full code as it's best not to alter the core code, and I am looking into adding to the user.css files to create the same effect which will save the hassle of changing core code files.

    Matter closed or post will be deleted or moderated to remove the off topic posts.

  3. 53 minutes ago, hungryfrank said:

    so if someone wants to make it look like what you did can do it also.

    this is how a community behaves a cult is different story. 

    of course u don't have to and that is also your right

    anyhow the page that has to be edited is


    now that wasn't so hard


    Well copy the code that is there. I posted the code for the buttons I had and the way to solve it was posted so the way to achieve the look of the buttons is there already. 

    Reading the bootstrap pages helped me figure out how to space the buttons using padding. It also helped be get the buttons to equally spread across the full width of the content box. What it didn't help with was how to alter the osc core code. In fact just buy using one extra bit that I could not figure out where to place and it did what I wanted. After trying it on two different lines I decided against the idea and put it back to what I already had, so the code is already posted. 

  4. 4 hours ago, hungryfrank said:

    a step by step instruction would be nice and Valquiria  can put a link in her topic.


    For what purpose? That page uses mostly standard code with a few additions to create centring and padding, and possible a bit of a margin in places. It is something specific that I wanted on my site. All the information can be found by reading and learning about BS and the different parts and shortcuts available. It could also be done by changing the user.css files but it was easier when testing to modify the core code. The only trouble with modifying the core code it needed lots of files changed where as it would only take a few changes to the css and the same effect can be achieved on all pages that use that code.

    All that information on bootstrap can be found here https://getbootstrap.com/.

    14 hours ago, valquiria23 said:

    It looks very pretty, good job!

    Thanks. Its getting there.

  5. For now have made a decision. No doubt it will change later. Changed it to look like this. The button widths now define the width of the module boxes now that the border has been removed (actually changed to white in the user.css file) It looked a bit silly when the buttons were stacked and some products had one button and others two.

    Thank @burt and @JcMagpie for your help and guidance. Now just got all the other files to change so they all look the same.



  6. I want to see what the index page looks like with full width buy and view buttons. Lots of sites I look at now have this feature. I know it will mean altering core code. I also know I have several files to alter plus others addons that I have added. I have already added a gap between the two buttons and centred them hence a few minor code differences.

    This is the code that currently positions the buttons in the boxes.

    <div class="btn-group" role="group">
                echo tep_draw_button(IS_PRODUCT_BUTTON_VIEW, '', tep_href_link('product_info.php', tep_get_all_get_params(array('action', 'products_id', 'sort', 'cPath')) . 'products_id=' . (int)$card_products['products_id']), NULL, NULL, 'btn-info btn-product-listing btn-view mx-1') . PHP_EOL;
                $has_attributes = (tep_has_product_attributes((int)$card_products['products_id']) === true) ? '1' : '0';
                if ($has_attributes == 0) echo tep_draw_button(IS_PRODUCT_BUTTON_BUY, '', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action', 'products_id', 'sort', 'cPath')) . 'action=buy_now&products_id=' . (int)$card_products['products_id']), NULL, array('params' => 'data-has-attributes="' . $has_attributes . '" data-in-stock="' . (int)$card_products['in_stock'] . '" data-product-id="' . (int)$card_products['products_id'] . '"'), 'btn-warning btn-product-listing btn-buy ml-3') . PHP_EOL;

    I have changed the first line to be

    <div class="btn-group d-flex" role="group">

    Which makes the single buttons full width, which is good, or spreads the two buttons equally across the box, but where to put the break to get one above the other. I have tried all sorts and nothing seems to work. Is there a rights way to achieve this.

    Edit. Forgot to add using Phoenix version but code looks similar to other earlier versions.

  7. People have to learn to accept that not even Phoenix is standing still any longer. Oscommerce did that for many years and before forward movement it was considered a laughing stock  and dead in the water. With Garys input and the help of those that want to see it advance, everyone is getting a better code base. Addons can now be installed in a few clicks rather than a whole lot of manual code changes. Updating the store code is again very simple, and takes a few minutes. If you want old and outdated use an old and outdated version.

    Stop thinking what was, and start thinking what could be.

  8. Are there not already addons that allow multiple admin users. I seem to remember that this subject has arisen several times. The only thing that will need fixing is a way to split the payments between accounts without the main site owner being liable for addition personal and business taxes.

    I can see a potential use for something like this on my site a its hobby re;lated and people love selling what they own, but it is something that is way off in the distant time for now.

  9. 2 hours ago, JcMagpie said:

    Look's like "Money for old rope" to me.....

    Without that money the core code for oscommerce would not be changing. Its a shame that not everyone is behind moving the project forward and are out to spoil what some are working towards. But never mind, I fully understand that some people are like that, and that they, not necessarily you Zahid,  hold a grudge as they are excluded from the 'club' and don't want to help improve the core code. That's their choice of course but don't run down and insult those that want to help, and don't undermine the work of those that are working to improve the code by offering free code to those that do support. It will only drive a wedge between everyone and cause a split so that those on this forum will not benefit.

  10. 1 hour ago, valquiria23 said:

    Burt had to integrate this admin to phonix  for a long time ago and work to improve it. I don't see the reason for just now to start Bootstraping the admin ... but who knows the commercial interests that some have?? ... I think he was not interested in integrating Henry and @shetch into the project, it just my humble opinion.

    Gary asked Henry to do some coding but after waiting for a long time and taking a lot of abuse from henry in one of his drunken moments, nothing got done, and that was henry's fault and no one else's. Henry talked the talked, said that he could do lots but did nothing. There is a lot more to that story but I wont go into it here. No doubt he will come back here now under yet another username and start the abuse again.

    As for the boostrapped admin that shetch did, I think it was poorly coded so went no further. if it was good you would think that he or someone else would have continued with the development, but nothing has happened there. There could be an opportunity for someone to restart it again.

  11. Tell a Friend got removed from the latest versions of Phoenix. It has always been considered a security risk and when Gary asked, most said they never used it or had it turned off, so it got removed. You may need to look through a Phoenix version before to find the relevant code and add it back into your version. You may also need some form of protection on the form as its a way for people to use as spam and other nasties as Jack says.

  12. The money is the stores currency. So euros or GBP it makes no different its the way they are entered that you are interested in. The 0.83 could be cents, euros or pounds. It would be 0.83 of a euro. One Euro will be wrote as 1.0 or even just 1.

    Again the weight makes no difference as nowhere in your store does it require a specific weight entry. If your shippers charge you in pounds rather in in kilogrammes use pounds. All my shippers use kilogrammes. but you have to figure out and stay consistent with the way you enter the weights throughout your store. Again 1 can be either 1kg or one pound, its what comes after the decimal point that will make the difference..

    What have you tied so far. Post how you have entered something in the shipping section to calculate the costs and may be I could see where you are going wrong.

  13. 7 hours ago, puggybelle said:

    Version checker really doesn't check anything, does it?

    - Andrea

    It used to before the community edition. Phoenix now shows the correct version.

  14. Here is how I enter it in my shipping modules.


    The first 0.1 is 100g so if you want 20g it will need to be 0.02 and 90g will need to be 0.09

    the next 0.83 is the cost in GBP that's 83p

    And so on. The 0.25 is 250g

    eventually getting to 2 which is 2kg

    Hopefully that makes sense.

    You will need to write yours as

    0.02:0.91,0.09:1.82, and continue adding the weight and the cost separated by a :

    I did also change the weight in the database to be something like decimal(5,3) wherever weight is mentioned (mainly product wieght), if its not already that so you get the correct places after the decimal point. 5:3 is five places before the decimal point and three after.  I think I seem to remember that in standard osc it may only be 5:2.


  15. 1 hour ago, mhsuffolk said:

    @14steve14 My experience is that the street address entered by the customer can have spelling mistakes, some people don't even know where they live!

    Suggest you run these excellent querys on the entry_postcode field instead. Customers tend to get their post code correct however some leave out the space before the last 3 characters which could be an issue. I believe there is an SQL query term "REPLACE" that would solve that problem but I am not sure how to implement it.

    I will try using the postcode in the query but I think it may throw some weird results as I know I have some customers who are neighbours. I will let you know how I get on so thanks for the suggestion.

  16. Before I upload all my customer data to a new version of Phoenix, I am having a bit of a clear out of old and inactive customers. The inactive customers was easy as there was an addon ( I deleted over 800 customers who have never bought anything going back 5 years). Finding duplicate customers is proving to be a bit harder. Customers sometimes cant get the forgotten password link to do anything so create another account using a different email address, and its these that I want to find. Once found I have the addon to link both accounts together.

    Does anyone know of an addon or a way to check database entries for the same 1st line of the address. Once I have the customers details I can manually check the rest is the same.

  17. I think language packs for shop and admin side should be addons and not part of core. There are too many languages to include otherwise. Some have already translated languages and uploaded them to the addons area so if they have not done all the admin then they eoither need to be told, or someone needs to update the package.

    I also think that language packs should include things like different address and date formats which are easily changed.

  18. I spoke to PayPal about this and was directed to a help page on their website. A user needs to activate one-touch from within their PayPal account security section. You have to confirm that you want to remain logged in to PayPal on your devices and everything should work.

    What they cant tell me is why nothing shows on my site without me being logged in to the site. Without being logged in, the site has no idea who I am. It also did not work on my site when they tried to test things so at that point I gave up, as they said it should be working on the product pages.

  19. 1 minute ago, raiwa said:

    Are you trying to pay on your site using the same account as your seller account? This won't work. You need a different account to test on your site.

    Rainer thanks for your patience.

    I have tried using my account without being logged on, and also someone else's account. Only thing being that both these people live in the same house and were using the same IP address. I have also tried it on my phone using my phone data rather than wifi, and on the wifi and still nothing. I am off next door to speak to a neighbour and see what happens after lunch.