Support Forums - Classified Ads Script Osclass
Osclass theme support => Free themes => Topic started by: ignatius on September 18, 2018, 04:35:19 PM
-
Please how can i go about to set osclass pay plugin ecommerce cart button in osclasswizard theme . This is the statement shown on how to set it but i dont know how to go about it in my file. If you have not used hook to place "Add to cart" button on item page, you can do it manually by modifying theme files. Place following code into your theme files where function osc_item_id() is available (item.php or item-loop-single.php...).
<?php if(function_exists('osp_product_to_cart_link')) { echo osp_product_to_cart_link(); } ?>
-
Use hook and no modifications are needed
-
i want it to show on the header section of osclasswizard theme with cart basket icon. example is osclasspoint cart basket, see screenshot
-
@ignatius
There is basic code.
<a href="<?php echo osc_route_url('osp-cart'); ?>"><i class="fa fa-shopping-cart"></i></a>
-
Thanks for your support, But the cart is showing below but i want it to show at the top close to log in button. see screenshot
-
any customization should be done by you