Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Search the Community

Showing results for tags 'clear cart button in shopping cart'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News and Announcements
    • News and Announcements
  • osCommerce v4.x
    • General Support
    • Migration from old osCommerce
    • Design and Templates
    • Apps / Add-ons
    • Translations
    • API and import/export
    • Marketplace integration
    • Manuals and How-to
    • Blog's discussion
  • osCommerce Online Merchant v2.x
    • General Support
    • osCommerce Online Merchant Community Bootstrap Edition
    • Add-Ons
  • Development
  • General
    • General Discussions
    • Live Shop Reviews
    • Security
    • Commercial Support Inquiries
    • Developer Feedback

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Real Name


Location


Interests


Website

Found 1 result

  1. Dear @PiLLaO I am testing your addon Clear Cart Button In Shopping Cart (https://apps.oscommerce.com/hTxnj) in OsCommerce version 2.3.4.1 BS Edge But I get the following error: Error!Unable to determine connection method on a link! Known methods: NONSSL SSL The installation instructions are: 2. You need to add two lines of code into /includes/application_top.php Around line #418 Find: --------------------- case 'cust_order' : if (tep_session_is_registered('customer_id') && isset($HTTP_GET_VARS['pid'])) { . . . break; Right after it add these lines: ------------------------------ case 'clear_cart' : $cart->reset(true); break; 3. Add this line to /shopping_cart.php ====================================== Around line #136 Find: --------------------- <div class="buttonSet"> <div class="text-right"><?php echo tep_draw_button(IMAGE_BUTTON_CHECKOUT, 'fa fa-angle-right', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'), 'primary', NULL, 'btn-success'); ?></div> </div> Right before it add this line: ----------------------------- <div class="buttonSet row"> <div class="col-xs-6"><?php echo tep_draw_button(IMAGE_BUTTON_CLEAR_CART, 'fa fa-trash', tep_href_link(FILENAME_SHOPPING_CART, 'action=clear_cart', 'NOSSL'), 'secondary', array('params' => 'onclick="return confirm(\'' . CLEAR_CART . '\');"')); ?></div> <div class="col-xs-6 text-right"><?php echo tep_draw_button(IMAGE_BUTTON_CHECKOUT, 'fa fa-angle-right', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'), 'primary', NULL, 'btn-success'); ?></div> </div> 4. Add this line to /includes/languages/english.php =================================================== define('IMAGE_BUTTON_CLEAR_CART', 'Clear Cart'); define('CLEAR_CART',' To empty stand of purchases? '); But I get the following error: Any idea that would be wrong? Maybe this addon needs to be updated? Saludos Valqui
×
×
  • Create New...