*

ignatius

  • **
  • 13 posts
Osclass pay plugin
« 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(); } ?>

*

MB Themes

Re: Osclass pay plugin
« Reply #1 on: September 18, 2018, 06:17:58 PM »
Use hook and no modifications are needed
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ignatius

  • **
  • 13 posts
Re: Osclass pay plugin
« Reply #2 on: September 20, 2018, 04:51:52 PM »
i want it to show on the header section of osclasswizard theme with cart basket icon. example is osclasspoint cart basket, see screenshot

*

MB Themes

Re: Osclass pay plugin
« Reply #3 on: September 20, 2018, 05:10:23 PM »
@ignatius
There is basic code.
Code: [Select]
<a href="<?php echo osc_route_url('osp-cart'); ?>"><i class="fa fa-shopping-cart"></i></a>
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ignatius

  • **
  • 13 posts
Re: Osclass pay plugin
« Reply #4 on: September 21, 2018, 09:35:47 AM »
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

*

MB Themes

Re: Osclass pay plugin
« Reply #5 on: September 21, 2018, 10:00:32 AM »
any customization should be done by you
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots