Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

crash3903

Pioneers
  • Posts

    1,791
  • Joined

  • Last visited

Posts posted by crash3903

  1. Hi,

     

    I'm trying to modify part of my checking out process on my store which uses the MVS contrib.

     

    When the customer goes through the checkout and does not select a shipping method, an error message appears at the top of the page, such as "ERROR_NO_SHIPPING_SELECTED_SELECTED". This message is actioned from "mystore.com/checkout_payment.php" and seems to be actioned from the code below (I may be wrong though);

     

      // MVS start if a shipping method has not been selected for all vendors, redirect the customer to the shipping method selection page
     if (SELECT_VENDOR_SHIPPING == 'true') { // This test only works under MVS
    	 if (!is_array ($shipping['vendor']) || count ($shipping['vendor']) != count ($cart->vendor_shipping)) { // No shipping selected or not all selected
    		  tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, 'error_message=' . ERROR_NO_SHIPPING_SELECTED_SELECTED, 'SSL'));
    		  }
    	   } // MVS end

    In the language folder is "mystore.com/includes/languages/english/checkout_payment.php" but there was no 'define' for "ERROR_NO_SHIPPING_SELECTED_SELECTED" so I've added

     

    define('ERROR_NO_SHIPPING_SELECTED_SELECTED', 'new text message');

    When testing, I still get "ERROR_NO_SHIPPING_SELECTED_SELECTED", rather than my new text.

     

    Should I include some sort of 'include' line at the top of the page?

     

    Can anyone guide me further on the above please?

     

    Thanks in advance for any help and guidance.

     

    have you set up shipping methods for the vendors?

  2. This is the feedback mysql give me:

     

    SQL query:

     

    ALTER TABLE `products` ADD `products_image_med` VARCHAR( 64 ) AFTER `products_image` ;

     

    MySQL said: Documentation

    #1060 - Duplicate column name 'products_image_med'

     

    looks like you have already run the sql as that is saying the column already exists

  3. Is there a forum out there that would fit my needs and could be recommended. People that I can talk with to learn how to work on the OC Commerence program that my site is on?

     

    I don't want to get in a support group with people that I will frustrate from my lack of knowledge but hope to find one that can be patient as I learn. :'(

     

    This forum is just the ticket for what you want ;)

     

    I have a manual I can send you if you want it - It is for a loaded version of oscommerce we developed but it includes all the basics as well

     

    Regards

  4. Is there any system to rate the contributions? I look in the library, and there are dozens of contributions that appear to have duplicate functions (i.e. SEO & search-engine friendly URL's). Almost all of the contributions seem to have numerous "bug fixes"--so how do you tell when one is finally functional? (Do any of the contributors actually test their work thoroughly before posting?) Is there a way to tell if two seemingly identical contributions have been subjectively compared?

     

    Not trying to be negative, but trying to figure out how to select one.

     

    Thanks!

     

    yes

  5. What about doing this?

     

    ALTER TABLE `customers` MODIFY COLUMN `customers_password` VARCHAR(40);

     

    ALTER TABLE `orders` ADD COLUMN `customers_dummy_account` TINYINT UNSIGNED NOT NULL AFTER `customers_address_format_id`;

     

    See if that helps

     

    Regards

  6. Read the install instructions again - you have missed an edit probably in a functions file

     

    Probably this one in includes/functions/general.php

     

    ////rmh referral

    // Returns an array with sources

    // TABLES: sources

    function tep_get_sources($sources_id = '') {

    $sources_array = array();

    if (tep_not_null($sources_id)) {

    $sources = tep_db_query("select sources_name from " . TABLE_SOURCES . " where sources_id = '" . (int)$sources_id . "'");

    $sources_values = tep_db_fetch_array($sources);

    $sources_array = array('sources_name' => $sources_values['sources_name']);

    } else {

    $sources = tep_db_query("select sources_id, sources_name from " . TABLE_SOURCES . " order by sources_name");

    while ($sources_values = tep_db_fetch_array($sources)) {

    $sources_array[] = array('sources_id' => $sources_values['sources_id'],

    'sources_name' => $sources_values['sources_name']);

    }

    }

     

    return $sources_array;

    }

  7. this is in norwegian: "bataling mottatt" (payment received) is what the PayPal contribution is told to set when ok.

     

    Image below shows one OK payment "verified 420kr", please note column 2, row 2 "kunden er varslet"(notify customer) - customer got his order confirmation, and stock is reduced.

     

    payment2-ok.png

     

    Second image shows another OK payment, "unverified 103kr" ,please note column 2, row 3, "kunden er varslet"(notify customer) - customer got his order confirmation, and stock is reduced.

     

    payment1-ok.png

    Third image shows a *failed*, customer have never been notified about the order, nor is the stock reduced. - there is no green symbol in the "kunden er varslet(customer notified) column.

     

    payment3-notok.png

    I have learned:

    -verified/unverified , have nothing to do with it.

    -the notification can be sent before, or after the "paypal IPN verified" line is logged

    -some orders, for unknown reason, does not reduce stock ad they should.

     

    Why ? - does some orders stop before notifying cuatomer/reducing stock. ?

     

    Please help. - selling many small parts, and having to update stock manually, is a big problem to me .

     

    Thank you.

     

     

    Admin/Configuration/Stock Check to make sure the stock is subtracted when products are ordered

     

    paypal problem => Are you using the paypal payment module that comes with osc?

  8. I created the template.

    Well, it's not a real template I guess.

    I only changed the colors and logo in stylesheet.css.

     

    The version is oscommerce-2.2ms2-060817 (or at least thats the name of the package where it went).

     

    In your file

     

    admin/includes/functions/compatibility.php

     

    Look for (Towards the top)

     

    function do_magic_quotes_gpc(&$ar) {

    if (!is_array($ar)) return false;

     

    while (list($key, $value) = each($ar)) {

    if (is_array($ar[$key])) {

    do_magic_quotes_gpc($ar[$key]);

    } else {

    $ar[$key] = addslashes($value);

    }

    }

    }

     

    Change it to

     

    function do_magic_quotes_gpc(&$ar) {

    if (!is_array($ar)) return false;

     

    while (list($key, $value) = each($ar)) {

    if (is_array($ar[$key])) {

    do_magic_quotes_gpc($ar[$key]);

    } else {

    $ar[$key] = addslashes($value);

    }

    }

    reset($ar);

    }

     

     

    Adding in the reset($ar);

     

    Do the same in includes/functions/compatibility.php

     

    try that and see if it works

     

    regards

  9. Hi Richard

     

    In your index.php file in the root of your site look for this

     

    <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

     

    Change it to read (By adding 2 // after the <?php tag)

     

    <?php //require(DIR_WS_INCLUDES . 'column_right.php'); ?>

     

    Same goes for the left

     

    <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

     

    <?php //require(DIR_WS_INCLUDES . 'column_left.php'); ?>

     

    That should fix your layout

  10. hi,

     

    on www.yoox.com i have seen i naice feature: last minute

    this feature shows the live the last order items at www.yoox.com

    a visitor can see what has been last order by other visitors and from which country. The feature is changing every few seconds on the main page.

     

    Are there people who have seen something like this for oscommerce? or is there somebody who knows how to build this....

     

    Thanks Marcel

     

    yes

×
×
  • Create New...