‘osCommerce’ Archive

Open link in a new window in XHTML 1.0 Strict June 24, 2009 1 Comment

As you may notice using target=”_blank” breaks XHTML 1.0 Stric validation. And here you are a solution with jQuery: Add rel=”external” for links that you want to be opened in a new window Include the following jQuery script: $(function() {   $("a[rel*=’external’]").click(function() {     window.open($(this).attr(‘href’), ‘external’, ”);     return false;   }); }); […]

 

Unlimited products in stock in osCommerce April 2, 2009 1 Comment

Strange that this option isn’t available in osCommerce. Maybe I missed something but there is only ability to set number of products in admin – no option to set it for unlimited number. What if I sell service? It’s definitely unlimited (well until I’ll be in business). Of course, the easiest way will be run […]