WordPress and woocommerce experts.
I am designing a plugin with WordPress, but this plugin will need Woocommerce plugin as well, so I need to have woocommerce in my plugin and when I activate my plugin then Woocommerce is installed as well.
Thanks!
Good way - create conditions in your plugin.
If Woocommerce plugin installed and activated - you include all your functions and your plugin will work fine.
if woocommerce not installed or not activated - you do not include all functions and create Admin Notice with text like "Woocommerce not activated. For plugin working be sure that Woocommerce Plugin installed and activated".
Something like this - good practice.
Related
Hi we have a problem with displaying the wordpress admin bar.
The site is a marketplace developed using woocommerce + wcfm plugin. As graphic theme there is Divi builder.
On the WCFM vendor store page of the shop, the wordpress admin bar is not displayed, even though I'm logged in as admin user. It only happens on that specific page.
We've tried commenting out all the custom bar code and the problem doesn't go away.
An example of store vendor page: https://demo.viviladmc.com/store/caffe-martini
Whith Divi/WCFM enabled in the page there are no
Whith on of Divi/WCFM disabled in the page there are correctly
We have already checked:
Functions.php of divi contain the
No JS errors in the console
No significant error in the wordpress log (DEBUG=TRUE in wp-config.php)
Uninstalling the theme or WCFM solves the problem, it is probably an incompatibility between these plugins. Has anyone had the same problem and managed to fix it?
Please assist with enabling all woo commerce features (add to cart, checkout, etc) to the website http://maxedev.beetleinc.co.za ... It seems the previous developer disabled all Woo Commerce features but I cant figure out how exactly. There is no plugin used to disable these features so I am assuming this is code based.
I've inspected the source and it looks like its either using a 'catalog mode' plugin or code has been added to your functions.php folder in the theme's folder. If you post it up here I can inspect it for you. also a list of your activated plugins would help.
I have purchased a themeforest theme for my wordpress site.
It requires 2 plugins : Resolution Slider and Visual Composer
Since these are paid plugins I want to use an alternative free plugins : LenSlider and WP SiteBuilder respectively.
Can I replace the plugins... If yes how?
Also is LenSlider the correct alternative for Slider Revolution?
Only plugins supported by the theme can be used. However, plugin copies are free and updates may require you to pay some amount to use.
No, you have to use these plugins are they are supported with this theme. The copy of these plugins are free for you, if you get it with the theme. Updates to these may be required purchase version. If you use WP SiteBuilder instead of VC, it won't work. The slider may work.
I am using a custom theme in magento. Now I install a pluging for product zoom functionality. But the plugin is not working. Finally I found that the while installing the plugin, the files are saved in default theme directory, but I am using a custom theme(themeheros).
To make the plugin working I cut and paste the
app/design/frontend/default/default/layout/[extension_name].xml
app/design/frontend/default/default/template/[extension_name]/*
files to
app/design/frontend/[your_interface]/[your_theme]/layout/[extension_name].xml
app/design/frontend/[your_interface]/[your_theme]/template/[extension_name]/*
But no luck. The plugin is still not working.
For product zoom I use number of plugins but no one was worked in custom theme.
But in my local machine these plugins are working because there I am using the default theme.
How can I make the plugin working in Custom theme in Magento. My magento version is 1.9.0.1.
Which javascript library does this module use? jQuery? Prototype? If
jQuery check existing noConflict() method.
Try to put layout and
template files in base/default directory.
In most situations any javascript lib doesn't work because of custom theme. For example in default magento image wrapper block is <div class="product-image"> and any module try to select this block $('.product-image'). But in your custom theme this block can have another class and module initialization will not work. So I recommend to switch to default theme.
Open on your product view page view:source code and find how much time jQuery (if it module use jQuery) attached
According your comment check if current handle use on this page. Anyway upload here your layout xml in your first post.
I want to include wordpress poll to magento site, fishpig module is integrate with magento site and i've also install wordpress poll, but how we can display wordpress poll functionality to magento frontend, e.g. wordpress poll look and its ajax based functionality and its validation and all things.
I would suggest using a Magento poll module to do this, Fishpig is designed more to display Magento products in a Wordpress page, it's not so strong at displaying Wordpress content in Magento.
You could contact the Fishpig developer (Ben) - help at fishpig dot co dot uk for free advice and/or paid assistance.
please go to
admin/system/configuration/advanced/
and enable Mage_poll