Jump to content

burt

Team
  • Content count

    16,714
  • Joined

  • Last visited

  • Days Won

    759

Everything posted by burt

  1. burt

    Attribute Images

    I completely forgot to give you the PROTO-code I used. PROTO-code is code that is made to test a concept and should not be used in a production environment, but it might give you ideas... <script> $('select').change(function() { a = $(this).find('option:selected').attr('value'); img = (a) ? "images/<?php echo $product_info['products_id']; ?>_" + a + ".jpg" : "images/<?php echo $product_info['products_image']; ?>"; $('.pi-gallery img:first').attr('src', img); }); </script>
  2. burt

    Attribute Images

    Too difficult to handle in the current system of options/attributes. On the to-do list is a remake of the options/attributes area from the bottom up, but I cannot say when or even if it will ever be done. If what you have made works for you as is; and well done. When you swap out the image, what image shows in the modal gallery popup? The original or the new? If you had 3 options each with 3 attributes, you would have to create 27 images, the way that you are thinking this system. It's inflexible, though it would be easily doable, assuming shopowner had time to make and name images appropriately.
  3. burt

    Attribute Images

    Hard coded. Hook advice: make a product_info hook utilising the injectBodyEnd listener.
  4. burt

    Attribute Images

    You're not struggling. You have workable code and you probably (hopefully) learned some javascript tricks.
  5. burt

    Attribute Images

    Nice to see you guys having a go, rather than just talking and more talking 👍 When you get it to a "happy" conclusion, I'll post what I coded yesterday (PROTO code, not really tested etc).
  6. burt

    Attribute Images

    That's from 10 years ago and seems similar to what you need. I imagine (well I *know*) that 10 years ago was the time of 500 lines of core code change to do something that can now be done in none. Even so, I think you'll struggle with a no core change, as the product_attribute page will need to be changed to allow you to assign image to attribute. Option = Color Attributes = blue/pink/red (each of these needs an image) That is your first task before you start thinking about actual swapping of images.
  7. burt

    When is /ext/.../standard_ipn used?

    As far as I recall, it depends on one thing; whichever "signal" gets back to the shop first. If the customer arrives back before the IPN... -or- If the IPN arrives before the customer.
  8. burt

    PayPal in phoenix ...help!

    See that Paypal link in the horizontal menu, hover over it and you should get a menu saying "start" or a menu with other items in it, one of which is "credentials".
  9. burt

    PayPal in phoenix ...help!

    Look at the Orange warning. It clearly says that your API credentials have not been set up. Set them up - Click the Blue GENERAL button...
  10. Warnings are not Errors. Fixing problems that don't exist is not a productive use of time for any Shopowner, surely ?
  11. burt

    Remove Extra Type from PDF Invoice

    PDF invoice is not standard in any version of osCommerce, therefore the best advice is; download a copy of your site download a program that can search files (eg beyondcompare or grepwin) search your files for the string "Customer's Comments" amend the file in which it is found. Your version went EOL (End Of Life) over a decade ago. You might want to think about upgrading to the latest version.
  12. You will need to contact a good developer and get it re-coded to suit your needs. If what is made is better than core, maybe you would then allow us to replace what is in core with your new version.
  13. Last call for the remaining 67 Forum Members who have requested access to the Phoenix Club, but have no posts and a throwaway email address...  are you real people ? I'll be nuking the list in a day or two...

    Note that this applies only to those waiting to get into the Club.  If you are in the Club already, all is well...

  14. You might like to link to the addon so that anyone else who is using the same can help you.
  15. Use whois to determine where the IP is coming from - if that place is not important, just ban the whole IP range using htaccess.
  16. Raiwa is too modest to mention himself. @raiwa You've already taken hours of his time, so why not pay for those hours and all the upcoming hours he will spend with you.
  17. This means that you are looking at a category that has products. As both osCommerce and Phoenix stand, a category can contain subcategories OR products. Not both. I can see that you believe your category has only subcategories, but I ask you to check again that there are no products in the category, not even inactive products. You can also check in phpmyadmin at the categories_to_products table to make sure there is no orphaned entries showing for the category id.
  18. There is no ability to perform a redirect in admin. Good news for you is that we are in the process of adding in pre-placed hooks now. What you need to do is add in a callout, in admin/includes/template_top.php and test it. Then let me know where you added and what you added and how you tested it...and it might become core code. If any of the items in bold are not provided, it definitely will not become core code.
  19. There is no injectRedirects callout in admin. That is why it does not work.
  20. You will do no better than contacting these two; https://github.com/gburton/CE-Phoenix#certified-service-providers @raiwa and @BrockleyJohn
  21. Just truncate (EMPTY) the sessions table. Do not delete (DROP) the table.
  22. They are different products, look at their text...
×