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
  • 3496 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
  • 21562 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    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • Darius
  • Douchebag
  • Members
  • Join Date: 20-Apr 08
  • 3496 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>


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

Posted 17 December 2020 - 08:39 AM #4

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

 

this has changes in 4.12.1



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

Posted 17 December 2020 - 01:46 PM #5

I still see the code in PHP in 4.12 :)

 

https://prnt.sc/w4px5l


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    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

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

Posted 17 December 2020 - 01:52 PM #6

Probably, but now dispatch= format is gone in tpls

 

not smart enough to adjust it ;)

 

I still see the code in PHP in 4.12 :)

 

https://prnt.sc/w4px5l