*

ysalim

  • ***
  • 87 posts
payment plugin
« on: July 04, 2016, 12:20:52 PM »
Before I made my theme purchase, i was told that there is a plugin that manage the payment and now I am in need of one.
I need help in selecting paid or free payment plugin with bank transfer option that work with patricia and zara.

Does this one work with this theme.
http://market.osclass.org/plugins/payments/osclass-payments-pro_203

Thank you

*

MB Themes

Re: payment plugin
« Reply #1 on: July 04, 2016, 12:49:36 PM »
@ysalim
Yes it should work fine, you should rather contact plugin author.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ysalim

  • ***
  • 87 posts
Re: payment plugin
« Reply #2 on: July 16, 2016, 11:04:18 AM »
Would you help me to get the highlight feature to work with payment pro plugin?

this is the instruction I got but not sure how to implement with the patricia theme

Quote
More about highlighted listings

You could highlight some listings in the search pages with this option, but you need to modify your theme first..
There are a few useful functions for highlighted listings.
"payment_pro_is_highlighted($id)" accepts an $id as parameter (optional) and will return true/false if a listings is or not highlighted.
"payment_pro_print_highlight_class($id)" accepts an $id as parameter (optional) and will print the highlight class "payment-pro-highlighted"
osc_run_hook("highlight_class") will also print the highlight class and it is safe, meaning that it will not output any error even if the plugin is disabled
Setting up your theme

In order to use the highlighted listing feature, you need to make a minimal modification to your theme.:
In the search page template, you need to add the following in the class attribute of the div of the listing
                    class="<?php osc_run_hook("highlight_class"); ?>"
               
(Note: you probably already have a class attribute, in that case, just add the osc_run_hook part)
Examples

In bender theme, you need to modify the file loop-single.php. Look for line 24, change it from .
                    <li class="listing-card <?php echo $class; if(osc_item_is_premium()){ echo ' premium'; } ?>">
               
to.
                    <li class="<?php osc_run_hook("highlight_class"); ?> listing-card <?php echo $class; if(osc_item_is_premium()){ echo ' premium'; } ?>">
               

*

MB Themes

Re: payment plugin
« Reply #3 on: July 16, 2016, 11:21:34 AM »
I am not sure if it is possible to explain it better...
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ysalim

  • ***
  • 87 posts
Re: payment plugin
« Reply #4 on: July 17, 2016, 08:37:55 AM »
what file name do I edit in patricia and zara?

*

MB Themes

Re: payment plugin
« Reply #5 on: July 17, 2016, 09:06:40 AM »
@ysalim
For home page it is main.php, for search it is search_list.php and search_gallery.php
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ysalim

  • ***
  • 87 posts
Re: payment plugin
« Reply #6 on: July 18, 2016, 10:28:00 AM »
Thanks I got it to work by your suggestions plus information from other thread in this forum

things to look for class="list-prod  , class="simple-prod

..