Jump to content

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

Save And Close Rate Topic   - - - - -

 
  • becomarius
  • Senior Member
  • Members
  • Join Date: 09-Feb 12
  • 215 posts

Posted 14 January 2019 - 09:32 AM #1

I could miss, get used to it...product code field from products... but i really need SAVE & CLOSE bottom from product page :(

i can put it back ?!


CS Cart lovers


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

Posted 14 January 2019 - 02:05 PM #2

design/backend/templates/buttons/save_cancel.tpl

 

 

add 

 

{if !$hide_second_button && $cancel_action != "close"}
        {include file="buttons/button.tpl" but_text=$but_label2 but_role=$but_role but_name=$but_name but_meta="cm-save-and-close btn-primary `$but_meta`" but_onclick=$but_onclick allow_href=true}
{/if}

after

    {else}
        {assign var="skip_or" value=true}
    {/if}

The clear cache and check


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 руб.


 
  • becomarius
  • Senior Member
  • Members
  • Join Date: 09-Feb 12
  • 215 posts

Posted 14 January 2019 - 03:11 PM #3

I love you !  :grin:


CS Cart lovers


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

Posted 15 January 2019 - 06:00 AM #4

You are welcome! :)


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 руб.


 
  • becomarius
  • Senior Member
  • Members
  • Join Date: 09-Feb 12
  • 215 posts

Posted 23 February 2019 - 12:40 PM #5

And "product code" field can be added back ?!


CS Cart lovers


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

Posted 25 February 2019 - 07:23 AM #6

design/backend/templates/views/products/manage.tpl

 

Try to replace

                <div class="product-code">
                    <span class="product-code__label">{$product.product_code}</span>
                </div>

with

            <div class="product-code">
                <span class="product-code__label">{$product.product_code}</span>
                <input name="products_data[{$product.product_id}][product_code]" value="{$product.product_code}" class="input-short input-hidden{if $no_hide_input_if_shared_product} {$no_hide_input_if_shared_product}{/if}" />
            </div>

(!) 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 руб.


 
  • becomarius
  • Senior Member
  • Members
  • Join Date: 09-Feb 12
  • 215 posts

Posted 02 March 2019 - 09:12 PM #7

Works !

Thanks a lot


CS Cart lovers


 
  • becomarius
  • Senior Member
  • Members
  • Join Date: 09-Feb 12
  • 215 posts

Posted 10 July 2019 - 01:56 PM #8

Look at 4.9 sp3

 

don`t work changes for product code field


CS Cart lovers


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

Posted 11 July 2019 - 06:07 AM #9

Works for me. Do you use addon for non-responsive admin panel?

 

In this case changes should be made here

 

design/backend/templates/addons/old_adminpanel/overrides/views/products/manage.tpl


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 руб.


 
  • becomarius
  • Senior Member
  • Members
  • Join Date: 09-Feb 12
  • 215 posts

Posted 11 July 2019 - 06:26 AM #10

No... i don`t use old admin panel

But i have ULTIMATE version (multistore)


CS Cart lovers


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

Posted 11 July 2019 - 01:30 PM #11

May be some other 3rd party addons overrides this template?


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 руб.


 
  • becomarius
  • Senior Member
  • Members
  • Join Date: 09-Feb 12
  • 215 posts

Posted 12 July 2019 - 07:13 AM #12

I use addon only from ECL

 

But for other friends (other version 4.82) this change worked


CS Cart lovers


 
  • becomarius
  • Senior Member
  • Members
  • Join Date: 09-Feb 12
  • 215 posts

Posted 12 July 2019 - 11:54 AM #13

now working

 

was just the cache

sometime to click "clear cache" is not anough

I open and close "Rebuild cache automatically"

and now works


CS Cart lovers


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

Posted 12 July 2019 - 01:42 PM #14

Thank you for keeping us updated


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 руб.