- Posts: 80
- Thank you received: 10
Move OK button in product edit screen
4 years 9 months ago - 4 years 9 months ago #337584
by HSD
Move OK button in product edit screen was created by HSD
-- 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
-- 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
Last edit: 4 years 9 months ago by HSD.
Please Log in or Create an account to join the conversation.
4 years 9 months ago #337589
by nicolas
Replied by nicolas on topic Move OK button in product edit screen
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:
which displays the button, at the beginning, before the line:
Edit the file product / form_price_edit.php via the menu Display>Views for your backend template.
There, you want to move the code:
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>
Code:
<dl class="hika_options">
Please Log in or Create an account to join the conversation.
4 years 9 months ago #337640
by HSD
Replied by HSD on topic Move OK button in product edit screen
Works like a charm!
Thank you very much Nicolas!
Thank you very much Nicolas!
Please Log in or Create an account to join the conversation.
Time to create page: 0.167 seconds