Jump to content


  • Content count

  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
  1. martinmacca

    Country-State Selector

    Ive got Human confirmation v1.2 installed & the only part on the create_account.php file that i couldnt change was I havnt got that, instead ive got // BOF // Contrib: Human confirmation v1.2 $thecode_okay = false; $process_okay = false; $noautomationcode = $HTTP_SESSION_VARS["noautamationcode"]; // -> v1.1 // Changed to work w/ random image names $img_dir = $HTTP_SESSION_VARS["noautamationdir"]; $img_name = $HTTP_SESSION_VARS["noautamationname"]; // Find and delete old images if (strlen($img_name) >= 6) { $dirHandle = dir($img_dir); while($fileHandle = $dirHandle->read()) { if (substr($fileHandle,0,strlen($img_name)) == $img_name) @unlink($img_dir.$fileHandle); } $dirHandle->close(); } // <- v1.1 // Changed to work w/ random image names $thecode_okay = (isset($HTTP_POST_VARS['thecode']) && ($HTTP_POST_VARS['thecode'] == $noautomationcode )); $process_okay = (isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'process')); if ( ($process_okay == true) && ($thecode_okay == true) ) { // EOF // Contrib: Human confirmation v1.2 $process = true; Any idea how i can put the 2 together?
  2. Has anyone changed the image store path for the extra images? By default any extra images are stored in catalog/images/. But i want to store the extra images in a subfolder e.g. catalog/images/Extra_Products_Images/ I noticed in admin/categories.php Ive tried changing the destination from to And have also tried creating a new image class DIR_FS_CATALOG_IMAGES_LARGE & using this instead & adding this to admin/configure.php as But neither of these attempts have worked as the images still go into catalog/images Any ideas ?
  3. martinmacca

    Products Attributes Sort v1.0

    For something so simple you make it look really difficult to understand :'( If adding a file to the database is this complicated then what chance do we stand we it comes to the real stuff ? Only kidding - justs it matter of logging into your PhpMyAdmin database-clicking on your database name at the top of the left hand column, then clicking on the SQL tab on the main page & pasting your SQL data into the the table. This is a breese compared to some of the modding you will come across! :blink:
  4. Nice Contri ;) If like me you want to have just 3 stock status's (in stock, limited stock, out of stock) then change includes>functions>general to : Here you can see that stock levels between 500 & 1000 will show as being in stock, 100 to 499 as limited stock & 0-99 as out of stock- you can change these to whatever you like. Ive shown this formula in admin when editing the quantity on a product by changing admin>categories line 1000ish approx find: to And then in admin>includes>languages>english>categories add: So when you change the quantity to the different status's in admin it will look like this Thanks John2b
  5. martinmacca

    RMA Returns error for 2.2 MS2

    Look at my thread near the top of the last page, that will show you how to amend the contri to add your tax rate!
  6. I have looked all through the forums and still cant find the answer. Basically ive got Down For Maintenance installed and want to change the date format for the maintenance page from YYYY-MM-DD to the UK format of DD-MM-YYYY or date_format_long. E.G. Website Maintenance was enabled at : 2004-09-28 11:32:55 but i want it to say Website Maintenance was enabled at : 28-09-2004 11:32:55 In catalog>down_for_maintenance.php i can see And further up the file The last modified time shows the UK format in admin, just not on the catalog down_for_maintenance page. Can anyone point me in right direction
  7. If i add a small image as the main product image & a large image for the popup, it works great on the product info page. But if i browse a categorie of products the large popup image is shown as the main product image instead of the small image. Any idea how i could change this ?
  8. martinmacca

    RMA Returns error for 2.2 MS2

    When i return a product & click the request button to complete the return & get an RMA number, the page gets redirected to the login screen. The user then has to login to get the RMA number. Does this happen to your stores or has anyone made a fix to skip the login page?
  9. martinmacca

    RMA Returns error for 2.2 MS2

    i had a similar problem with the tax not being added when returning a product. Try this: Catalog>return_product.php Find approx line 380 If you look at this echo ' <td class="main" align="right" valign="top">' . $currencies->format(($returned_products['final_price']+$returned_products['final_price']/100*17.5) * ($returned_products['products_quantity'])) . '</td>' . "\n" . in the above statement it has been coded to get the final product price & add 17.5% which is my tax rate. It works for me
  10. martinmacca

    UK Tax Configuration

    Go To Admin>Locations/Taxes>Tax Rates>New Tax Rate The Settings should be: Tax Class Title:Taxable Goods Tax Rate: 17.5000 Description:VAT Priority:0 ?85.11 + 17.5% = ?100 17.5% of ?85.11 is ?14.89 Your Total Price of ?100 is inclusive of tax and so the amount of tax charged in that ?100 is ?14.89 should say VAT:?14.89 which is how much VAT has been charged I would suggest making your shipping non taxable therefore the price shown for shipping is inclusive of tax, so the cost you charge to ship you goods is exactly what the customer pays You can change this in admin>modules>shipping> Edit the shipping methods you use so that the tax class=NONE If you then goto Admin>Modules>Order Total Change to the following Tax:1 SubTotal:2 Shipping:3 Total:4 It will look like: VAT: ?14.89 Sub-Total: ?100.00 Shipping: ?9.34 Total: ?109.34 I know it looks a bit confusing with the VAT at the top as customers might think that VAT hasnt been added so you could change it so it says: Amount charged in VAT ?14.89 SubTotal Inclusive of VAT ?100.00 Shipping: ?9.34 Total: ?109.34 The only other way is to install the VAT Display contribution & goto Admin>configuration>Display Prices with Taxes:False Change Admin>Modules>Order Total to SubTotal:1 Shipping:2 (which will be exclusive of tax) VAT:3 Total:4 So it will look like SubTotal:?85.11 Shipping:?7.95 VAT:?16.28 Total:109.34 Hope this gives you a better idea ;)
  11. Mine sends out the emails fine to both myself and the customer. I think support on this contri will be very limited as the creator of the Mod -Warren looks as if he has been banned from the forums. I still have problems with the page confirming the order has now been cancelled as it is just text - there are no borders, background or headers, but havnt received a reply in 4 months :( All i can suggest is try installing it again & if it still dont work then could be a conflict with a prev mod or you havnt done something right
  12. martinmacca

    Wolfen Featured Sets SUPPORT

    I have checked this function out and there is no issue, try my earlier post resolve of using the replacement pack file. Sorry My Fault! My Admin>categories.php file was modded with a previous mod-think it might be HTML for product descriptions? Found the error for my case was the last bit of the install file Replace code with I had to change mine to Shouldnt have rushed the install & i would have noticed the change Cheers for the help steve ;)
  13. martinmacca

    Wolfen Featured Sets SUPPORT

    are you sure that you don't need the button lowered. :D No the button looks fine where it is lol Ive just noticed that in admin>catalog>categories/products when i try to update or insert a categories image it wont save. No errors it at all - it behaves like it should when i press save except the image hasnt updated. Not a problem i thought, i'll just have a browse through the instructions for admin/categories.php, em theres ALOT of changes and dont no where to start. Its definitely that file as ive tried a backup file which is fine. Any idea which part of the change in that file might have something to do with the image update so i can compare my modded file to my backup
  14. martinmacca

    [Contribution] Ship In Cart

    Wahey works like a dream, cheers ;)