Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Leaderboard

Popular Content

Showing content with the highest reputation on 08/12/2017 in all areas

  1. burt

    One-Page / Guest Checkout

    My ethos is; Make it very simple for the customer to do things. As far as a checkout goes, what can be more simple than; login > choose shipping > choose payment > review order > complete It has been proven many times that a bite-size of cake, followed by a bite-size of cake...is far better than ramming a whole cake down ones throat. What I would like to see [in CORE]...which is sort of related... On shopping_cart.php a summary (estimated) shipping price, (estimated) taxes and so on. So they see their grand total prior to starting a checkout.
    4 points
  2. Here's a good article: https://www.smashingmagazine.com/2017/05/better-form-design-one-thing-per-page/ I might actually rework my checkout with this in mind.
    1 point
  3. Hey guys, enjoying this discussion.... Just wanted to point out, if you think it's relevant to OsC, Amazon (the largest ecom retailer in the world by far) doesn't use one page checkout. 4 super simple clean steps
    1 point
  4. raiwa

    QTPro BS

    I believe I found the problem: // do not decrement quantities if products_attributes_filename exists if (!$download_selected) { $stock_left = $stock_values['products_quantity'] - $actual_stock_bought; tep_db_query("UPDATE " . TABLE_PRODUCTS . " SET products_quantity = products_quantity - '" . $actual_stock_bought . "' WHERE products_id = '" . tep_get_prid($order->products[$i]['id']) . "'"); //++++ QT Pro: End Changed Code You have this part only included in the first post which I checked now. I believe the line which sets the product status to false is missing here. It should be added: if ( ($stock_left < 1) && (STOCK_ALLOW_CHECKOUT == 'false') ) { tep_db_query("update " . TABLE_PRODUCTS . " set products_status = '0' where products_id = '" . tep_get_prid($order->products[$i]['id']) . "'"); compare to the commented part you posted. In general you shouldn't change the way a code is modified. If you apply changes on your own, you make it much more difficult to give advice. If you wish to keep original code, keep a backup of the modified file.
    1 point
  5. IngoPhisto

    Warenkorb teilweise ausblenden

    OSC 2.3.4 Im Admin kann die Lagermenge (products.products_quantity) zur Anzeigeliste hinzugefügt werden. Das erzeugt allerding eine zusätzliche Spalte im Listing und ist wohl eher nicht gewollt. Die Einstellung wirkt sich auf alle Seiten aus, die includes/modules/product_listing.php zur Anzeige benutzen. Das sieht dann etwa so aus: // create column list $define_list = array('PRODUCT_LIST_MODEL' => PRODUCT_LIST_MODEL, 'PRODUCT_LIST_NAME' => PRODUCT_LIST_NAME, 'PRODUCT_LIST_MANUFACTURER' => PRODUCT_LIST_MANUFACTURER, 'PRODUCT_LIST_PRICE' => PRODUCT_LIST_PRICE, 'PRODUCT_LIST_QUANTITY' => PRODUCT_LIST_QUANTITY, 'PRODUCT_LIST_WEIGHT' => PRODUCT_LIST_WEIGHT, 'PRODUCT_LIST_IMAGE' => PRODUCT_LIST_IMAGE, 'PRODUCT_LIST_BUY_NOW' => PRODUCT_LIST_BUY_NOW); ... $select_column_list = ''; ... case 'PRODUCT_LIST_QUANTITY': $select_column_list .= 'p.products_quantity, '; break; Hier müsst Ihr das besagte Datenfeld ohne Bedingung in die Abfrageliste (die in der Variablen $select_column_list gesammelt wird) einfügen. Und natürlich die Option, dass es im Admin aktiviert wird, inaktiv setzen. $select_column_list = 'p.products_quantity, '; ... case 'PRODUCT_LIST_QUANTITY': //$select_column_list .= 'p.products_quantity, '; break; Sodann könnt Ihr im Listing zu jeder Zeit auf das Array-Element $listing['products_quantity'] zugreifen. PS: mir fallen derzeit ein: index.php und advanced_search_result.php
    1 point
×
×
  • Create New...