Title: btsllc's Replies | WordPress.org

---

# btsllc

  [  ](https://wordpress.org/support/users/btsllc/)

 *   [Profile](https://wordpress.org/support/users/btsllc/)
 *   [Topics Started](https://wordpress.org/support/users/btsllc/topics/)
 *   [Replies Created](https://wordpress.org/support/users/btsllc/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/btsllc/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/btsllc/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/btsllc/engagements/)
 *   [Favorites](https://wordpress.org/support/users/btsllc/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Sample] Sample is adding full price when using custom option](https://wordpress.org/support/topic/sample-is-adding-full-price-when-using-custom-option/)
 *  Thread Starter [btsllc](https://wordpress.org/support/users/btsllc/)
 * (@btsllc)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/sample-is-adding-full-price-when-using-custom-option/#post-9275460)
 * Yes, I figured it out. In order to fix this issue, I had to modify the mini-cart.
   php template.
 * 1) Please create a child theme and add the following directory [woocommerce—>
   cart].
    2)Copy the parent theme mini-cart.php to your child theme cart directory.
   3) I modified the following code (this code may be different based on your parent
   theme)
 *  <li class=”clearfix”>
    <span class=”quantity”><?php printf( ‘%s × %s’, $cart_item[‘
   quantity’], ”); ?></span> “> <?php echo apply_filters(‘woocommerce_widget_cart_product_title’,
   $_product->get_title(), $_product ); ?>  <!– update the custom price passed to
   the mini cart from plugin Woocommerce Sample–> <!–begining code–> <?php if($cart_item[‘
   sample’]){ ?> <span style=’position: relative; right: -42px !important;’ class
   =’price’><?php echo $product_price; ?></span> <?php }else{ ?> <span class=’price’
   ><?php echo $product_price; ?></span> <?php } ?> <!–end code–>
 * Hope this helps!!!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Sample] Selecting Sample shows full price](https://wordpress.org/support/topic/selecting-sample-shows-full-price/)
 *  [btsllc](https://wordpress.org/support/users/btsllc/)
 * (@btsllc)
 * [9 years ago](https://wordpress.org/support/topic/selecting-sample-shows-full-price/#post-9127120)
 * I have given up, trying to debug the code and begun dissecting it by using the
   existing foundation to provide a solution. As soon as I come up with something,
   I will post what I have and maybe we all can build on it. However, I am new to
   PHP, but making good progress. I have a client whose site I need to lunch soon…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Sample] Selecting Sample shows full price](https://wordpress.org/support/topic/selecting-sample-shows-full-price/)
 *  [btsllc](https://wordpress.org/support/users/btsllc/)
 * (@btsllc)
 * [9 years ago](https://wordpress.org/support/topic/selecting-sample-shows-full-price/#post-9113921)
 * I have been trying to debug the code and have gotten to far. If I fine a solution,
   I will post something.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Sample] Selecting Sample shows full price](https://wordpress.org/support/topic/selecting-sample-shows-full-price/)
 *  [btsllc](https://wordpress.org/support/users/btsllc/)
 * (@btsllc)
 * [9 years ago](https://wordpress.org/support/topic/selecting-sample-shows-full-price/#post-9074897)
 * I am experiencing the same issue after updating to Woocommerce 3.0.4

Viewing 4 replies - 1 through 4 (of 4 total)