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

Unable to update featured images #105

Open
joshnay opened this issue Oct 1, 2020 · 1 comment
Open

Unable to update featured images #105

joshnay opened this issue Oct 1, 2020 · 1 comment

Comments

@joshnay
Copy link

joshnay commented Oct 1, 2020

When changing product featured image, the image stays at the SVG default and does not update to the new image.

@Its-Maxter
Copy link

A temporary fix for this might be going into the class-product-icons.php file and replacing the SVG code for the products with

'<div class="rstore-custom-icons"><img src="https://via.placeholder.com/150"></img></div>'

And switching the placeholder URL to the featured image URL. I'm sure there's an easy way to use PHP to automatically get the post's featured image, so if anyone reading this makes an easier way, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants