Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Bulk Cc Info Remover? Rate Topic   - - - - -

 
  • Darius
  • Douchebag
  • Members
  • Join Date: 20-Apr 08
  • 3157 posts

Posted 21 June 2018 - 02:27 PM #1

Is there such?

 

For some orders need to keep info for little longer, but not too long, just to double check

 

there could be

 

bulk select orders

admin.php?dispatch=orders.manage

dropdown menu remove cc info. I think such feature was available long time ago.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17613 posts

Posted 22 June 2018 - 06:50 AM #2

Looks like code was removed from template only. PHP part is still there

 

http://prntscr.com/jxwwja

 

Try to open design/backend/templates/views/orders/manage.tpl and 

 

add 

<li>{btn type="list" dispatch="dispatch[orders.remove_cc_info]" form="orders_list_form" class="cm-ajax cm-confirm"}</li>

after

<li>{btn type="delete_selected" dispatch="dispatch[orders.m_delete]" form="orders_list_form"}</li>

(!) Not tested


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • Darius
  • Douchebag
  • Members
  • Join Date: 20-Apr 08
  • 3157 posts

Posted 10 July 2018 - 06:50 AM #3

Thanks again for help!

 

Added line like such

{capture name="buttons"}
    {capture name="tools_list"}
        {if $orders}
            <li>{btn type="list" text={__("bulk_print_invoice")} dispatch="dispatch[orders.bulk_print]" form="orders_list_form" class="cm-new-window"}</li>
            <li>{btn type="list" text={__("bulk_print_pdf")} dispatch="dispatch[orders.bulk_print..pdf]" form="orders_list_form"}</li>
            <li>{btn type="list" text={__("bulk_print_packing_slip")} dispatch="dispatch[orders.packing_slip]" form="orders_list_form" class="cm-new-window"}</li>
            <li>{btn type="list" text={__("view_purchased_products")} dispatch="dispatch[orders.products_range]" form="orders_list_form"}</li>
	    <li>{btn type="list" text={__("remove_cc_info")} dispatch="dispatch[orders.remove_cc_info]" form="orders_list_form" class="cm-ajax cm-confirm"}</li>