-
Notifications
You must be signed in to change notification settings - Fork 64
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
Add Featured Product Image URL to Cart Endpoint #5
Comments
Please add featured url . Adding an extra field does not cause performance issue. Every cart show a image o product for that we need do an extra api call which make response time slow. so please add featured_image_url. #Request. |
@IntelliJAbhishek Just the featured image in its full size, thumbnail or all WooCommerce image sizes? |
@seb86 Just the featured image in its full size thumbnail would be great. |
I added this plugin but when I add product I'm Getting Some wornings products adds successful but getting warnings in postman. Response
|
@IntelliJAbhishek Please report issues or bugs related to the ticket. Also, I do not see anything related to those warnings with my API. |
Would it be practical for the featured product image URL to be added to the cart endpoint per product so you would not have to do another request to get it?
This is what the cart endpoint returns currently as default.
The same returns when
WC()->cart->get_cart();
is called but if you were to use the cart endpoint to display the products in the cart you don't have the featured product image to display with.So do think it would be ok to add this variable to each product in the cart or would it cause performance issues?
The text was updated successfully, but these errors were encountered: