Show/hide elements in product page

Question:
I would like to be able to show/hide my store pricing and add to cart button on product pages based on a user being logged in or out. I’ve done a bunch of research and can’t come up with a solution. Can you offer assistance?

Product:
Code in Velo via Editor

What are you trying to achieve:
I would like to be able to show/hide my store pricing and add to cart button on product pages based on a user being logged in or out. This is using the Wix Store app.

What have you already tried:
I can cover up the pricing on the page with an added box element that shows or hides based on the user being logged in. Here is a code example:
// Import the wix-users module for working with users.
import wixUsers from ‘wix-users’;

// Show/Hide Pricing based on member logged in
$w.onReady(() => {
if (wixUsers.currentUser.loggedIn) {
$w(‘#PriceBox’).hide();
} else {
$w(‘#PriceBox’).show();
}

});

Additional information:
The above example is a quick fix but doesn’t prevent SEO results from showing the pricing. It also doesn’t help me with the Add to Cart button Show/Hide. I can’t seem to find out or get to that element since it is in the backend of the store API.

I am not a coder but am learning as I go so explanations or ideas may need a little deeper instruction than a seasoned coder might need.

Thanks!