Jump to content

Rochdalemark

Members
  • Content count

    468
  • Joined

  • Last visited

Everything posted by Rochdalemark

  1. Supplier Admin Area It's a contribution that allows you to create some suppliers and set a markup percentage for each one and select which categories they can add their products to with a login name and password. The suppliers can then login to their own pages where they can add products to their categories entering the cost price that they sell the product to you for. The front of the shop will show the list price determined by the markup on cost you had set for that supplier. The suppliers can only see and modify their own products and not any other suppliers. Once installed you will have a supplier box in the left admin menu where you add new suppliers, select there markup % and also which categories they can add products too. The supplier can login to add their products to your store at http://www.your-domain.com/catalog/supplier_area.php Here they can add products as well as being able to see how many items they have sold through your store each month..
  2. Written by Fred Doherty (aka Rochdalemark) with a large chunk of help from Richard Lindsey (aka Velveeta) This contribution will allow you to add codes to each product attribute based on a per item only basis. This is so that if you have 2 suppliers having different codes for say a colour red attribute you can have a different code for each. The attribute product code will be used as a suffix to the base product code. i.e Say you sold Apples. The code for your standard Apple is AP1 But you had a choice of colours and sizes for those apples, you can now have the following codes generated for each. Green Apple: AP1/G or Red Apple: AP1/R or Apple Large: AP1/L or Apple Large Red: AP1/L-R As you can see the base product code stayes the same but with the seperate atribute code added as a suffix to the end. This each attribute product code can be given a sort value, so that your code is in the right order. For example Your code for a Large Red Apple: AP1/L-R could mean a completely different product if it was the other way round like AP1/R-L. This way there is no mistakes in the way the codes are generated when multiple attributes are selected. Contribution can be found at http://www.oscommerce.com/community/contributions,4888
  3. Rochdalemark

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    Forgive me, maybe Im wrong or just being dumb, But I was under the impression that THIS is exactly what the thread is about. To get this contribution working with the rest of your site. The site was fine and working well before THIS contribution broke it. Now after Ive installed it, Id like everything to still work. If it was only meant for vanilla oscommerce then it wouldn't require an active thread to deal with it.
  4. Rochdalemark

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    What do you mean by beyond the scope of this thread?
  5. Rochdalemark

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    I wonder if someone could help. Ive installed this to a site with only one issue that I can find. On my store I had a button that when clicked put all the products info into a contact us form, this was replacing the buy now button to make it and enquire now. That was great but since the SEO contribution, it no longer adds the .html to the end of urls in the email. The code for the button is as follows <?php echo '<a href="' . tep_href_link(FILENAME_CONTACT_US, 'enquiry=Price Inquiry%0D%0A%0D%0AProduct Id: ' . $HTTP_GET_VARS['products_id'] . '%0D%0AProduct Url: ' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id'] . '%0D%0AProduct Name: ' . $product_info['products_name'] .'%0D%0A%0D%0A') . '') . '" class="pricing"><img src="includes/languages/english/images/buttons/button_in_cart.gif" border="0" alt=""></a>';?> Hope someone can help.
  6. Rochdalemark

    Master Products - MS2

    Still looking on any info to solve this.. Also in my product listing pages, both my master and slave products are being displayed.. I only want my master products displayed, anyone know how? IS it also possible to have a dropdown on the product listings so that it displays its slave products so that they can be added to the cart from there?
  7. Rochdalemark

    Master Products - MS2

    Is there any way to have the master product shown in the same table as the slave products on the product info page? My customers are confused with having 2 different buy now buttons in different places.. It would make it neater and less confusing to my customers if it was all in the same table.. Any help would be much appreciated. Thanks
  8. Rochdalemark

    [Contribution] Additional Images Module

    Thanks, All that was needed was for me to change the Thumb Menu: Use image size restrictions and set it to FALSE.
  9. Rochdalemark

    Supplier Admin Area Contribution

    What version of oscommerce are you using as the latest release of the contribution is for oscommerce 2.2 RC1
  10. Rochdalemark

    [Contribution] Additional Images Module

    Just for the record the php version on the server is PHP/4.4.2 But Im happy now that it works.. :) wellll that bit does anyhoo. Im having a bit of trouble with my popup view. The initial main image shown isnt the correct size, its out of proportion. when i hover over the thumbnails the main image goes to the correct proportions. see http://workplace-essentials.co.uk/popup_ad...age.php?pID=145 for the problem. Any idea what may be causing it?
  11. Rochdalemark

    [Contribution] Additional Images Module

    Sorry Surfalot I missed that post. On opening general.php in admin/includes/functions/ to make the modifications you suggested, I noticed an error with your code. In 2_files_to_compare/admin/includes/functions/general.php the line $image_subdirectory = preg_replace('/\\\/', '/', $image_subdirectory); // in case back-slashes used, flip 'em around has a ' in the comment, line should be $image_subdirectory = preg_replace('/\\\/', '/', $image_subdirectory); // in case back-slashes used, flip em around I made that alteration (didnt make the changes you suggested) uploaded the general.php file to my store, added a test product. Fired up my ftp software and browsed my images directory. Test product images and directory created all now have the correct permissions. You might want to make the change in the contribution and upload it again to the contributions section. Everyone else currently using this contribution, please check your general.php files and make sure you dont have the same error in your code.
  12. Rochdalemark

    [Contribution] Additional Images Module

    OK, Ive had a chat with my host about the file permission problem of Apache taking control of the file and folder permissions when additional images creates a folder or image. They say its down to the fact that aditional images contribution creates using the 700 permission rather than 777. Which means I cant access the files or folders using ftp or file manager. If I was on a less secure server using apache as user etc then I would be able to. But Im not prepared to compromise my site security by going to a less secure server. Is there any way to get the contribution to create files and folders with the 777 permissions and also create a dummy index.php file in each new folder it creates? Any help would be appreciated.. Thanks
  13. Rochdalemark

    "Dynamenu" for osCommerce

    Has anyone managed to get a spacer image to go beneath each category apart from the last one? I'm using the verticle flyout menu.
  14. Rochdalemark

    Supplier Admin Area Contribution

    You have to alter the configuration file in the supplier admin folder to match your database settings
  15. Rochdalemark

    Product Description Translation Box

    Ive found a contribution that does the above, or at least it would if the translation engine it used was still in operation. It used gummipower.com, but on the bright side it also says that the contribution can be modified to work with google or babelfish translation engines. Heres the Translation Contribution Can any coder on here take a look at it and see if it can be altered to run with google or bablefish. Please,,,Pretty please :) I also know its easy to add a bablefish or google translation box onto your site, but id rather keep people on my own site to view different languages rather than over at babelfish or googles with aframe of my site translated below. Any help with this would be much appreciated..
  16. Does anyone know of a way to integrate Babylons translation code into the product edit page and or category edit column??? The code for the translation box is as follows: <script type="text/javascript"> var Babylon_Affiliate = "CD1"; var Babylon_Language = "EN"; document.write('<div id="btrbox">');document.write('<a href="http://www.babylon.com" target="_blank">');document.write('<img src="http://online.babylon.com/trans_box/16.gif"');document.write(' alt="Babylon Online Translator" border="0"></a></div>');</script><script type="text/javascript" src="http://online.babylon.com/trans_box/js/myBabylonBox.js"></script> Is there anyway to automatically insert into the desired text to translate what you have typed into your default language box, so that all you need to do is select what language you desire and click translate. The translated text needs to open in the same window so you can copy and paste it into your other language edit boxes. The javascript they point to in myBabylonBox. js is as follows: var Babylon_Affiliate; var Babylon_Language; var f_width = 120; var f_height = 111; var detect = navigator.userAgent.toLowerCase(); var OS,browser,version,total,thestring; function checkIt(string) { place = detect.indexOf(string) + 1; thestring = string; return place; } if (!Babylon_Language) Babylon_Language = "EN"; if (!Babylon_Affiliate) Babylon_Affiliate = "0"; var html = document.getElementById( "btrbox" ).innerHTML; //if( (html.substring( 0, 44) == '<a href="http://affiliates.babylon.com/z/16/' ) || (html.substring( 0, 44) == '<A href="http://affiliates.babylon.com/z/16/' )) { // var URL = "http://online.babylon.com/trans_box/myindex.php?lang=" + Babylon_Language + "&affiliate=" + Babylon_Affiliate; // document.write ("<iframe src='" + URL + "' height='" + f_height + "' width='" + f_width + "' FRAMEBORDER='0' marginwidth='0' marginheight='0' vspace='0' hspace='0' allowtransparency='true' scrolling='no'></iframe><BR />"); //} //alert( html.substring( 0, 186)); //if( (html.substring( 0, 186) == '<a href="http://www.babylon.com" target="_blank"><img src="http://online.babylon.com/trans_box/16.gif" alt="Babylon Online Translator" border="0"></a>' ) || (html.substring( 0, 186) == '<A href="http://www.babylon.com" target=_blank><IMG alt="Babylon Online Translator" src="http://online.babylon.com/trans_box/16.gif" border=0></A>' ) || (html.substring( 0, 186) == '<A href="http://www.babylon.com" target=_blank><IMG alt="Babylon Online Translator" border=0 src="http://online.babylon.com/trans_box/16.gif"></A>' ) || (checkIt('opera') != 0 ) ) { var URL = "http://online.babylon.com/trans_box/myindex.php?lang=" + Babylon_Language + "&affiliate=" + Babylon_Affiliate; document.write ("<iframe src='" + URL + "' height='" + f_height + "' width='" + f_width + "' FRAMEBORDER='0' marginwidth='0' marginheight='0' vspace='0' hspace='0' allowtransparency='true' scrolling='no'></iframe><BR />"); //} If this is at all possible or if anyone knows a simple way to get translations for there descriptions etc without going to and fro between pages all the time when using multiple languages please let me know. Regards Mark
  17. Rochdalemark

    [Contribution] Additional Images Module

    ive fixed my problem with the prefill category path being the wrong way round but I'm still getting the problem with it changing the folder permissions to -rwx------ when creating or uploading to an existing folder for anything below images/products/ Anyone know what might be causing the problem? Is anyone else experiencing the same problem when trying to acces the created image sub-category directories? For anyone else with the prefill problem with the main category being added after the subcategory in the path, heres the fix so you dont have to trawl through 20 forum pages looking for the answer
  18. Just been having a gander at your site, 18Carati.com

    Looks good, although I dont like the popup when you enter the site,, arrgghh..

    Im liking that google has 77,400 of your pages indexed, you dont seem to have that many products, how have you managed that many pages??

    Is it because your using 4 languages? Dont you get any duplicate content penalty for haveing both UK and US language

  19. Hi,

    Just to let everyone know that theres a new version of admin area out.

    Will be trying to get back to updating it to a full version ASAP.

    ANy help with the project will be appreciated.

    Regards

    Rochdalemark

  20. Rochdalemark

    Previous - Next with detailed info

    Any help with this would be much appreciated thanks
  21. Does anyone know how to add alt text to the previous and next arrow images with a tooltip stating the product name to the folowing contribution :Previous - Next with detailed info For some reason the contribution started with that ability but for some reason it was dropped along the way. Being a copy and paste code man I wouldnt know how to add it to the contribution again. Another good idea would be to include a small thumbnail image of the previous and next product alongside the arrows. This would give a clear signal to the customer of what they were likely to find when they clicked either next or previous. Any help with this would be much appreciated. Thanks
  22. Rochdalemark

    [Contribution] Additional Images Module

    Any help with this would be appreciated..
  23. Rochdalemark

    Supplier Admin Area Contribution

    Hi all, I've not been back to this contrib for a long time as I was half way through it when I left the company I was providing it for, and I have been tied up with umpteen other projects as well as getting my own online store up and running. I've seen some posts that state some interest in it so I've cleaned up the code and removed all the junk contributions that were messing it up. Theres still loads to do on it but it will at least allow you to install it without a headache and make it easier to add to the contribution. Please don't use any of the earlier versions, and remember that this is still in Beta If you want to play around with it you can copy all the files over onto a fresh oscommerce ms2.2 rc1 store, run the sql file and you should be good to go. For those with a modified store, theres an install text included for any files that need modifying in oscommerce base files, or just use a compare tool. should take you no more than 20mins. Hope it helps...
  24. Rochdalemark

    [Contribution] Additional Images Module

    I've worked out why the image name is cropped in the database. It's due to the type being set as varchar(64). This means if you have say products/main cat name/sub cat name/product name it could quite easily be above the 64 length. What would you advise I increase the value to?
×