Jump to content

violinman

Member
  • Posts

    154
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

violinman's Achievements

Apprentice

Apprentice (3/14)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done Rare
  • One Month Later Rare

Recent Badges

1

Reputation

  1. Actually you are right, I still had my IP from my old computer so yes debugging info, masses of it does not appear but I think I will continue with the Havenswift plugin as it is the easiest option for now!
  2. Hello again, I did try the new code and enabled the debugging but still not working correctly and also no de-bugging info appeared. It is possible there is a problem with my setup that is causing problems. I tried a plugin from Havenswift which seems to be a good compromise, it is called "Advanced Sorting" it is a bit clunky but I can pick the items I want to be displayed in "Latest Products" it is not random so it displays what I pick but it is a big improvement on the default method so I will go with that for now. What is interesting is that the default behaviour is to pick from the highest to lowest numbers, and not randomly but just in decending order so the only way I could have 3 bows and 3 violins was to make sure their are only 3 bows ticked as latest products, if there were for example 5 bows I would get 5 bows and 1 violin. Very clunky but the plugin from Havenswift is a good workaround for now. I appreciate your efforts which may work just fine on someone else's site!
  3. Hello, once again it is 10 pm. so will do it in the morning and get back to you later during the day, many thanks.
  4. At the moment it is back on the default setup and have only three bows as latest products to force it to pick up three violins! The default takes the Lates Products from the highest number in depending order which is really quite bizarre!
  5. The only cache on my server is opcache which is specifically for the PHP.
  6. It is a dedicated server just for my web sites but I will log in to admin and check, I will not get a chance to do so though until tomorrow morning as it is 10 pm here now.
  7. That is correct, the root categories for both are "All Violins" and "All Bows" and I have set the $cat_1_id = to the correct numbers, ie 5 and 11.
  8. Hi Brian, I applied the updated code, the behaviour has now changed. It now seems static, it has selected the first consecutive three violins that are ticked Latest Product but always the first three. The bows are also static but for some reason only two bows are shown even though several have the Latest Product ticked!
  9. That would explain the odd results I was getting. Could you set it to use the latest product flag as well?
  10. Ok thanks, it is the Hide 'Out-of-Stock' product is not enabled, perhaps I need to manage the items differently and just get in the habit of removing the Lates Product tick once sold on a regular basis.
  11. Sorry, one last point, I have disabled it for now as it is also showing items that are out of stock! It may be the way I am running the site, I leave the item available for purchase so that it can be seen even though it is sold as its stock level is 0. Maybe that is what is causing the problem.
  12. Brian that now works a treat, much appreciated, thank you so much, just what I wanted. Brian One last question, the algorithm does not seem to have any relation to date so if I had marked an item Latest Product 6 months ago it will still display that item, would it be possible to limit the date to say 3 months?
  13. Ok I have found that. In add code snippet it asks for: Unique ID, Execution Order, Description (which clear enough) trigger and version. Not sure about Unique ID or Trigger. I am an idiot, I just realised that you had kindly included that info at the top of the code!
  14. I don't actually have a link to Admin, under Settings I have Store Settings but no hooks tab. Under Advanced I have Manage Hooks but it does not appear anywhere else. My apologies, I have just seen the link. in Code Snippets there is a small link in red Add snippet. So do I change the $cat_1_id = 1; to $cat_1_id = Bows; and $cat_2_id = 2; to $cat_2_id = Violins;
  15. If I go to manage hooks under "Advanced" there is code snippets but no Add Snippet link, there is an "Import Code Snippet" link which expects an XML file. I am using 6.4.2 Many thanks.
×
×
  • Create New...