Move OK button in product edit screen

  • Posts: 24
  • Thank you received: 2
1 month 3 weeks ago #337584

-- HikaShop version -- : 4.4.3
-- Joomla version -- : 3.10.3
-- PHP version -- : 7.4.9
-- Browser(s) name and version -- : ?
-- Error-message(debug-mod must be tuned on) -- : No error message

Hi Hika Team, as I mentioned before I sell products from a brochure most of which prices are different every month. I have to change about 500-600 prices every month (if not even more).
In the product edit screen, the OK button is just outside the screen for me so that I have to scroll down every time to click OK.
Normally thats not such a problem, but it is when you have to change the prices of hundreds of products every month, and you therefore have to scroll down hundreds of times to click OK.

I would like to have the OK button moved up so that I can click OK as soon as I change the price.
I already tried to move the button in the backend view but that didn't change anything.
Is there a way to move the OK button near the price so that I don't have to scroll down every time I change the price?

Thanks in advance!

Edit: In december it's almost 1000 products. Forgot one 0 in my attachment ;-)

Attachments:
Last edit: 1 month 3 weeks ago by HSD.

Please Log in or Create an account to join the conversation.

  • Posts: 74595
  • Thank you received: 11508
  • MODERATOR
1 month 2 weeks ago #337589

Hi,

Edit the file product / form_price_edit.php via the menu Display>Views for your backend template.
There, you want to move the code:

<div style="float:right">
	<button onclick="return window.productMgr.addPrice('<?php echo $this->form_key; ?>');" class="btn btn-success">
		<i class="fa fa-save"></i> <?php echo JText::_('HIKA_OK'); ;?>
	</button>
</div>
which displays the button, at the beginning, before the line:
<dl class="hika_options">

Please Log in or Create an account to join the conversation.

  • Posts: 24
  • Thank you received: 2
1 month 2 weeks ago #337640

Works like a charm!
Thank you very much Nicolas!

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum