Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

NHRAFan

Members
  • Content count

    58
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Brent Friar
  1. As far as I know, EasyPopulate already supports products in multiple categories. It would be easy enought to test, just import 2 identical products in to different categories. You can also use this tool - Multiple Product Manager
  2. define('HTTP_COOKIE_DOMAIN', '.yourdomain.com'); define('HTTPS_COOKIE_DOMAIN', '.yourdomain.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/');
  3. osCid will show up if you have cookies off or the first time you come to the site during a session. If your osCid doesn't go away, then make sure you have your cookies set up right in your configuration.php file. Also, if your cName works, but rewrite doesn't then chances are that your problem is in your .htaccess file.
  4. It that EXACTLY what you have in your htaccess file?? If it is, then you need to fix it. It should look like this: Options +FollowSymLinks RewriteEngine On # Change "folder" to your catalog directory name RewriteBase /catalog/ RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
  5. If you are starting fresh with no older SEO URLs installed, you should start with v2.0, don't bother with v1.4.
  6. NHRAFan

    Firefox conQuery: osC Edit Product

    I was thinking about this last night because I would like to be able to do the same thing with categories and manufacturers, and I am pretty sure it can be done with SEO URL support. The idea would be to send the query to a NEW page that will parse out the -c-, -p-, and -m-, then send it to the appropriate page edit page in the admin. That would save all the trouble of turning off SEO URLs just to do editing. Not high on the priority list, but I'll take a look at a hack for this when I get a moment or 2.
  7. Only thing I can see wrong here is you are missing 1 line - Options +FollowSymLinks RewriteEngine On # Change "folder" to your catalog directory name RewriteBase /catalog/ RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} Add Options +FollowSymLinks
  8. NHRAFan

    Firefox conQuery: osC Edit Product

    When in doubt, read the directions. The showif parameter is only used to get the regex for the output of the plugin, the plugin will ALWAYS show, even if there are no matches in the selection. That is unless you set it to only show when there is a match. Right click to bring up the context menu, then double click on "Query to...". This will bring up the properties for the plugin. Find the osC edit Product selection in the list and make sure that you click the checkbox under "Show?" OFF. Now you will only get the osC option when you get a regex match. The downside is that you can't really use it if you have SEO URLs installed. In my case, I have SEO installed, but I have too many products for the products cache. I disabled the products cache, but I still have manufacturers and categories enabled. This means I get to use both ;) This would be a handy too to edit your store with even if you have SEO URLs. All you need to do is disable the products cache when you want to do your editing. Find this line in includes/seo_cache.php: $cache->save_cache($cache_file . 'products', $prod_cache, 'EVAL', 1 , 1); And replace it with: $cache->save_cache($cache_file . 'products', $prod_cache, 'EVAL', 1 , 0); Then simply reset the cache through your admin. Now your products will have standard links and work with your ConQuery plugin. When you are done editing, switch the code back and reset your cache again to fully enable SEO URLs again.
  9. NHRAFan

    Firefox conQuery: osC Edit Product

    Wow. This is a GREAT tool, particularly if you have a store with a lot of products and categories. I tuned up your code a litte bit, but I am still trying to figure out the showif part. Right now it shows up all the time, but it works like a charm. Here is the fixed code: # Mozilla/osCommerce plug-in by Carine Bruyndoncx (info@calimeross.com) # Tuned up by Brent Friar (bf@dougherbert.com) # osCommerce Edit Product <search name="osC edit Product" description="Edit current product" method="GET" action="http://[:host]/catalog/admin/categories.php" category="osCommerce" showiftarget="[:linkurl]" showif="cPath=(.*)&products_id=([0-9]+)" queryEncoding="utf-8" queryCharset="utf-8" > <input name="cPath" value="[:matched:1]"> <input name="pID" value="[:matched:2]"> <input name="action" value="new_product"> </search> This preserves the categories so you can edit product and keep it where it belongs. I'll let you know if I figure out the showif deal.
  10. None of those contributions should make a difference if you installed the SEO URLs correctly. Can we look at your site? It would help to see how the links are being formed and what errors are popping up.
  11. Do you have a CRE Loaded store? What version store do you use? What other contributions do you have installed?
  12. What version did you install? The latest version has the buy now fixes integrated.
  13. Post your htaccess file, that's the easiest way to figure it out. Also, make sure you are getting the htaccess file from the directory you have osC installed in. If your htaccess file is in the root directory instead of the catalog directory, make sure to tell us because it makes a difference.
  14. If you have it set for rewrite and you are getting 404s, then chances are you have your htaccess fike wrong. Set it to cName, does it work then?
×