[BAKERY] How to move the "VIEW CART" button to the bottom?

svsanchez

Hello Jacobi22, I don't speak german but fortunately I was able to figure out what they were saying, which I am copying here in order for all of us non german speakers to know how to add the VIEW CART button below the overview page, hope this helps:

You will have to edit the file view_overview.php in the modules/bakery/ directory and put this code instead of the one that appears after the // Print footer line (circa line 315):

// Print footer
if ($display_previous_next_links == 'none') {
        echo  str_replace(array('[PAGE_TITLE]','[NEXT_PAGE_LINK]','[NEXT_LINK]','[PREVIOUS_PAGE_LINK]','[PREVIOUS_LINK]','[OUT_OF]','[OF]','[DISPLAY_PREVIOUS_NEXT_LINKS]','[TXT_ITEM]','[VIEW_CART]','[SHOP_URL]'), array(PAGE_TITLE,'','','','','','', $display_previous_next_links, $MOD_BAKERY['TXT_ITEM'],$MOD_BAKERY['TXT_VIEW_CART'],$setting_continue_url), $setting_footer);
} else {
        echo str_replace(array('[PAGE_TITLE]','[NEXT_PAGE_LINK]','[NEXT_LINK]','[PREVIOUS_PAGE_LINK]','[PREVIOUS_LINK]','[OUT_OF]','[OF]','[DISPLAY_PREVIOUS_NEXT_LINKS]','[TXT_ITEM]','[VIEW_CART]','[SHOP_URL]'), array(PAGE_TITLE,$next_page_link, $next_link, $previous_page_link, $previous_link, $out_of, $of, $display_previous_next_links, $MOD_BAKERY['TXT_ITEM'],$MOD_BAKERY['TXT_VIEW_CART'],$setting_continue_url), $setting_footer);
}

This did work for me!


svsanchez

Hello community, I am trying to move the VIEW CART button in the catalog overview to the bottom intead of the top of the page. I copied the following "header" code fom the overview and pasted it in the "footer" field:

<div class="mod_bakery_main_div_cart_bt_f">
<form action="[SHOP_URL]" method="post">
<input type="submit" name="view_cart" class="mod_bakery_bt_cart_f" value="[VIEW_CART]" />
</form>
</div>

However, when I go to the page the resulting button doesn't work, what am I doing wrong?

If someone could take a looke at my page http://vinoslatenuta.com/pages/nuestros-vinos/tenuta-sanna.php and tell me how to fix this I would greatly appreciate!