Jump to content

14steve14

♥Ambassador
  • Content count

    5,238
  • Joined

  • Last visited

  • Days Won

    60

Posts posted by 14steve14


  1. Thanks for all the hints and tips. I have decided that with over 3500 products, a page of products is not that good and looks horrible. I have decided to search for an admin addon and create a downloadable sheet that customers can save and use if they want. Seems easier and saves server resources. The stock taking addon looks to do something that can be saved and converted to a PDF that looks much better.


  2. 1 hour ago, raiwa said:

    @ecartz,

    I agree that it's not possible to satisfy all needs.

    But in real store life, most admins use order finished statuses which are different from payment received. Like: "shipped"", "delivered", "shipped by x", "shipped by y"

    All mine end up as Shipped or Download Available. Anything other that those can be deleted as they are not completed. The incomplete ones remain as the recover carts still register them. After a set time they are deleted.


  3. I am after a bit of help again. I have searched the addons area and cannot really find anything suitable that actually works. I have tried 3 or 4 from the addons section including some early versions.

    Does anyone know of a good simple price list addon that creates a page listing all the in stock products in the store with their name, model number and price. Not wanting image or anything too complicated. I cant find anything that is basic and easy to alter or change to work with Phoenix 1.0.5.0. Would be nice if customers could save a file copy of the list and a print facility would be good but not a requirement nif its hard to do.

    Any help on getting something sorted for Phoenix 1.0.5.0 would be appreciated. I am prepared to alter code to get an old addon working with Phoenix if that's what it takes.


  4. 13 hours ago, Smoky Barnable said:

    I think this was caused by a network communication/timeout error since it only happened once in thousands of orders, so I'm not too concerned with it.

    On another note, I was quite pleased when looking in my admin total revenue box that my sales had increased dramatically over the last few months. However it seemed too high....I realized today that the total revenue is not being reported correctly because it's treating orders with a status of Preparing [Stripe SCA] as completed purchases. These are customers that have not completed payment but are being counted as sales in the total revenue module. As a temporary solution, I patched the query to ignore orders with a status of  "Preparing [Stripe SCA]". I also changed this in all code that generates sales reports. I don't know if there is a better solution, but this really skewed my perception of how my business was performing the last few months and as such is quite an important issue in my opinion. I do understand that this can be avoided by manually deleting incomplete orders but I don't consider this a viable solution.

    I had exactly the same happen with all my payment methods. (Stripe and Paypal) Unpaid or uncompleted orders remain at the Preparing stage but still count towards any totals in the store. I just deleted all these orders and the totals were corrected. You also have to watch that if you send a refund or partial refund that does not get deducted in any of the payment reports either.


  5. What are all the setting you have in your admin - paypal- settings. I expect one of them is wrong. In the app can you access your balance?

    or you have changed the name of your admin folder and upgraded without installing the file in the correct place.


  6. 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.


  7. 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.


  8. 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

    includes/module/product_listing.php

    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. 


  9. 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.


  10. 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.

     

    ws-homepage.png


  11. 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">
                <?php
                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;
                ?>
              </div>

    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 1.0.5.0 but code looks similar to other earlier versions.


  12. 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.


  13. 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.


  14. 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.


  15. 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.


  16. 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 1.0.2.6 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.


  17. 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.


  18. 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.


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

    0.1:0.83,0.25:1.32,0.50:1.72,0.75:2.33,1:3.00,2:4.05,

    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.

     


  20. 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.

×