Title: josede's Replies | WordPress.org

---

# josede

  [  ](https://wordpress.org/support/users/josede/)

 *   [Profile](https://wordpress.org/support/users/josede/)
 *   [Topics Started](https://wordpress.org/support/users/josede/topics/)
 *   [Replies Created](https://wordpress.org/support/users/josede/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/josede/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/josede/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/josede/engagements/)
 *   [Favorites](https://wordpress.org/support/users/josede/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/users/josede/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/josede/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Data stored](https://wordpress.org/support/topic/data-stored-3/)
 *  Thread Starter [josede](https://wordpress.org/support/users/josede/)
 * (@josede)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/data-stored-3/#post-15353023)
 * Thx so much, as always amazing support
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] wrong image for attribute shortcode](https://wordpress.org/support/topic/wrong-image-for-attribute-shortcode/)
 *  Thread Starter [josede](https://wordpress.org/support/users/josede/)
 * (@josede)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/wrong-image-for-attribute-shortcode/#post-14903256)
 * Anyway, I am using a loop and I have all the products filtered by attribute and
   variation. How can I call the image variation?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] wrong image for attribute shortcode](https://wordpress.org/support/topic/wrong-image-for-attribute-shortcode/)
 *  Thread Starter [josede](https://wordpress.org/support/users/josede/)
 * (@josede)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/wrong-image-for-attribute-shortcode/#post-14893658)
 * I am actually using ‘WPC Show Single Variations for WooCommerce’ and It doesnt
   work.
 * But how can I show all the products related with a term (with his variation image).
   I think is something so normal.
 * Or what can I do?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Change invoice number & logo based on product category](https://wordpress.org/support/topic/change-invoice-number-logo-based-on-product-category/)
 *  Thread Starter [josede](https://wordpress.org/support/users/josede/)
 * (@josede)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/change-invoice-number-logo-based-on-product-category/#post-14343730)
 * Thx [@dpeyou](https://wordpress.org/support/users/dpeyou/). For the logo generated
   in the invoice, How can I add the new url logo in this code?
    -  This reply was modified 5 years, 3 months ago by [josede](https://wordpress.org/support/users/josede/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Change invoice number & logo based on product category](https://wordpress.org/support/topic/change-invoice-number-logo-based-on-product-category/)
 *  Thread Starter [josede](https://wordpress.org/support/users/josede/)
 * (@josede)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/change-invoice-number-logo-based-on-product-category/#post-14343445)
 * Thx Darren, its valid for “PDF filename and the img logo in the invoice”.
    The
   PDF filename should have the same structure, but with the new prefix. The logo,
   how Can i add the new url logo in this code.
 * Thx!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Condition address shop](https://wordpress.org/support/topic/condition-address-shop/)
 *  Thread Starter [josede](https://wordpress.org/support/users/josede/)
 * (@josede)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/condition-address-shop/#post-14340642)
 * Darren How can I change the prefix of the invoice based with the same conditions.(
   Your code is fine) Just I need to change the prefix when $conditional_category
   = ‘tshirts’.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Condition prefix based on product category](https://wordpress.org/support/topic/condition-prefix-based-on-product-category/)
 *  Thread Starter [josede](https://wordpress.org/support/users/josede/)
 * (@josede)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/condition-prefix-based-on-product-category/#post-14337834)
 * Thx! But where can I choose the specific category?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Contact form 7 doesnt work for the cache?](https://wordpress.org/support/topic/contact-form-7-doesnt-work-for-the-cache/)
 *  Thread Starter [josede](https://wordpress.org/support/users/josede/)
 * (@josede)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/contact-form-7-doesnt-work-for-the-cache/#post-14327439)
 * I am accesing from [https://webcache.googleusercontent.com/search?q=cache:399MUcsdwokJ:https://example.eu/+&cd=1&hl=es&ct=cgf&gl=es](https://webcache.googleusercontent.com/search?q=cache:399MUcsdwokJ:https://example.eu/+&cd=1&hl=es&ct=cgf&gl=es)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Contact form 7 doesnt work for the cache?](https://wordpress.org/support/topic/contact-form-7-doesnt-work-for-the-cache/)
 *  Thread Starter [josede](https://wordpress.org/support/users/josede/)
 * (@josede)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/contact-form-7-doesnt-work-for-the-cache/#post-14327403)
 * I have a wordpress installation, fresh.
    Contact form 7 with LiteSpeedCache. 
   All updated. 1 domain, no redirections no coded added. The page is load from 
   google cache.
 * Maybe its for the quic.cloud cdn?
    -  This reply was modified 5 years, 3 months ago by [josede](https://wordpress.org/support/users/josede/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Contact form 7 doesnt work for the cache?](https://wordpress.org/support/topic/contact-form-7-doesnt-work-for-the-cache/)
 *  Thread Starter [josede](https://wordpress.org/support/users/josede/)
 * (@josede)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/contact-form-7-doesnt-work-for-the-cache/#post-14327357)
 * The same issue. i checked chrome devs.
    In Network: `feedback?_locale=user 403
   h3-Q050 fetch VM12:1 241 B 376 ms` `admin-ajax.php?action=rest-nonce CORS error
   fetch VM12:1 0 B 392 ms`
 * In Console:
 *     ```
       VM12:1 POST https://example.eu/wp-json/contact-form-7/v1/contact-forms/242/feedback?_locale=user 403 
       VM12:1
       ```
   
 *     ```
       Access to fetch at 'https://example.eu/wp-admin/admin-ajax.php?action=rest-nonce' from origin 'https://webcache.googleusercontent.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. 
       search?q=cache:399MUcsdwokJ:https://example.eu/+&cd=1&hl=es&ct=clnk&gl=es:1
       ```
   
 *     ```
       GET https://example.eu/wp-admin/admin-ajax.php?action=rest-nonce net::ERR_FAILED
       VM12:1
       ```
   
 *     ```
       TypeError: Failed to fetch
       index.js?ver=5.4:1
       ```
   
    -  This reply was modified 5 years, 3 months ago by [josede](https://wordpress.org/support/users/josede/).
    -  This reply was modified 5 years, 3 months ago by [josede](https://wordpress.org/support/users/josede/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] webp images extra code](https://wordpress.org/support/topic/webp-images-extra-code/)
 *  Thread Starter [josede](https://wordpress.org/support/users/josede/)
 * (@josede)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/webp-images-extra-code/#post-14310349)
 * Its in media files, (/files is the main folder of media uploads). But the extra
   code html (custom pages), the files are uploaded by ftp.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Contact form 7 doesnt work for the cache?](https://wordpress.org/support/topic/contact-form-7-doesnt-work-for-the-cache/)
 *  Thread Starter [josede](https://wordpress.org/support/users/josede/)
 * (@josede)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/contact-form-7-doesnt-work-for-the-cache/#post-14308474)
 * Its weird. I opened the page from google.com “cache version”
    I have the same
   error with your solution.
 *     ```
       VM12:1 POST https://example.eu/wp-json/contact-form-7/v1/contact-forms/55/feedback?_locale=user 403
       (anonymous) @ VM12:1
       F @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       (anonymous) @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       tryCatch @ wp-polyfill.min.js?ver=7.4.4:1
       invoke @ wp-polyfill.min.js?ver=7.4.4:1
       t.<computed> @ wp-polyfill.min.js?ver=7.4.4:1
       n @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       a @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       (anonymous) @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       (anonymous) @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       (anonymous) @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       (anonymous) @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       I @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       (anonymous) @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       f @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       (anonymous) @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       I @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       (anonymous) @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       (anonymous) @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       f @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       (anonymous) @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       (anonymous) @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       t @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       (anonymous) @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       R @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       (anonymous) @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       (anonymous) @ index.js?ver=5.4:1
       (anonymous) @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       (anonymous) @ index.js?ver=5.4:1
       (anonymous) @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       X @ api-fetch.min.js?ver=a783d1f442d2abefc7d6dbd156a44561:2
       f @ index.js?ver=5.4:1
       (anonymous) @ index.js?ver=5.4:1
       Show 3 more frames
       search?q=cache:399MUcsdwokJ:https://example.eu/+&cd=1&hl=es&ct=clnk&gl=es:1 Access to fetch at 'https://example.eu/wp-admin/admin-ajax.php?action=rest-nonce' from origin 'https://webcache.googleusercontent.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
       VM12:1 GET https://example.eu/wp-admin/admin-ajax.php?action=rest-nonce net::ERR_FAILED
       ```
   
 * Should I add anything else in my HTML code? Related to ESI.
    -  This reply was modified 5 years, 4 months ago by [josede](https://wordpress.org/support/users/josede/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Condition address shop](https://wordpress.org/support/topic/condition-address-shop/)
 *  Thread Starter [josede](https://wordpress.org/support/users/josede/)
 * (@josede)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/condition-address-shop/#post-14289325)
 * Darren sorry for my english. Your code works. But I was looking not by product
   ID, for category from the product.
 * If a products/products, with specific category. Based on the category’s product
   bought.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Condition address shop](https://wordpress.org/support/topic/condition-address-shop/)
 *  Thread Starter [josede](https://wordpress.org/support/users/josede/)
 * (@josede)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/condition-address-shop/#post-14285592)
 * This works for pdf generation as well right? Thx
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Condition address shop](https://wordpress.org/support/topic/condition-address-shop/)
 *  Thread Starter [josede](https://wordpress.org/support/users/josede/)
 * (@josede)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/condition-address-shop/#post-14284859)
 * I want just a different address and company name for invoices that has a specific
   product.
 * If the product is A then “this address instead the default address”

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/users/josede/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/josede/replies/page/2/?output_format=md)