Snippets Collections
#nextpre{
    display: flex;
    justify-content: flex-end;
    margin-right: 6%; 
} 
.next-prev-icon{
        margin: 0 0 20px 20px;
    padding: 5px 10px;
    font-weight: 500;
    color: #fff;
    box-shadow: #0003 0 20px 30px;
    background-color: #000;
    border-radius: 10px;
    text-decoration: unset;
    width: 100px;
    text-align: center;
    font-size: 15px;
}  
  
    $_product = wc_get_product( $post_id );

    if( $_product->is_type( 'simple' ) ) {
    // do stuff for simple products
    } else {
    // do stuff for everything else
    }
star

Wed Jun 15 2022 12:51:38 GMT+0000 (UTC) https://websensepro.com/blog/add-next-previous-button-on-product-page-dawn-theme/

#shopify #nextbutton #previousbutton #product #page

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension