Yeshan Perera
Forum Replies Created
-
Forum: Plugins
In reply to: [Woo Import Export] Product images are missingI used another plugin to full fill my requirement. Thank you!!!
Forum: Plugins
In reply to: [WooCommerce] Add to Basket text is not changingThank you @fhaps. Yes, it is something to do with my current template.
Forum: Plugins
In reply to: [WooCommerce] wc ajax requests return 403Got a reply from server.
It looks like the recently updated Comodo WAF rules blocks certain pattern in incoming HTTP request which caused the problem.
Please check with your hosting service.
Thank you all
- This reply was modified 7 years, 11 months ago by Yeshan Perera. Reason: Thanking ;)
Forum: Plugins
In reply to: [WooCommerce] wc ajax requests return 403Yes, I have default permalinks and default htaccess file. I tried the same article.
*Updated*
I tried to change permalinks to post-name. I’m getting 403 permission denied. Checked folder permission in CPANEL. 755 for directories and 644 for files.What could be the issue?
- This reply was modified 7 years, 11 months ago by Yeshan Perera. Reason: Re-Check
Forum: Plugins
In reply to: [WooCommerce] wc ajax requests return 403Thank you for your quick response. I have done these steps. But nothing happened. Recently I didn’t do any updates or upgrades on my website. Here is the WooCommerce System Status.
### WordPress Environment ###
Home URL: https://www.mysite.com
Site URL: https://www.mysite.com
WC Version: 2.4.12
Log Directory Writable: ? /home/mysite/public_html/wp-content/uploads/wc-logs/
WP Version: 4.4.5
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
Language: en_US### Server Environment ###
Server Info: Apache
PHP Version: 5.5.38
PHP Post Max Size: 8 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
SUHOSIN Installed: –
MySQL Version: 5.6.35
Max Upload Size: 2 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Remote Post: ?
Remote Get: ?### Database ###
WC Database Version: 2.4.12
:
woocommerce_api_keys: ?
woocommerce_attribute_taxonomies: ?
woocommerce_termmeta: ?
woocommerce_downloadable_product_permissions: ?
woocommerce_order_items: ?
woocommerce_order_itemmeta: ?
woocommerce_tax_rates: ?
woocommerce_tax_rate_locations: ?### Active Plugins (12) ###
MIGS Payment Gateway WooCommerce: by OsPayment – 2.0
Disable Comments: by Samir Shah – 1.3.2
Disable All WordPress Updates: by Oliver Schl?be – 1.4.7
Featured Page Widget: by grandslambert – 2.2
MailChimp for WordPress: by ibericode – 3.0.4
Photo Gallery: by WebDorado – 1.2.81
Product CSV Import Export (BASIC): by HikeForce – 1.2.3
Orders Report: by [email protected] – 1.0
Schedule: by Karthick – 1.0
Shipping-Charges: by itsthe1 – 1.0
WooCommerce: by WooThemes – 2.4.12
WP Migrate DB: by Delicious Brains – 0.7.2### Settings ###
Force SSL: –
Currency: USD (USD )
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2### API ###
API Enabled: ?
API Version: 3.0.0### WC Pages ###
Shop Base: #3 – /?page_id=3
Cart: #5 – /?page_id=5
Checkout: #8 – /?page_id=8
My Account: #4 – /?page_id=4### Taxonomies ###
Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)### Theme ###
Name: Maya Shop
Version: 1.0
Author URL: https://www.yourinspirationweb.com/en/
Child Theme: ? – If you’re modifying WooCommerce or a parent theme you didn’t build personally we recommend using a child theme. See: How to create a child theme
WooCommerce Support: ?### Templates ###
Overrides: maya/woocommerce/archive-product.php
maya/woocommerce/cart/cart-empty.php
maya/woocommerce/cart/cart-shipping.php
maya/woocommerce/cart/cart.php version 2.3.0 is out of date. The core version is 2.3.8
maya/woocommerce/content-product.php version 1.6.4 is out of date. The core version is 2.4.0
maya/woocommerce/content-product_cat.php version 1.6.4 is out of date. The core version is 2.4.0
maya/woocommerce/content-single-product.php
maya/woocommerce/global/breadcrumb.php
maya/woocommerce/global/form-login.php
maya/woocommerce/global/quantity-input.php
maya/woocommerce/global/sidebar.php
maya/woocommerce/global/wrapper-end.php
maya/woocommerce/global/wrapper-start.php
maya/woocommerce/loop/add-to-cart.php
maya/woocommerce/loop/loop-start.php
maya/woocommerce/loop/pagination.php
maya/woocommerce/loop/price.php
maya/woocommerce/loop/sale-flash.php
maya/woocommerce/myaccount/form-login.php
maya/woocommerce/myaccount/my-orders.php version 2.2.0 is out of date. The core version is 2.3.10
maya/woocommerce/order/order-details.php version 2.3.0 is out of date. The core version is 2.4.0
maya/woocommerce/single-product/add-to-cart/external.php
maya/woocommerce/single-product/add-to-cart/grouped.php
maya/woocommerce/single-product/add-to-cart/simple.php
maya/woocommerce/single-product/meta.php
maya/woocommerce/single-product/price.php version 1.6.4 is out of date. The core version is 2.4.9
maya/woocommerce/single-product/product-image.php
maya/woocommerce/single-product/product-thumbnails.php
maya/woocommerce/single-product/related.php
maya/woocommerce/single-product/review.php
maya/woocommerce/single-product/sale-flash.php
maya/woocommerce/single-product/share.php
maya/woocommerce/single-product/short-description.php
maya/woocommerce/single-product/tabs/description.php
maya/woocommerce/single-product/tabs/tabs.php version 2.0.0 is out of date. The core version is 2.4.0
maya/woocommerce/single-product/up-sells.php
maya/woocommerce/single-product-reviews.php
maya/woocommerce/single-product.php
maya/woocommerce/taxonomy-product_cat.php
maya/woocommerce/taxonomy-product_tag.php: Learn how to update outdated templates
Thanks for posting your fix!
Cheers Bro ~
Forum: Networking WordPress
In reply to: setup new individual WordPress without using MultisiteMany thanks for your support @ancawonka.
I didn’t discuss with hosting provider. I have fixed the issue with trying different options. May be this is not the correct way. But now I can see everything is working fine.I will post what I have done so far. May be it will helped someone.
- as @ancawonka advice I tried to change permission in all wp folders.
- since my
letstry.mydomain.com
working fine. I made a copy of that in different directory. And it worked smoothly - Then config to new database to make a installation. Doesn’t work. same issue 403
- Finally, I have created
think.mydomain.com
in my local pc then migrate to my server using wp-migrate-db plugin
The good thing is it worked fine. Still the mystery is not solved.
Because, I’ve zip my local website and did upload to the server. From the server only I’ve extracted to the directory. The same way I did for the WP.zip earlier. But I couldn’t install the WordPress.Anyway… hope this will helped to someone. I will close the topic.
Thanks again @ancawonka
Forum: Networking WordPress
In reply to: setup new individual WordPress without using Multisite@ancawonka thanks for your reply. Yes I’ve enabled wildcard on my server. After your advice I’ve created
readme.txt
file with some dummy text and permission set to644
when I’m creating the file inside my sub-directory. usingthink.mydomain.com/readme.txt
I can view the file without any error.The same way I used to access WP
license.txt
it has the same permission644
. But I cannot view the file.As you mentioned this can be a permission issue. When I’m extracting the WP zip.
What is the solution for this?
Sorry Plugin Author.
I didn’t add
featuredimagezoomer.js
while I am using your plugin. That was mystep 02
.Here is the thing what I done for resolve my issue. Your plugin was not working in my website.
I have found
multizoom.js
from a website. Then I have registered it in my template.<?php wp_enqueue_script('itsthe1_cottoncandyme_wptheme-multizoom-js', get_template_directory_uri() . '/js/multizoom.js', array(), '06082015', true); ?>
and then in my custom script file. I have added follow code.
//product thumbnail zoomer var x = jQuery('#image1').get(0).src; jQuery('#image1').addimagezoom({// single image zoom zoomrange: [3, 5], magnifiersize: [500, 380], magnifierpos: 'right', cursorshade: true, largeimage: x //<-- No comma after last option! });
Also, I had a issue with image stretch, What I have done. I’ve modified
multizoom.js
as followin
magnifyimage: function ($tracker, e, zoomrange) {
added
magnifier.$image.css({'max-width': nd[0], width: nd[0], height: nd[1]});//added max-width to overwrite other css
after
var nd = [od.w * newpower, od.h * newpower] //calculate dimensions of new enlarged image within magnifier
Then added same
max-width
in
$tracker.one('mouseover', function (e) {
inside of
if (setting.zoomrange) { //if set large image to a specific power
added
$bigimage.css({'max-width': nd[0], width: nd[0], height: nd[1]});//added max-width to overwrite other css
after
var nd = [w * setting.zoomrange[0], h * setting.zoomrange[0]] //calculate dimensions of new enlarged image
issue is fixed. Will help others. Thanks
Dear Plugin Author,
I have added these in footer. Same result I am getting as like my
step 01
. It is echo a large image in the footer area. No zoom effect working.I want to add this zoom effect to my
product-page
inwoo-commerce
This is the
HTML
I am getting when I am using your script in footer<div style="position: absolute; left: 214.5px; top: 642px; height: 531px; width: 800px;" class="zoomContainer"> <div class="zoomWindowContainer" style="width: 400px;"> <div class="zoomWindow" style="z-index: 999; overflow: hidden; margin-left: 0px; margin-top: 0px; background-position: 0px 0px; width: 800px; height: 531px; float: left; cursor: crosshair; background-repeat: no-repeat; position: absolute; background-image: url("https://10.1.128.120:88/cottoncandyme.com/wp-content/uploads/2015/07/Cause_i_Care.jpg"); top: 0px; left: 0px; display: block;">? </div> </div> </div>
No it is not working. Plugin is activated. and added bellow code in in
function.php
. it is echoing a full size image in footer. same as when Ido_shortcode
in footer.function your_function() { if (function_exists('cc_zoom_featured_image')) { cc_zoom_featured_image(array('type' => 'lens')); } } add_action('wp_footer', 'your_function', 100);
I have added your given code in
function.php
and removedo_shortcode()
. Now its giving( ! ) Warning: Missing argument 1 for cc_zoom_featured_image(), called in
error.Thanks. But, I need to use your plugin zoom effect. Not other plugin effects.
I did two steps in my wensite.
Step 01
I have addedecho do_shortcode("[zoom]");
In the product page. it is not working properly. A large image displaying in the footer area.Then I removed the plugin also removed the code.
Step 02
Then I’ve registered script and add int function in my footerwp_enqueue_script('itsthe1_cottoncandyme_wptheme-zooom', 'https://www.so-mo.co/wp-content/uploads/2012/07/featuredimagezoomer.js', array(), '06082015', true);
int code in footer
var x = jQuery('#image1').get(0).src; jQuery('#image1').addimagezoom({// single image zoom zoomrange: [3, 5], magnifiersize: [500, 380], magnifierpos: 'right', cursorshade: true, largeimage: x//<-- No comma after last option! });
When I am did like this. It was worked fine. But zoom image got stretch.
Then I removed that also.Now I am revised everything to my step 01. Because Now I am giving you the link. Here is it USE IT
Please help. Thanks
Forum: Plugins
In reply to: What is the best plugin?I have no link. There have a link for my example photo. Click to view it. Customers can tick or select whatever they want and whatever they wont.
Forum: Plugins
In reply to: [WooCommerce] Add additional costsI Downloaded this plugin dude. But, It’s not working here. I don’t know why. I set the minimum amount and did everything. I couldn’t find the Extra Free label on my cart