Latest News: (loading..)

adz1976

Members
  • Content count

    37
  • Joined

  • Last visited

About adz1976

  • Birthday 04/04/1976

Profile Information

  • Real Name
    Adam Pope
  • Gender
    Male
  • Location
    UK
  1. Hi I have a module installed called Ship Rates for UK Postcodes_6165 On the checkout_shipping.php I can't find a way to add the vat. The vat is added on the checkout_confirmation.php but with it being a module nothing is standard and can't see a way of copying code from checkout_confirmation.php to the checkout_shipping page. If I delete the following code below from checkout_shipping.php, this removes the shipping price. So my question is, Is there a way to add to this code below a calculation to add the vat or is it not that simple ?
  2. Hi to all who can hopefuly help I have installed the module Admin Level Account with categories 2.3.4 The login admin screen appears fine but when the username & password is entered the following error occurs. Fatal error: Call to undefined function: tep_validate_password() in /content/BusinessHostPlus/m/a/mydomain.com/web/admin/login_admin.php on line 31 This module is setup on a default username & password admin@localhost admin If I put the password in wrong it says wrong password entered but if I put the correct password in the above error occurs. I have done a search on this error but not a great deal to work from. Some people are talking about the file configure.php but there is nothing in the module telling you to ammend this file. Hope someone out there knows of this problem & can sort it out Any help would be great Thanks Adam :)
  3. Hi Got everything working on the flash carousel but there is just one problem. My site is running SSL (https) & I presume this is where the problem lies. When the index page loads up it comes up with a message: THIS PAGE CONTAINS BOTH SECURE & NONSECURE ITEMS. DO YOU WANT TO DISPLAY THE NONSECURE ITEMS. When I click YES the page loads up fine with the carousel working perfectly but obviously I need to get rid of this message. Here is the code I had to replace in the index page, everything runs fine until this code is added. Open catalog/index.php and find below line : <td class="main"><?php echo TEXT_MAIN; ?></td> Replace with below line: <td class="main" align="center"><?php include(DIR_FS_CATALOG . 'kampanya.php'); ?></td> Is it something here that needs changing or would it be in the kampanya.php ? I did have to change something a while back on a different contrib & i'm sure I had to change the image paths from http to https but I have looked in the FLASH CAROUSEL files & replaced certain http to https sections but still can't get it to work. Does anyone know what I would need to do to get this working properly ? Hope you can help Thanks in advance Adz :)
  4. Hi My Setup OSC MS2 SPPC v4.1 + price breaks Easy Populate v2.78 + SPPC + price breaks SQLv5.0 Hope you can help I have already left a post for this problem but nobody has left any replies. So this time I have included some code so you can see my problem. This is what I am trying to do: This code has come from Easy Populate v2.78 with SPPC + price breaks What am I trying to do ? The upload through EP of the complete customer prices all works fine BUT what I would like to do is just upload a specific customers prices. I.E. There are 5 customers but I only want to upload customer 3's prices. As you can see at the start of the code it deletes all products id & prices out of the TABLE_PRODUCTS_GROUPS before it uploads the new data, this is why when I try to upload just 1 customers prices it wipes out all the other customer prices. If I delete the following section out of the code & try to upload my prices it comes up with a duplication error // they spec'd some prices, so clear all existing entries $result = tep_db_query(' DELETE FROM '.TABLE_PRODUCTS_GROUPS.' WHERE products_id = ' . $v_products_id ); I realise it is having to delete the data out of TABLE_PRODUCTS_GROUPS before it can upload the new prices. BUT Is there a way to change the code so it will just replace the prices instead of it deleting them ? Code Below: // they spec'd some prices, so clear all existing entries $result = tep_db_query(' DELETE FROM '.TABLE_PRODUCTS_GROUPS.' WHERE products_id = ' . $v_products_id ); // and insert the new record if ($v_customer_price_1 != ''){ $result = tep_db_query(' INSERT INTO '.TABLE_PRODUCTS_GROUPS.' VALUES ( ' . $v_customer_group_id_1 . ', ' . $v_customer_price_1 . ', ' . $v_products_id . ', ' . $v_products_price1_1 . ', ' . $v_products_price2_1 . ', ' . $v_products_price3_1 . ', ' . $v_products_price4_1 . ', ' . $v_products_price5_1 . ', ' . $v_products_price6_1 . ', ' . $v_products_price7_1 . ', ' . $v_products_price8_1 . ', ' . $v_products_price1_qty_1 . ', ' . $v_products_price2_qty_1 . ', ' . $v_products_price3_qty_1 . ', ' . $v_products_price4_qty_1 . ', ' . $v_products_price5_qty_1 . ', ' . $v_products_price6_qty_1 . ', ' . $v_products_price7_qty_1 . ', ' . $v_products_price8_qty_1 . ', ' . $v_products_qty_blocks_1 . ' )' ); } if ($v_customer_price_2 != ''){ $result = tep_db_query(' INSERT INTO '.TABLE_PRODUCTS_GROUPS.' VALUES ( ' . $v_customer_group_id_2 . ', ' . $v_customer_price_2 . ', ' . $v_products_id . ', and so on..... Really hope someone can help me with this :-) Thanks Adam
  5. Hi MY SETUP OSC MS2 SQLv5.0 SPPC v4.1 + Price Breaks v1.0 for SPPC v4.1 EP2.78 + SPPC + Price Breaks What I would like to do: Upload just 1 customer at a time through Easy Populate with their special prices rather than having to upload all customers at the same time. I have Easy Populate 2.78 With Sppc + Price Breaks, I can download & upload the SPPC with price breaks fine but just wondering what I would have to change in the easypopulate.php file for it to allow me to upload a certain customer ? i.e. At the minute I have 5 customers. Instead of me having to upload all 5 customer prices everytime, I would like to upload customer 3's prices only. The reason why I just want to work with 1 customers prices at a time it is gets very complicated, as each group contains the following fields. *v_products_model* - Model is just at the start of fields for reference with EP v_customer_price_1 v_customer_group_id_1 v_products_price1_1 v_products_price2_1 v_products_price3_1 v_products_price4_1 v_products_price5_1 v_products_price6_1 v_products_price7_1 v_products_price8_1 v_products_price1_qty_1 v_products_price2_qty_1 v_products_price3_qty_1 v_products_price4_qty_1 v_products_price5_qty_1 v_products_price6_qty_1 v_products_price7_qty_1 v_products_price8_qty_1 v_products_qty_blocks_1 v_customer_price_2 v_customer_group_id_2 v_products_price1_2 and so on....... I have tried to upload a file with v_products_model + customer 3 fields. The prices change for customer 3 but it wipes out the other customer prices. 1,2,4 & 5. It is overwriting the fields even though I have not included them in the uploaded file. Is there anyway around this problem ? I presume its just an amendment I need to do in the easypopulate.php file but I don't know what to change. Anyone have any good ideas, I really hope you do :-) Here is a link to the easypopulate.php file I rekon needs changing, The contrib is: EP with SPPC and Price Break (it just contains the easypopulate.php file) http://www.oscommerce.com/community/contri...earch,sppc+2.78 Many thanks Adam :-)
  6. Hi MS2 SQLv5.0 SPPC v4.1 + Price Breaks v1.0 for SPPC v4.1 EP2.78 + SPPC + Price Breaks I have Easy Populate 2.78 With Sppc + Price Breaks, I can download & upload the SPPC with price breaks fine but just wondering how I can just upload a certain customers prices rather than the whole lot. i.e. At the minute I have 5 customers. Instead of uploading all 5 customer prices, I would like to upload customer 3's prices only. As you can see below the reason why I just want to work with 1 customers prices at a time it gets very complicated, as each group contains the following fields. In excel after the download, I deleted the following fields for customers _1,_2,_4 & _5 as shown below: *v_products_model* - Model is just at the start of fields for reference with EP v_customer_price_1 v_customer_group_id_1 v_products_price1_1 v_products_price2_1 v_products_price3_1 v_products_price4_1 v_products_price5_1 v_products_price6_1 v_products_price7_1 v_products_price8_1 v_products_price1_qty_1 v_products_price2_qty_1 v_products_price3_qty_1 v_products_price4_qty_1 v_products_price5_qty_1 v_products_price6_qty_1 v_products_price7_qty_1 v_products_price8_qty_1 v_products_qty_blocks_1 v_customer_price_2 v_customer_group_id_2 v_products_price1_2 and so on....... I have tried to upload a file with v_products_model + customer 3 fields but no prices change even though it says uploaded. It's as if you have to have every field which is included in the products_groups_table for the prices to change. Is there anyway around this problem ? Prices only change when you have all fields from Cutomer 1 to Customer 5 in the excel file. I have tried a few changes in the easypopulate.php but with no avail. i.e. disabling cutomers 1,2,4,5 under the special prices per customers section Anyone have any good ideas, I really hope you do :-) Many thanks Adam :-)
  7. Hi Hope someone can solve this problem Here is my setup OSC MS2 SQL v5.0 Separate Pricing Per Customer v4.1 & Quantity Price Breaks Per Product 1.11.3 for SPPC v4.1 This all works perfect :-) So then I searched for Easy Populate & found v2.78-MS2 by davide.duca + EP with SPPC and Price breaks for v2.78 by kthawat When I use EP to download the products, everything works great, all the fields are there for all my customer prices & also the prices for my quantity breaks. Brilliant !! BUT This is where the problem lies :-( When I come to upload my file with new prices the following error occurs: File uploaded. Temporary filename: /tmp/phpkDFLrv User filename: price test3.txt SIZE_EP1371 | 05CUTME115 | 10 | 0.96 | 0.5 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 25 | 30 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | 1 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 50 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | | | | | | | | | | | | | | | | | | | Updated | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No products_model field in record. This line was not imported. I have not changed anything in the file apart from prices & the v_products_model field is there but for some reason it is not picking it up. Any Ideas ? Thanks Adam :-)
  8. OK I'll try that, Thanks :-)
  9. Hi Hope someone out there can help Right this is where im at.... I first installed the simple price break contrib on OSC MS2 & everything works fine, http://www.oscommerce.com/community/contri...rch,price+break When a single item is purchased it gives 1 prices, buy more than 1 then another price is shown. Heres where my problem lies..... I now need to have seperate special prices for all of my customers so I found the SPPC 3.51, I installed the mod. & now it has stopped the simple price break module working & also the SPPC module doesn't work either. I understand the SPPC mod will have overwritten certain files in the simple price break mod but I dont have a clue where to start. All I am asking I suppose is...... Is there a module which will do all the above or can I incorporate them ? & if I am not asking enough already, I noticed in the SPPC you can only update product prices, I would really need to be able to put percentages on group prices aswell. Hope someone has the time to help me !! Many thanks in advance Adam :-)
  10. Hi Hope someone out there can help :( Right this is where im at.... I first installed the simple price break module on MS2 & everything works fine, buy an item at one price, purchase more than one of the same item & it brings up another price, checkout works & so does everything else. Heres where my problem lies..... I now need to have seperate special prices for all of my customers so I found the SPPC 3.51, I installed it & now it has stopped the simple price break module working & also the SPPC module doesn't work either. I understand the SPPC mod will have overwritten certain files in the simple price break mod but I dont have a clue where to start. All I am asking I suppose is...... Is there a module which will do all the above or can I incorporate them ? & if I am not asking enough already, I noticed in the SPPC you can only update product prices, I would really need to be able to put percentages on group prices aswell. Hope someone has the time to help me !! Many thanks in advance Adam :-)