Jump to content

Robev

Members
  • Content count

    18
  • Joined

  • Last visited

About Robev

  • Birthday 05/23/1951

Profile Information

  • Real Name
    Robin Isaac
  • Location
    New Zealand
  • Interests
    Vintage Computer Equipment
  • Website
  1. Robev

    Dynamic SiteMap

    Thank you for the reply
  2. Robev

    Mail Validation

    Does anyone know of a Mail Validation Contribution that works with osCommerce Online Merchant Version 2.2 RC1? I know there is one that was done for an earlier realease of os Commerce but I couldn't get it to work with Version 2.2 RC1 because some of the php files that need to be modified are different in it to the earlier release. Any help very much appreciated Cheers, Robin
  3. Robev

    Dynamic SiteMap

    B) Umm, I hope this is not a dumb question but I am a bit new at this. I have installed this contribution and have it working with no problems. I want to submit my site to google with a site map. Can I just point google to the dynamic_sitemap.php file in my catalog directory or do I have to install a sitemap contribution that generates a xml file??? I would appreciate any replies that can put me right on this. Cheers all
  4. Robev

    Mail_Validation

    Can anyone tell me if they have this contribution working with osCommerce Merchant RC1 Release? I have started the install but the catalog\admin\index.php file in RC1 must have been changed from the previous version as I cannot find the edits that need to be changed manually. ie I am supposed to be able to find array('title' => REPORTS_ORDERS, 'link' => tep_href_link(FILENAME_STATS_CUSTOMERS, 'selected_box=reports')))), and replace it with array('title' => REPORTS_ORDERS, 'link' => tep_href_link(FILENAME_STATS_CUSTOMERS, 'selected_box=reports')), array('title' => BOX_REPORTS_NOT_VALID_USER, 'link' => tep_href_link(FILENAME_STATS_NOT_VALID_USER, 'selected_box=reports')))), however I cannot find that statement in the file. any help will be appreciated. Cheers all
  5. Robev

    Soldout button almost working

    Hi, you probably need to change the catalog/includes/modules/product_listing.php file as well. However I have recently installed this contribution http://www.oscommerce.com/community/contributions,4884/ which does the same thing as you want and is a later version. The instructions are excellent and it works like a charm.
  6. :) Hi Todd, I have installed this contribution on the latest release of osCommerce RC1. It is working beautifully and I am very happy with it. Thank you for your contribution. :) I quite often use a wsywig editor for doing product descriptions when adding new products to the store. Currently I just copy and past the code out of the wsywig editor to the product description window when adding a product and that works fine. Is there any way that tinyMCE could be used as an option for inserting the html code directly into the product description window? If so, do you know how it could be implemented, what files in oscommerce would need to be modified and would you be able to supply the code modifications? I look forward to a positive response and thank you once again for this contribution.
  7. Robev

    [Contrib] Make An Offer

    I am currently in the process of setting up a New Store and have installed this contrubution as I think it will be very useful to me, however I currently have a number of issues with it and I am hoping that I can get some help here please. I am not very conversant with programming in PHP. The issues I have are as follows: 1. I have set "Accept Offer Directly" to false under the administration menu but the Program still appears to accept offers automatically. I would have expected that once set to false that the buyer interface would have displayed the "make an offer button" on the product description but this does not occur, so this feature does not appear to work correctly on my installation. 2. When I change the "Maximum Allowed Offer percentage" to say 15% instead of the preset 20% the program still appears to accept offers of 20% so this feature does not appear to work correctly on my installation. 3. During installation and following the instructions in english I have come accross a few areas that have caused me problems: a.) on Page 6 of the installation instructions we are told to: Search For: 'products_price' => '', And Replace this with: 'products_price' => '', 'products_make_an_offer' => '', This made it fall over and so I have left it as standard at this time b.) on Page 20 of the installation instructions we are to to: In catalog/includes/classes/shopping_cart.php ADD global $currencies, $currency; AFTER function calculate() { However I was unable to locate that Instruction "function calculate() {" in my "catalog/includes/classes/shopping_cart.php" file. So I have had to omit that instruction at this time. c.) On Page 21 of the installation instructions we are told to: Still in catalog/includes/classes/shopping_cart.php add // Addition for Make An Offer if (MAO_ACCEPT_OFFER_DIRECTLY == 'true') { if (tep_session_is_registered('mao_accepted_offer')) { for ($k=0, $l=sizeof($_SESSION['mao_accepted_offer']); $k<$l; $k++) { $pos = strpos($prid,"{"); if ($pos === false) { if ($prid == $_SESSION['mao_accepted_offer'][$k]['productid']) { // Check for valuta change after an offer already has been made if (strcasecmp($_SESSION['mao_accepted_offer'][$k]['initialvaluta'],$currency) == 0) { // Valuta is the original valuta for the offer // We have to calculate back first as the currency class will // alwasy do a rate multiply. This is neccessary in case an offer // has been made in a non-default currency $rate = $currencies->currencies[$currency]['value']; $products_price = mao_priceoffer($_SESSION['mao_accepted_offer'][$k]['newprice'])/$rate; } else { // Neccessary to keep the correct amount if a customer // switches between different valuta $products_price = mao_priceoffer($_SESSION['mao_accepted_offer'][$k]['newprice'])*(1/$currencies->currencies[$_SESSION['mao_accepted_offer'][$k]['initialvaluta']]['value']); } break; } } else { if (substr($prid,0,$pos) == $_SESSION['mao_accepted_offer'][$k]['productid']) { // Check for valuta change after an offer already has been made if (strcasecmp($_SESSION['mao_accepted_offer'][$k]['initialvaluta'],$currency) == 0) { // Valuta is the original valuta for the offer // We have to calculate back first as the currency class will // alwasy do a rate multiply. This is neccessary in case an offer // has been made in a non-default currency $rate = $currencies->currencies[$currency]['value']; $products_price = mao_priceoffer($_SESSION['mao_accepted_offer'][$k]['newprice'])/$rate + $cart->attributes_price($prid); } else { // Neccessary to keep the correct amount if a customer // switches between different valuta $products_price = mao_priceoffer($_SESSION['mao_accepted_offer'][$k]['newprice'])*(1/$currencies->currencies[$_SESSION['mao_accepted_offer'][$k]['initialvaluta']]['value']) + $cart->attributes_price($prid); } break; } } } } } just before $products_array[] = array('id' => $products_id, 'name' => $products['products_name'], 'model' => $products['products_model'], 'image' => $products['products_image'], 'price' => $products_price, 'quantity' => $this->contents[$products_id]['qty'], 'weight' => $products['products_weight'], 'final_price' => ($products_price + $this->attributes_price($products_id)), 'tax_class_id' => $products['products_tax_class_id'], 'attributes' => (isset($this->contents[$products_id]['attributes']) ? $this->contents[$products_id]['attributes'] : '')); However this instruction makes the program come up with a division by 0 error when a customer uses the "Make an Offer" when it is used. When Omitting this modification everything seems to work fine. I am only using english as a language on my site and only US dollars as currency. Any Help I can get getting this great contribution to work properly would be greatly appreciated. Cheers all
×