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
  • 152 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
  • 18909 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
  • 152 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
  • 18909 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
  • 152 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
  • 18909 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
  • 152 posts

Posted 02 March 2019 - 09:12 PM #7

Works !

Thanks a lot


CS Cart lovers