- Posts: 640
- Thank you received: 16
Move to next product after save in Product Edition
- PeterChain
-
Topic Author
- Offline
Less
More
11 years 3 weeks ago #213584
by PeterChain
Move to next product after save in Product Edition was created by PeterChain
-- HikaShop version -- : 2.5
-- HikaMarket version -- : 1.6.5
-- Joomla version -- : 3.4.3
This is another feature request or Question about "how to" in the case is an easy tweak of code.
When making massive edition of items it turns a hassle to go each time back and forward from the product editing view to the product listing view.
Would be very useful to have the buttons in the toolbar offering a Save & Next and a Next.
Save & Next would move to the next product according to the product list from where I started product edition (so it would move to the next product in the same category).
Next would do the same without saving changes.
I wonder if this can be achieved with a slight code tweak for which then I ask you where to look at, and if not so simple I like to request this as an improvement for next versions.
Thank you.
-- HikaMarket version -- : 1.6.5
-- Joomla version -- : 3.4.3
This is another feature request or Question about "how to" in the case is an easy tweak of code.
When making massive edition of items it turns a hassle to go each time back and forward from the product editing view to the product listing view.
Would be very useful to have the buttons in the toolbar offering a Save & Next and a Next.
Save & Next would move to the next product according to the product list from where I started product edition (so it would move to the next product in the same category).
Next would do the same without saving changes.
I wonder if this can be achieved with a slight code tweak for which then I ask you where to look at, and if not so simple I like to request this as an improvement for next versions.
Thank you.
Please Log in or Create an account to join the conversation.
11 years 3 weeks ago #213591
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Move to next product after save in Product Edition
Hi,
You can use the parameters "cancel_action" and "cancel_url" to specify that the "cancel action" will be an "url" and the cancel_url will contain the URL where you want to redirect the user.
After that, the toolbar is, since several months, a view that you can override ; you can use an override to create your own buttons.
You can also use a plugin to add some content into the toolbar ; it is my preferred approach but the overrides are easier to create.
Regards,
You can use the parameters "cancel_action" and "cancel_url" to specify that the "cancel action" will be an "url" and the cancel_url will contain the URL where you want to redirect the user.
After that, the toolbar is, since several months, a view that you can override ; you can use an override to create your own buttons.
You can also use a plugin to add some content into the toolbar ; it is my preferred approach but the overrides are easier to create.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: PeterChain
Please Log in or Create an account to join the conversation.
- PeterChain
-
Topic Author
- Offline
Less
More
- Posts: 640
- Thank you received: 16
11 years 3 weeks ago #213629
by PeterChain
Replied by PeterChain on topic Move to next product after save in Product Edition
i will explore this. Thank you.
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.140 seconds