iamjohnwhite
Forum Replies Created
-
Forum: Plugins
In reply to: [White Label CMS] WordPress 5.9 splash page takes over custom BB DashboardBooyah, update worked like a charm. Thank you!
Forum: Plugins
In reply to: [White Label CMS] Custom Beaver Builder Dashboard no longer appearingI actually just realized it is a conflict with Woocommerce. It was a core plugin we never disabled. Just disabled it and it brought everything back. When re-enabled it removed it.
Forum: Plugins
In reply to: [WooCommerce] Add single attribute to cart page?Awesome, Thanks Mike. I’ll update this thread if I am able to come up with a solution for anyone else looking to do the same. Appreciate the help!
Forum: Plugins
In reply to: [WooCommerce] Add single attribute to cart page?We want to accomplish the same concept of a variable product where it would add the users selection under the product name, yes. But, we are stuck to only creating Simple Products due to our Modern Retail POS Software integration.
Product to test:
product
Under additional info, we have Sq/ft Per Box as an attribute line filled in with 19.69. That 19.69 would ideally populate into the cartThis is the code I currently have inputed
<td class="product-name"> <?php if ( ! $_product->is_visible() ) echo apply_filters( 'woocommerce_cart_item_name', $_product->get_title(), $cart_item, $cart_item_key ); else echo apply_filters( 'woocommerce_cart_item_name', sprintf( '<a href="%s">%s</a>', $_product->get_permalink(), $_product->get_title() ), $cart_item, $cart_item_key ); // Meta data echo WC()->cart->get_item_data( $cart_item ); // Backorder notification if ( $_product->backorders_require_notification() && $_product->is_on_backorder( $cart_item['quantity'] ) ) echo '<p class="backorder_notification">' . __( 'Available on backorder', 'woocommerce' ) . '</p>'; ?><br> <span class="pa_sqft-per-box"><span class="attribute-label">Sq/ft Per Box : </span> <span class="attribute-value"></span></span> </td>
This is how it appears in cart
cart image