Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin admin setting update #214

Open
Asok17 opened this issue Mar 20, 2023 · 2 comments
Open

Plugin admin setting update #214

Asok17 opened this issue Mar 20, 2023 · 2 comments
Assignees
Labels
Update Update in the code

Comments

@Asok17
Copy link
Collaborator

Asok17 commented Mar 20, 2023

Till now we have two major tabs, Settings and Styles, in admin setting page of Addonify Wishlist. For every elements at the front-end, their settings were in both Settings and Styles. But in upcoming update, there will be tabs for every elements. Their general and design settings will be within their tab content.

In the new update, following will be the tabs:

  1. General
  2. Wishlist Button
  3. Wishlist Sidebar
  4. Wishlist Page
  5. Popup Modals
  6. Tools
  7. Premium
  8. Products

1. General

In the General tab, following are the settings and a section:

  • Enable Wishlist
  • Wishlist Page
  • Require Login
  • If not Login Action
  • After Add to Wishlist Action
  • Remove Product from Wishlist
  • Ajaxify Remove from Wishlist Action
  • Enable Styles from Plugin
  • Custom CSS

Product Removal Undo Notice

  • Text Before Undo Action Label
  • Undo Action Label
  • Undo Notice Timeout (in seconds)

2. Wishlist Button

In the WIshlist Button tab, there are two sections and following settings:

  • Button Position
  • Button Position on Product Single
  • Remove Added Product from Wishlist on Double Click
  • Custom CSS Classes
  • Background Color
  • Background Color on Hover

Button Labels

  • Add to Wishlist Button Label
  • Added to Wishlist Button Label
  • Already in Wishlist Button Label
  • Label Color
  • Label Color on Hover

Button Icon

  • Show Icon in Button
  • Button Icon Position
  • Icon Color
  • Icon Color on Hover

3. Wishlist Sidebar

In the Wishlist Sidebar tab, there is a section and following settings:

  • Show Sidebar
  • Sidebar Position
  • Sidebar Title
  • View Wishlist Page Button Label
  • Empty Wishlist Text in Sidebar
  • Overlay Background Color
  • Background Color
  • General Border Color
  • Title Color
  • Empty Wishlist Text Color
  • Close Icon Color
  • Close Icon Color on Hover

Sidebar Toggle Button

  • Sidebar Toggle Button Label
  • Sidebar Toggle Button Position Offset
  • Show Icon in Sidebar Toggle Button
  • Select Icon
  • Button Label Color
  • Button Label Color on Hover
  • Button Background Color
  • Button Background Color on Hover

Sidebar Product Colors

  • Title Color
  • Title Color on Hover
  • Regular Price Color
  • Sale Price Color
  • Add to Cart Button Label Color
  • Add to Cart Button Label Color on Hover
  • Add to Cart Button Background Color
  • Add to Cart Button Background Color on Hover
  • Remove Icon Color
  • Remove Icon Color on Hover

Wishlist Page

In Wishlist Page tab, there will be a section and following settings:

  • Empty Wishlist Text
  • Display Link
  • Link to Page
  • Link label

Clear Wishlist Button

  • Display Clear Wishlist Button
  • Button Label

Popup Modals

In Popup Modals tab, there will be following sections and settings:

  • Close Button Label

Added to Wishlist Modal

  • Product Added to Wishlist Text
  • Product Already in Wishlist Text
  • View Wishlist Button Link Label

Error Modal

  • Error Description

Login Modal

  • Login Description
  • Login Button Label

Modal Colors

  • Overlay Background Color
  • Background Color
  • Icon Color
  • Text Color
  • Button Label Color
  • Button Label Color on Hover
  • Button Background Color
  • Button Background Color on Hover
@Asok17 Asok17 added the Update Update in the code label Mar 20, 2023
@Asok17
Copy link
Collaborator Author

Asok17 commented Mar 20, 2023

We'll be creating a new API endpoint for getting above mentioned tabs, sections, and settings. Currently we have $rest_namespace, addonify_wishlist_options_api. The new API endpoint should have the namespace, addonify-wishlist-options-api/v2. The new route for getting options should be, /get-options.

@h1dd3nsn1p3r
Copy link
Collaborator

h1dd3nsn1p3r commented Mar 30, 2023

Migrate all endpoints to /v2/

  • update_options
  • export_options
  • reset_options
  • import_options

image

@diwakar2000

diwakar2000 added a commit that referenced this issue Mar 30, 2023
…age_by_title replaced with appropriate helper function

Updated: API url updated to new version and deprecated function get_page_by_title replaced with appropriate helper function
#214
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Update Update in the code
Projects
None yet
Development

No branches or pull requests

3 participants