Uninstall Product Builder

If you would like to uninstall Product Builder from your store please follow the instructions below. If you run into any problems at all, please get in touch, we're here and happy to help.

There are two options for uninstallation, based on whether a backup was made during installation.

1. Reinstall the default cart template backup

If the installation instructions were followed, you should have a back-up of 'cart-template.liquid' in your theme.

You can remove the 'cart-template.liquid' currently in your theme, and rename the backup (cart-template--pb-backup.liquid) to the former cart template name (usually 'cart-template.liquid').

2. Manual uninstallation

Firstly, you will need to remove the snippets added, find, and remove the following code snippets:

  • {% include 'cart.pb' %}

  • {{ pb_inside_cart }}

  • {% include 'cart-item.pb', item: item %}

Now the code areas we replaced will need to reversed. Not all of these may be present in your theme, so if you can't find them, you can safely move onto the next.

6. Find all instances of pb_price and replace it with item.price

7. Find all instances of pb_line_price and replace it with item.line_price

8. Find all instances of pb_final_price and replace it with item.final_price

9. Find all instances of pb_final_line_price and replace it with item.final_line_price

10. Find all instances of pb_original_line_priceand replace it with item.original_line_price

11. Find all instances of pb_original_price and replace it with item.original_price

12. Find all instances of pb_total_price and replace it with cart.total_price

13. Find all instances of pb_original_total_price and replace it with cart.original_total_price

14. Save these changes.

You could also get in touch with your developer, or theme developer, and ask for an original copy of the 'cart-template.liquid' to add back in. This would also overwrite custom additions, including any custom code added to this file by other apps.