Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • I would just like to say that, even though I am using AstraPro and ElementorPro, and even though their support people either don’t seem to understand the nature of this problem or regard it as a “feature” for the future (rather than a bug, which is how I regard it), I was able to fix it with a combination of this plugin and the code from post 2 of this thread, namely:
    .woocommerce-page.columns-4 ul.products li.product:nth-child(4n), .woocommerce.columns-4 ul.products li.product:nth-child(4n) {
    clear: none;
    }

    So @320up, thank you, thank you, thank you!

    -Ron

    I asked to replace ( ” ) because when you copy direct from webpage sometime quote marks converts to different character. (” “) like check these two both are quotes but different. So I asked to delete and replace or re-add quote marks around the attribute values.

    Thank you for the clarification. Very helpful.

    Second is this plugin don’t use any css of itself. It take woocommerce default css to style the display of products. So you can use your own theme’s or custom css to style them.

    Thx also for this; seems to work this way in my case.

    Third is product_id attribute. You need to replace the product_id=”Product ID” to product_id=”Some product’s ID of which crosssells you want to display”. This attribute need a product id and if you just don’t use product_id attribute it just take current product’s id and show its crosssells.

    Ah, but that’s the goal, isn’t it? The point of this plugin is to show the cross-sells on the single product page, no? So the default – omitting the product_id attribute – works well for that. At least for me.

    Thx again. Will post back if I see any other issue.

    Thread Starter rkl122

    (@rkl122)

    Hi LogicFire, Thank you for the quick fix and response! No more warning message. (I’ll look at your code to see how you did it, since I’m trying to learn PHP.)

    Additionally, the problem I was having with the title string – mentioned in a neighboring thread – is gone. Thank you. As regards the product_id issue mentioned in that thread, I’m still not using it in the shortcode invocation, but getting the output I want. Will continue to test, and may have a comment about this for that other thread.

    Thanks again.

    Hey, thank you for this important clue. When I remove that product_ID parameter, the plugin works for me – no quotation marks – except that it only shows the title UP TO the first space (blank character). Image sizes are ok without any added CSS. I still get the warning message when there is no cross sell product, but I can make that go away by removing the sizeof() test in the PHP IF statement.

    I don’t think you’re doing anything wrong. I think logicfire should check the PHP more closely.

    Thanks.

    Same error here. I’m newbie. Is this something we can fix ourselves? How?

    I experienced similar issues, but quickly overcame by following the advice to export a JSON of a few quotes I had entered manually. Thank you! One additional point: it’s not necessary to reinstall the plug if you get blank entries. They can be bulk deleted. Deletion will not reset the index number queue, as is SOP for relational database systems. For anyone wondering, importing a JSON file will not cause deletion of prior (manual) entries.

Viewing 6 replies - 1 through 6 (of 6 total)