frontends icon indicating copy to clipboard operation
frontends copied to clipboard

[FEATURE] pagination for order history in my account

Open mkucmus opened this issue 1 year ago • 5 comments

Description

pagination to change the current page if results are more than 10

Use Case

I want to see the pagination buttons on the bottom of the orders history page - when I'm logged-in

Proposed Solution

No response

Alternatives Considered

No response

Additional Context

No response

mkucmus avatar Apr 16 '24 11:04 mkucmus

@mkucmus, I would love to work on this. I have set it up locally but, when I am trying to register it is giving me an error "The value you selected is not a valid choice." Please lemme know how to resolve this.

khanSoliheen avatar Apr 16 '24 16:04 khanSoliheen

@mkucmus, I would love to work on this. I have set it up locally but, when I am trying to register it is giving me an error "The value you selected is not a valid choice." Please lemme know how to resolve this.

great you are going to take care of it!

if you are getting such error during registration you need to cheat on your api client by defining this value: https://github.com/shopware/frontends/blob/2ade07ad51944eebb7d1962c36823875cd5e959e/templates/vue-demo-store/nuxt.config.ts#L24

the domain should match the domains available in your sales channel, you can check it in the admin panel > sales channel settings > domains. Pick the domain you need and put it in your nuxt.config.ts file in the right place (the link above). That should help you 🙌🏼

mkucmus avatar Apr 17 '24 08:04 mkucmus

@mkucmus, Thank you for your assistance with the login issues. I've successfully created an account and logged in at https://frontends-demo.vercel.app/ and on my localhost. As I explore the platform, I have a few queries:

  1. Sales Channel Access: I couldn't find options for accessing or managing a sales channel. Could you guide me on how to access this feature?

  2. Test Ordering and Payment: Is there a way to test the ordering process without initiating actual payments? This feature would be helpful for thorough testing.

  3. Wishlist Pagination: The wishlist lacks pagination; are there plans to implement this feature, or should I proceed with adding it myself?

I look forward to your advice on these functionalities.

khanSoliheen avatar Apr 17 '24 16:04 khanSoliheen

@mkucmus, Thank you for your assistance with the login issues. I've successfully created an account and logged in at https://frontends-demo.vercel.app/ and on my localhost. As I explore the platform, I have a few queries:

  1. Sales Channel Access: I couldn't find options for accessing or managing a sales channel. Could you guide me on how to access this feature?

there is no access to our demo-store, you can set Shopware 6 up in your local machine and work with this instance to have a full control.

  1. Test Ordering and Payment: Is there a way to test the ordering process without initiating actual payments? This feature would be helpful for thorough testing.

You can use cash on delivery payment method to create an order without any payments

  1. Wishlist Pagination: The wishlist lacks pagination; are there plans to implement this feature, or should I proceed with adding it myself?

sure! let's create a ticket for that and proceed 👍🏼

I look forward to your advice on these functionalities.

good luck 🌟

mkucmus avatar Apr 18 '24 07:04 mkucmus

@mkucmus, It is done and raised a pull request. Please assign this enhancement to me. I guess there is an issue from api side. When I am sending limit and page. The total is coming as products.length. But, it should be count of total wishlisted items. Please lemme know if anythings else needs to be done.

khanSoliheen avatar Apr 21 '24 12:04 khanSoliheen

This feature is included in this https://github.com/shopware/frontends/pull/893 PR.

BrocksiNet avatar Jul 10 '24 12:07 BrocksiNet