Support » Plugin: Pay For Post with WooCommerce » Showing too many related product in homepage

  • Resolved miinalee

    (@miinalee)


    Hi, Pay for Post has been a great help for my staging website so far. At first, it works really smoothly, the cart only shows after I click the post and it allows the post to show the excerpt of the post as the teaser for the reader. But I am not sure what happened, now the homepage will not show the excerpt instead of showing all the product thumbnail which taking too much space. Is there anything I can do with this?

    11111111

    • This topic was modified 7 months ago by miinalee.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Matt Pramschufer

    (@mattpramschufer)

    @miinalee So that is the standard woocommerce shortcode [product ids=PRODUCT IDS] So you are saying that you had those products listed out as a list without the images previously? Did you change anything on your site related to woocommerce? How did you have the list outputted before? There is nothing in my plugin which would change the way that standard shortcode works.

    Thread Starter miinalee

    (@miinalee)

    Previously it does not even show the product on the homepage, so I can use the excerpt as a summary of the story. The product only shows after someone clicks and going into the single page. I’m not making any change to Woocommerce, tried to find the problem and I see is this;

    <div class="entry-content" itemprop="text">
    			<div class="wc_ppp_paywall"><h1>Oops, Restricted Content</h1><p>We are sorry but this post is restricted to folks that have purchased this page.</p><p><div class="woocommerce columns-4 "><ul class="products columns-4">
    <li class="product type-product post-4473 status-publish first instock product_cat-paid-content has-post-thumbnail shipping-taxable purchasable product-type-simple">
    	<a href="http://alittlebitsofeverything.tech/product/braven-12-disclosure-m-rated-chapter/" class="woocommerce-LoopProduct-link woocommerce-loop-product__link"><img width="300" height="300" src="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-300x300.png" class="attachment-woocommerce_thumbnail size-woocommerce_thumbnail" alt="" loading="lazy" srcset="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-300x300.png 300w, http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-100x100.png 100w" sizes="(max-width: 300px) 100vw, 300px" /><h2 class="woocommerce-loop-product__title">Braven – 12 – Disclosure – M Rated Chapter</h2><span class="on-woo-wallet-cashback" style="display:none;"></span><div class="star-rating"><span style="width:0%">Rated <strong class="rating">0</strong> out of 5</span></div>
    	<span class="price"><span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">Rp</span>&nbsp;1,000</bdi></span></span>
    </a><a href="?add-to-cart=4473" data-quantity="1" class="button product_type_simple add_to_cart_button ajax_add_to_cart" data-product_id="4473" data-product_sku="" aria-label="Add &ldquo;Braven - 12 - Disclosure - M Rated Chapter&rdquo; to your cart" rel="nofollow">Add to cart</a></li>
    <li class="product type-product post-4470 status-publish instock product_cat-paid-content has-post-thumbnail shipping-taxable purchasable product-type-simple">
    	<a href="http://alittlebitsofeverything.tech/product/braven-13-enamour-m-rated-chapter/" class="woocommerce-LoopProduct-link woocommerce-loop-product__link"><img width="300" height="300" src="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-300x300.png" class="attachment-woocommerce_thumbnail size-woocommerce_thumbnail" alt="" loading="lazy" srcset="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-300x300.png 300w, http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-100x100.png 100w" sizes="(max-width: 300px) 100vw, 300px" /><h2 class="woocommerce-loop-product__title">Braven – 13 – Enamour – M Rated Chapter</h2><span class="on-woo-wallet-cashback" style="display:none;"></span><div class="star-rating"><span style="width:0%">Rated <strong class="rating">0</strong> out of 5</span></div>
    	<span class="price"><span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">Rp</span>&nbsp;1,000</bdi></span></span>
    </a><a href="?add-to-cart=4470" data-quantity="1" class="button product_type_simple add_to_cart_button ajax_add_to_cart" data-product_id="4470" data-product_sku="" aria-label="Add &ldquo;Braven - 13 - Enamour - M Rated Chapter&rdquo; to your cart" rel="nofollow">Add to cart</a></li>
    <li class="product type-product post-4469 status-publish instock product_cat-paid-content has-post-thumbnail shipping-taxable purchasable product-type-simple">
    	<a href="http://alittlebitsofeverything.tech/product/braven-9-synthesis-m-rated-chapter/" class="woocommerce-LoopProduct-link woocommerce-loop-product__link"><img width="300" height="300" src="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-300x300.png" class="attachment-woocommerce_thumbnail size-woocommerce_thumbnail" alt="" loading="lazy" srcset="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-300x300.png 300w, http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-100x100.png 100w" sizes="(max-width: 300px) 100vw, 300px" /><h2 class="woocommerce-loop-product__title">Braven – 9 – Synthesis – M Rated Chapter</h2><span class="on-woo-wallet-cashback" style="display:none;"></span><div class="star-rating"><span style="width:0%">Rated <strong class="rating">0</strong> out of 5</span></div>
    	<span class="price"><span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">Rp</span>&nbsp;1,000</bdi></span></span>
    </a><a href="?add-to-cart=4469" data-quantity="1" class="button product_type_simple add_to_cart_button ajax_add_to_cart" data-product_id="4469" data-product_sku="" aria-label="Add &ldquo;Braven - 9 - Synthesis - M Rated Chapter&rdquo; to your cart" rel="nofollow">Add to cart</a></li>
    <li class="product type-product post-4479 status-publish last instock product_cat-paid-content has-post-thumbnail shipping-taxable purchasable product-type-simple">
    	<a href="http://alittlebitsofeverything.tech/product/braven-14-credence-m-rated-chapter/" class="woocommerce-LoopProduct-link woocommerce-loop-product__link"><img width="300" height="300" src="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-300x300.png" class="attachment-woocommerce_thumbnail size-woocommerce_thumbnail" alt="" loading="lazy" srcset="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-300x300.png 300w, http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-100x100.png 100w" sizes="(max-width: 300px) 100vw, 300px" /><h2 class="woocommerce-loop-product__title">Braven – 14 – Credence – M Rated Chapter</h2><span class="on-woo-wallet-cashback" style="display:none;"></span><div class="star-rating"><span style="width:0%">Rated <strong class="rating">0</strong> out of 5</span></div>
    	<span class="price"><span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">Rp</span>&nbsp;1,000</bdi></span></span>
    </a><a href="?add-to-cart=4479" data-quantity="1" class="button product_type_simple add_to_cart_button ajax_add_to_cart" data-product_id="4479" data-product_sku="" aria-label="Add &ldquo;Braven – 14 – Credence – M Rated Chapter&rdquo; to your cart" rel="nofollow">Add to cart</a></li>
    <li class="product type-product post-4480 status-publish first instock product_cat-paid-content has-post-thumbnail shipping-taxable purchasable product-type-simple">
    	<a href="http://alittlebitsofeverything.tech/product/braven-15-bestow-m-rated-chapter/" class="woocommerce-LoopProduct-link woocommerce-loop-product__link"><img width="300" height="300" src="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-300x300.png" class="attachment-woocommerce_thumbnail size-woocommerce_thumbnail" alt="" loading="lazy" srcset="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-300x300.png 300w, http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-100x100.png 100w" sizes="(max-width: 300px) 100vw, 300px" /><h2 class="woocommerce-loop-product__title">Braven – 15 – Bestow – M Rated Chapter</h2><span class="on-woo-wallet-cashback" style="display:none;"></span><div class="star-rating"><span style="width:0%">Rated <strong class="rating">0</strong> out of 5</span></div>
    	<span class="price"><span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">Rp</span>&nbsp;1,000</bdi></span></span>
    </a><a href="?add-to-cart=4480" data-quantity="1" class="button product_type_simple add_to_cart_button ajax_add_to_cart" data-product_id="4480" data-product_sku="" aria-label="Add &ldquo;Braven – 15 – Bestow – M Rated Chapter&rdquo; to your cart" rel="nofollow">Add to cart</a></li>
    <li class="product type-product post-4478 status-publish instock product_cat-paid-content has-post-thumbnail shipping-taxable purchasable product-type-simple">
    	<a href="http://alittlebitsofeverything.tech/product/braven-25-bonding-m-rated-chapter/" class="woocommerce-LoopProduct-link woocommerce-loop-product__link"><img width="300" height="300" src="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-300x300.png" class="attachment-woocommerce_thumbnail size-woocommerce_thumbnail" alt="" loading="lazy" srcset="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-300x300.png 300w, http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-100x100.png 100w" sizes="(max-width: 300px) 100vw, 300px" /><h2 class="woocommerce-loop-product__title">Braven – 25 – Bonding – M Rated Chapter</h2><span class="on-woo-wallet-cashback" style="display:none;"></span><div class="star-rating"><span style="width:0%">Rated <strong class="rating">0</strong> out of 5</span></div>
    	<span class="price"><span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">Rp</span>&nbsp;1,000</bdi></span></span>
    </a><a href="?add-to-cart=4478" data-quantity="1" class="button product_type_simple add_to_cart_button ajax_add_to_cart" data-product_id="4478" data-product_sku="" aria-label="Add &ldquo;Braven – 25 – Bonding – M Rated Chapter&rdquo; to your cart" rel="nofollow">Add to cart</a></li>
    <li class="product type-product post-4465 status-publish instock product_cat-paid-content has-post-thumbnail shipping-taxable purchasable product-type-simple">
    	<a href="http://alittlebitsofeverything.tech/product/braven-26-flinch-m-rated-chapter/" class="woocommerce-LoopProduct-link woocommerce-loop-product__link"><img width="300" height="300" src="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-300x300.png" class="attachment-woocommerce_thumbnail size-woocommerce_thumbnail" alt="" loading="lazy" srcset="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-300x300.png 300w, http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-100x100.png 100w" sizes="(max-width: 300px) 100vw, 300px" /><h2 class="woocommerce-loop-product__title">Braven – 26 – Flinch – M Rated Chapter</h2><span class="on-woo-wallet-cashback" style="display:none;"></span><div class="star-rating"><span style="width:0%">Rated <strong class="rating">0</strong> out of 5</span></div>
    	<span class="price"><span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">Rp</span>&nbsp;1,000</bdi></span></span>
    </a><a href="?add-to-cart=4465" data-quantity="1" class="button product_type_simple add_to_cart_button ajax_add_to_cart" data-product_id="4465" data-product_sku="" aria-label="Add &ldquo;Braven – 26 – Flinch – M Rated Chapter&rdquo; to your cart" rel="nofollow">Add to cart</a></li>
    <li class="product type-product post-4585 status-publish last instock product_cat-paid-content has-post-thumbnail shipping-taxable purchasable product-type-simple">
    	<a href="http://alittlebitsofeverything.tech/product/cursed-crown-5-m/" class="woocommerce-LoopProduct-link woocommerce-loop-product__link"><img width="300" height="300" src="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-1-300x300.png" class="attachment-woocommerce_thumbnail size-woocommerce_thumbnail" alt="" loading="lazy" srcset="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-1-300x300.png 300w, http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-1-100x100.png 100w" sizes="(max-width: 300px) 100vw, 300px" /><h2 class="woocommerce-loop-product__title">Cursed Crown – 5 (M)</h2><span class="on-woo-wallet-cashback" style="display:none;"></span><div class="star-rating"><span style="width:0%">Rated <strong class="rating">0</strong> out of 5</span></div>
    	<span class="price"><span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">Rp</span>&nbsp;1,000</bdi></span></span>
    </a><a href="?add-to-cart=4585" data-quantity="1" class="button product_type_simple add_to_cart_button ajax_add_to_cart" data-product_id="4585" data-product_sku="" aria-label="Add &ldquo;Cursed Crown - 5 (M)&rdquo; to your cart" rel="nofollow">Add to cart</a></li>
    <li class="product type-product post-4592 status-publish first instock product_cat-paid-content has-post-thumbnail shipping-taxable purchasable product-type-simple">
    	<a href="http://alittlebitsofeverything.tech/product/cursed-crown-10-m/" class="woocommerce-LoopProduct-link woocommerce-loop-product__link"><img width="300" height="300" src="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-1-300x300.png" class="attachment-woocommerce_thumbnail size-woocommerce_thumbnail" alt="" loading="lazy" srcset="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-1-300x300.png 300w, http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-1-100x100.png 100w" sizes="(max-width: 300px) 100vw, 300px" /><h2 class="woocommerce-loop-product__title">Cursed Crown 10 – M</h2><span class="on-woo-wallet-cashback" style="display:none;"></span><div class="star-rating"><span style="width:0%">Rated <strong class="rating">0</strong> out of 5</span></div>
    	<span class="price"><span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">Rp</span>&nbsp;1,500</bdi></span></span>
    </a><a href="?add-to-cart=4592" data-quantity="1" class="button product_type_simple add_to_cart_button ajax_add_to_cart" data-product_id="4592" data-product_sku="" aria-label="Add &ldquo;Cursed Crown 10 - M&rdquo; to your cart" rel="nofollow">Add to cart</a></li>
    <li class="product type-product post-4608 status-publish instock product_cat-paid-content has-post-thumbnail shipping-taxable purchasable product-type-simple">
    	<a href="http://alittlebitsofeverything.tech/product/cursed-crown-13/" class="woocommerce-LoopProduct-link woocommerce-loop-product__link"><img width="300" height="300" src="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-1-300x300.png" class="attachment-woocommerce_thumbnail size-woocommerce_thumbnail" alt="" loading="lazy" srcset="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-1-300x300.png 300w, http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-1-100x100.png 100w" sizes="(max-width: 300px) 100vw, 300px" /><h2 class="woocommerce-loop-product__title">Cursed Crown 14</h2><span class="on-woo-wallet-cashback" style="display:none;"></span><div class="star-rating"><span style="width:0%">Rated <strong class="rating">0</strong> out of 5</span></div>
    	<span class="price"><span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">Rp</span>&nbsp;2,000</bdi></span></span>
    </a><a href="?add-to-cart=4608" data-quantity="1" class="button product_type_simple add_to_cart_button ajax_add_to_cart" data-product_id="4608" data-product_sku="" aria-label="Add &ldquo;Cursed Crown 14&rdquo; to your cart" rel="nofollow">Add to cart</a></li>
    <li class="product type-product post-4609 status-publish instock product_cat-paid-content has-post-thumbnail shipping-taxable purchasable product-type-simple">
    	<a href="http://alittlebitsofeverything.tech/product/cursed-crown-21/" class="woocommerce-LoopProduct-link woocommerce-loop-product__link"><img width="300" height="300" src="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-1-300x300.png" class="attachment-woocommerce_thumbnail size-woocommerce_thumbnail" alt="" loading="lazy" srcset="http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-1-300x300.png 300w, http://alittlebitsofeverything.tech/wp-content/uploads/2020/12/Ombre-Blue-Sky-Facebook-Post-1-100x100.png 100w" sizes="(max-width: 300px) 100vw, 300px" /><h2 class="woocommerce-loop-product__title">Cursed Crown 21</h2><span class="on-woo-wallet-cashback" style="display:none;"></span><div class="star-rating"><span style="width:0%">Rated <strong class="rating">0</strong> out of 5</span></div>
    	<span class="price"><span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">Rp</span>&nbsp;2,000</bdi></span></span>
    </a><a href="?add-to-cart=4609" data-quantity="1" class="button product_type_simple add_to_cart_button ajax_add_to_cart" data-product_id="4609" data-product_sku="" aria-label="Add &ldquo;Cursed Crown 21&rdquo; to your cart" rel="nofollow">Add to cart</a></li>
    <li class="product type-product post-4116 status-publish last instock product_cat-paid-content has-post-thumbnail sale virtual purchasable product-type-simple">
    	<a href="http://alittlebitsofeverything.tech/product/kitty-kitty-baby/" class="woocommerce-LoopProduct-link woocommerce-loop-product__link">
    	<span class="onsale">Sale!</span>
    	<img width="300" height="300" src="http://alittlebitsofeverything.tech/wp-content/uploads/2020/04/Buku-4-scaled-e1586371680371-300x300.jpg" class="attachment-woocommerce_thumbnail size-woocommerce_thumbnail" alt="" loading="lazy" srcset="http://alittlebitsofeverything.tech/wp-content/uploads/2020/04/Buku-4-scaled-e1586371680371-300x300.jpg 300w, http://alittlebitsofeverything.tech/wp-content/uploads/2020/04/Buku-4-scaled-e1586371680371-150x150.jpg 150w, http://alittlebitsofeverything.tech/wp-content/uploads/2020/04/Buku-4-scaled-e1586371680371-100x100.jpg 100w" sizes="(max-width: 300px) 100vw, 300px" /><h2 class="woocommerce-loop-product__title">Kitty Kitty, Baby! All Access (Bundle)</h2><span class="on-woo-wallet-cashback" style="display:none;"></span><div class="star-rating"><span style="width:0%">Rated <strong class="rating">0</strong> out of 5</span></div>
    	<span class="price"><del><span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">Rp</span>&nbsp;160,000</bdi></span></del> <ins><span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">Rp</span>&nbsp;40,000</bdi></span></ins></span>
    </a><a href="?add-to-cart=4116" data-quantity="1" class="button product_type_simple add_to_cart_button ajax_add_to_cart" data-product_id="4116" data-product_sku="" aria-label="Add &ldquo;Kitty Kitty, Baby! All Access (Bundle)&rdquo; to your cart" rel="nofollow">Add to cart</a></li>
    </ul>
    Thread Starter miinalee

    (@miinalee)

    I manage to fix this with shortcode, but now the new issue. It shows a different product in the front end compare to the one I tag the post with :’)

    Plugin Author Matt Pramschufer

    (@mattpramschufer)

    I am not sure I follow. What shortcode are you using?

    Plugin Author Matt Pramschufer

    (@mattpramschufer)

    Did you figure this out?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Showing too many related product in homepage’ is closed to new replies.