Panagiotis Vagenas
Forum Replies Created
-
Forum: Plugins
In reply to: [Skroutz.gr XML Feed for WooCommerce] product sizes and colorsThen make sure all labels in these attributes are valid, as described in skroutz xml specs here.
The generation log might also give you an idea why this is happening.?You can view it at plugin options page right after the map settings.
Forum: Plugins
In reply to: [Skroutz.gr XML Feed for WooCommerce] product sizes and colorsThank you for your kind words.
For including size and color in XML you must also select some attributes from Product Sizes and Product Colors respectively.
Thank you for your time phantolino but the logic in the snipet will fail if an item is avail through backordering but is in stock too.
Try this one instead:
$stockStatusInStock = $product->stock_status === 'instock'; $manageStock = $product->managing_stock(); $backOrdersAllowed = $product->backorders_allowed(); $hasQuantity = $product->get_stock_quantity() > 0; if($manageStock){ if($hasQuantity) { return $this->?option->availOptions[$this->?option->get('avail_inStock')]; } elseif(!$backOrdersAllowed) { if ($this->?option->get('avail_outOfStock') == count($this->?option->availOptions)) { return false; } return $this->?option->availOptions[$this->?option->get('avail_outOfStock')]; } else { if ($this->?option->get('avail_backorders') == count($this->?option->availOptions)) { return false; } return $this->?option->availOptions[$this->?option->get('avail_backorders')]; } } else { if($stockStatusInStock){ return $this->?option->availOptions[$this->?option->get('avail_inStock')]; } elseif($backOrdersAllowed){ if ($this->?option->get('avail_backorders') == count($this->?option->availOptions)) { return false; } return $this->?option->availOptions[$this->?option->get('avail_backorders')]; } } return false;
I will appreciate any feedback. Thanks again.
Hi phantolino,
Thank you for your feedback!
1. The Product availability when item is out of stock and backorders are allowed field doesnt seem to work, whatever you choose in the Inventory tab in the product page (allow back orders, allow backorders and notify customer – while setting the product that to available), the product shows as available in the XML and gets the Y value.
I can confirm that. A patch will be available ASAP.
2. The Generate XML Now button doesn’t work, it shows a blank lightbox which does nothing – i noticed, using the developer tools of my browser, that i get an ajax error when the button is pressed.
It would help if you set WP_DEBUG to true and give more info about the error (browser, error details, etc).
I also wanna add that the XML File Generation Interval option doesn’t seem to work as well. I added some new products and set it to 30 minutes and my xml didn’t change at all.
I can’t confirm that, XML interval seems to work as expected. Please check created_at value in XML doc. Adding products to store doesn’t necessarily means they will be added to XML too (eg new products have missing fields). Also check Last XML Generation Log at the bottom of plugin settings page.
Forum: Plugins
In reply to: [Skroutz.gr XML Feed for WooCommerce] Brands plugin for manufacturer fieldSupport for Brands plugin is implemented in version 150707
Forum: Plugins
In reply to: [Skroutz.gr XML Feed for WooCommerce] Not saving settingsHi elola,
This is most likely to happen due to unsupported PHP version. Please see the requirements here and then check your PHP version.
If this isn’t the case, I will try to help you if you can provide appropriate credentials.
Cheers!
Forum: Plugins
In reply to: [Skroutz.gr XML Feed for WooCommerce] Exclude productsHi,
I’m sorry but this isn’t possible at the moment. I am planning to implement this feature in a future update, so stay tuned.
Cheers!
Forum: Plugins
In reply to: [Skroutz.gr XML Feed for WooCommerce] Brands plugin for manufacturer fieldUnfortunately I haven’t test it with brands plugin, but I think it won’t work because currently this plugin use product attributes to define brands.
I could implement some functionality with brands plugin but I need more info. Please come in contact with me in pan.vagenas sto gmail.com
Cheers
Forum: Plugins
In reply to: [Skroutz.gr XML Feed for WooCommerce] Problem with polylangSkroutz.gr XML Feed should not interfere with polylang.
If you need further help please contact me using the email address pan.vagenas sto gmail .com
Cheers
Forum: Reviews
In reply to: [XRandomizer] Huge problemsRequirements:
- WordPress version: 3.5.1+
- Apache version: 2.1+
- PHP version: 5.4+
Most likely you will have to upgrade your PHP version.
Thanks for rating anyway.
CheersForum: Plugins
In reply to: [Skroutz.gr XML Feed for WooCommerce] Xml generate problemI am sorry Johny but I can’t tell if I have no access to your website. If you are willing to provide me with appropriate credentials please use my email pan.vagenas sto gmail .com