Jump to content

Dirty Butter

Moderator
  • Posts

    6,634
  • Joined

  • Last visited

  • Days Won

    139

Everything posted by Dirty Butter

  1. Hi, I've been looking into this too as I wanted to order by Catalogue ID (ie a custom order based around manufacturer's products). It seems as if it's really easy in CC5. Go to the file \classes\catalogue.class.php and find line 616. I changed 'name' to 'cat_id', but you should change it to 'price'. Then save. You should notice the sort function will list products by the column you've specified. Does that sound correct to everyone else (Cubecart guys?). I would hate to recommend a fix that isn't correct, but it sems to work for me. I tried to use your hint to sort by in stock by default, but it doesn't seem to have worked. $order['quantity'] = 'DESC'; I think you need to use $order['stock_level'] = 'DESC'; Quantity is usually "1" unless you've changed it. I'll try that, but we only have one of each, so quantity should have sorted it.
  2. Hi, I've been looking into this too as I wanted to order by Catalogue ID (ie a custom order based around manufacturer's products). It seems as if it's really easy in CC5. Go to the file \classes\catalogue.class.php and find line 616. I changed 'name' to 'cat_id', but you should change it to 'price'. Then save. You should notice the sort function will list products by the column you've specified. Does that sound correct to everyone else (Cubecart guys?). I would hate to recommend a fix that isn't correct, but it sems to work for me. I tried to use your hint to sort by in stock by default, but it doesn't seem to have worked. $order['quantity'] = 'DESC';
  3. I've been working on a test v5.04 upgrade from v4 for some time now, and things are close to production level. So, as a test of how things were going with recent bug finds/fixes in 5.0.4, I decided to do another test upgrade before proceeding with the live site upgrade. I copied my skins folder over the new install, so all the customizations I made appear to be correct in the new install. But now I want to copy all the Admin information - Store Settings, Categories, Manufacturers, etc., from the working test site to the new test site. That's what I would need to do when I'm ready to take the plunge and upgrade our production site. HOW do I transfer all that info without having to create each part from scratch? Surely there are files/ tables that can be ported from one to another, rather than having to do all this manually again????
  4. Google warned me that I didn't have their google_product_category information in my feed. I've manually added their category designations to my products and created a field in the inventory table in the database and imported the information back into the database. I've also modified admin/sources/products.export.inc.php so this column will be included in the export. Now I need to be able to create these google_product_categories and then choose the correct one for each new product I add to inventory, much like the creation and choosing of Categories as it is now. I'm sure I'm not alone in getting this warning, so does anyone have any suggestions? I would think there would be some way to copy the sections/files that create and use the current Categories and create an appropriate name change for the new google_category. I'm a newbie, so please spell out any solutions you provide.
  5. I think you need yourskin/templates/content.checkout.php. Thanks for your help ... Got it sorted. I've been working hard to understand the new version, so it tickles me that I was able to help you. Good luck!
  6. Can someone tell me how to stop the Admin login from timing out or at least lengthen the time before it automatically logs me out? I'm used to keeping a tab open all day long for each of our stores.
  7. I think you need yourskin/templates/content.checkout.php.
  8. I do have recapcha on my Registration page on a clean install and a v4.x upgrade to 5.0.4. Sorry about the hack. I wish I could help you.
  9. I've been using a free mod based on Homar's How To Add New Product Fields since v3, and would like to be able to add a tab in Products on Admin to use that information in my v5 upgrade. Can someone spell out how to create that extra tab in the Product Fields and populate it with the table in my inventory file?
  10. I have two 5.04 installs - one clean and one test upgrade from v4.4. The clean install shows the Cart News & Announcements on the Dashboard, but the upgrade site does not. It's not the worst thing in the world, but it's concerning me that the upgrade v5 might be flawed in more serious ways. If someone can suggest places to look to fix this it would make me feel better.
  11. Weird! My sub-category pics are WAY too big! I hope someone can help with where to change the size. Example of Huge Sub-category image The thumbnail or gallery size would probably work for me, but it sounds like maxsports needs the full size image.
  12. I sure wish I had asked about this a lot sooner! The thing I don't understand about the logic of the styles folders is the lines that are in common.css, such as these, that one would expect to find in the various color files. IF I were to allow the customer to set their own skin I could have blue text on an orange skin, instead of the brown text that goes with my orange skin, IF I set my default text color in common.css. Thanks for helping out a very green newbie! Hopefully this will help someone else.
  13. I'd like to create 2 sidebar boxes - each for a particular listing. One offers custom embroidery and the other a gift card option to be included with the item. I think I would need to add the {GIFT_CARD} and {EMBROIDERY} Section Names to main.php. But I don't know how to create the actual template page for each of these new sections. Can someone help me with this?
  14. The country name mixup can be fixed with this query, provided by Al: I'm not sure which version of 5 we used this on. It may be fixed in 5.04. I don't know.
  15. I've managed by trial and error to adjust all the cosmetic settings I want on Kurouto except for the gray boxes on the homepage for Categories, Mailing List, Shopping Cart, Featured Product, and Popular Products. The templates show them as <h3> as far as I can tell. Can someone show me the code in the Styles that I need to change to get a different color besides the gray? That gray is consistent across all the skin color choices, so I would have expected to find it in the Common file. On another note, I had to add a CSS text code to the Styles to get rid of the gray default text, and then had to add the <span class="text"></span> to all the appropriate lines in the Template files. I haven't seen that anyone else mentioned this problem.
  16. I saw your other post. I sure hope you've communicated all that to Al!!! Our test upgrade site is close to production ready, but I dread bringing it up to current data, as we've had plenty of sales, inventory, and customer changes since I started working on the test version. Is there a way to import only the columns from v4 into the v5 that have changed, rather than doing a fresh upgrade. Maybe by exporting the relevant tables from v4 one at a time, manually adding into the appropriate v5 table, and importing back into the v5 version??? The trouble would be insuring that I had made ALL the needed changes, I would think.
  17. Thanks, bsmither, for the response. But I don't want the gradient. I want an image background for most of the page with the darker sections at the top. I use Corel and I tried to figure out how to create the background textured image tile with the two dark sections at the top but wasn't successful. I got some help from a programmer, so this is taken care of for me. I wish there were a way to edit titles on the forum to show that the issues are resolved.
  18. As I understand packaging weight it's a tare weight. That way you can set the weight of your box and as items are added to the basket only one box weight is included in the total weight. I've always dealt with this as part of s/h.
  19. On the UPGRADE site I have noticed that no PRIMARY category is checked for a listing until I open it in Admin and Save it again. Then the category tree shows under the title in the Admin Product listing and the Primary check shows. Maybe that has something to do with it.
  20. My clean 5.0.4 install seems to be working correctly. My test upgrade site works for most items, but not for all. I just discovered that one item I couldn't search for DID NOT HAVE A CATEGORY ASSIGNED. As soon as that was fixed it showed properly when I searched. It also helped a lot when I did a search/replace query to change the hyphen in my product numbers to x.
  21. Thanks, bsmither, for the response. But I don't want the gradient. I want an image background for most of the page with the darker sections at the top. I use Corel and I tried to figure out how to create the background textured image tile with the two dark sections at the top but wasn't successful.
  22. I disabled Machinable, and it now works correctly on our clean install site. But something happened while fiddling with the USPS shipping module, and now the test upgrade site doesn't show Sales Tax any more! I tried going back to By_Weight, but no Sales TAx. GRRR!
  23. Well, time took care of some of it. I've rebooted and waited several hours, and now it IS showing on the checkout. BUT - I'm getting a choice I don't want - First Class Mail Large Envelope - as well as the correct ones for a light package - First Class Mail Package and Priority Mail. Is there a way to stop this Large Envelope choice?
×
×
  • Create New...