rkoms
Forum Replies Created
-
Forum: Plugins
In reply to: [Product Attachment for WooCommerce] error in quick editDotstore,
He meant, all previous Attachments disappears after quick editing of product.
Can u check that behavior?
Here is the same bug :((
Forum: Plugins
In reply to: [Product Attachment for WooCommerce] No product attachment visibleYou was missing something bro.
Solution above will work for updated/edited products with newly created empty download tab, to work with all products change third peace of code:
change
$wcpoa_product_page_enable_count = count($wcpoa_product_page_enable);
to
if (!empty($wcpoa_product_page_enable)) { $wcpoa_product_page_enable_count = count($wcpoa_product_page_enable); }
Solution
Edit file:
woo-product-attachment > public > class-woocommerce-product-attachment-public.phpgo to line 239 and change
if ( !empty($wcpoa_product_page_enable) || !empty($wcpoa_bulk_att_data) ) {
to
if ( $wcpoa_product_page_enable_count > 1 || !empty($wcpoa_bulk_att_data) ) {
and add count above that:
$wcpoa_product_page_enable_count = count($wcpoa_product_page_enable);
But further plugin update will break this edits, so we will need to rely on plugin developers to consider and test these changes.
Forum: Plugins
In reply to: [Product Attachment for WooCommerce] Useless Product Tab createdSolution
Edit file:
woo-product-attachment > public > class-woocommerce-product-attachment-public.phpgo to line 239 and change
if ( !empty($wcpoa_product_page_enable) || !empty($wcpoa_bulk_att_data) ) {
to
if ( $wcpoa_product_page_enable_count > 1 || !empty($wcpoa_bulk_att_data) ) {
and add count above that:
$wcpoa_product_page_enable_count = count($wcpoa_product_page_enable);
But further plugin update will break this edits, so we will need to rely on plugin developers to consider and test these changes.
/* * Product Single - Download Tab */ .wcpoa_attachment { display: inline-block; width: 49%; padding: 0 10px; height: 45px; margin: .5em .25em!important; border-bottom: 1px solid #e6e6e6; position: relative; } .wcpoa_attachment:last-child { border: none; } .wcpoa_attachment_name { float: left; font-size: 1.14em; line-height: 2; width: 70%; font-size: 1em; margin-bottom: .25em!important; line-height: 1.4; transition: .25s ease-in-out all; } h4.wcpoa_attachment_name::before { content: 'Attachment filename: '; font-size: .75em; font-weight: 500; position: absolute; top: -13px; color: #989898; } a.wcpoa_attachmentbtn { float: left; width: 25%; text-align: center; display: inline-block; transition: all .25s ease-in-out; } .wcpoa_attachmentbtn:hover { opacity: .85; } div#tab-wcpoa_product_tab { margin-bottom: 2em; } @media (max-width: 1199px) { .wcpoa_attachment { width: 100%; } } @media (max-width: 568px) { .wcpoa_attachment { width: 100%; padding: 0 10px 15px; height: auto; } .wcpoa_attachment_name { font-size: 1.14em; width: 100%; font-size: .9em; margin-bottom: 0.25em!important; } a.wcpoa_attachmentbtn { width: 100%; margin-left: 0; } }
Forum: Plugins
In reply to: [Product Attachment for WooCommerce] Useless Product Tab createdHere also ):
Did anyone made a solution without directly editing the plugin?
This bug is happening here also. After an update of product with no attached files,
tab “Downloads” is created.wp 5.4
wc 3.9.0
wcpa 1.5.3Weird ):
- This reply was modified 4 years, 10 months ago by rkoms.
Forum: Plugins
In reply to: [Product Attachment for WooCommerce] No product attachment visibleYou have to select for every attached file option “Show on Product Page”
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Search Keeps Redirecting to a /brand/ Page?+1
Forum: Plugins
In reply to: [Better Product Reviews For WooCommerce] Error with reviewing the productsThe same bugs reported here. Does anyone came up with solution and resolve them?
This is a really worth lightweight plugin….
Forum: Reviews
In reply to: [Better Product Reviews For WooCommerce] Exactly what I was looking for.Did u resolve these bugs with 3+ versions of WC?
ty
Perfect ??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Search Keeps Redirecting to a /brand/ Page?+1
frustrating ??
U can change user store name url via backend, and admin privileges.
- This reply was modified 6 years, 10 months ago by rkoms.