Forum Replies Created
- AuthorPosts
-
Hi Olly, this is the code the developer added. Should he have done something else?
I have a screenshot from him but cannot upload it.
This is the code:
Code is as below in following files.
1. Following code was added to display breadcrumbs and description in theme_wrapper.php on line 33.
/isladelencanto-child/wppizza/markup/loop/theme-wrapper.php
<p id="breadcrumbs"> <a>">Home</a> >> <a>/menu-online-ordering/">Menu & Online Ordering</a> >> <?php echo single_cat_title(); ?> <?php echo "<div class='at-catdes'>" .category_description(). "</div>";?>
2. Following code was added in cart.container.php to display text and button if no code items were added and if they are closed.
/isladelencanto-child/wppizza/markup/loop/theme-wrapper.php on line 18.
<div class='at-clodes-block'><div class='at-cart'>Your Items : $00.00<br><strong>Total $0.00</strong></div><br><div class='btndiv'><input disabled class='btn btn-primary cart-btn' type='button' value='place your order'><input disabled class='cart-btn wppizza-empty-cart-button btn btn-primary' type='button' value='empty cart'></div></div>
[edit by admin: please wrap code in code tags]
Hi Olly, this is what my developer wrote back:
/wppizza/markup/cart/cart.container.php
/wppizza/markup/loop/theme-wrapper.php
We overrode those files with exact same file name in child theme where customization was needed. In future if the plugin structure will change after upgrade then the override files may not work. Also, could not find any filters and actions to add the required code.
The files are there in child theme’s wppizza/markup folder.
If you like, I can get the code that was changed/added from him.
Hi Olly,
Good to know! I have WPPizza version 2.16.11.23 and it has not asked for an update. How do I update to 3.0?
Hi Olly, it was not the plug-in. No worries, it was fixed. Thanks!
- AuthorPosts