Mxkert Student

  • Male
  • 24
  • from Naaldwijk
  • Member since Feb 28th 2019
  • Last Activity:
Posts
43
Likes Received
3
Points
313
Profile Hits
93
  • Mxkert

    Replied to the thread Importing assets.
    Post
    Well a lot of assets do get imported correctly. I ran the importer 5 times, and all the images that are imported correct, show up 5 times (imported correctly) and the assets that are imported as blank/broken images, show up 5 times as broken images, so…
  • Mxkert

    Like (Post)
    (Quote from swood85)

    Ah that's a shame. Well I hope the project went well otherwise.


    Though, since you addressed me by name I'd like to mention that I'm disappointed you have labelled this as "lack of support" because:
    1. Drew tried to help you and there
  • Mxkert

    Replied to the thread Importing assets.
    Post
    Oh sorry, I am using the Assets importer to import photos from products using an API.
  • Hi Mike,

    You can change the PHP maximum execution time in your PHP configuration file. Or you can use set_time_limit() if you only need to change the limit when running this script.
  • Mxkert

    Post
    Thank you, Hussein!
  • Mxkert

    Replied to the thread Perch API - Get sku from product.
    Post
    (Quote from hus_hmd)


    Thank you for this, I think I can use this very well.

    Regarding the product SKU's, I found a solution by looking for the productID in the database and getting the SKU from that productID:
    (Code, 1 line)

  • Mxkert

    Posted the thread Importing assets.
    Thread
    Hello,

    When importing assets I am getting the following errors on some of the assets:
    (Code, 1 line)

    Does this mean that the file size is too big? Approx 50% of the images get uploaded just fine, but the rest are broken images displayed in the assets…
  • Mxkert

    Post
    Byron, thank you for this example, it helped me a lot!

    Yes I had a repeater field for the product images, because not all products have the same amount of images. But I could make individual image fields in my template, like image1, image2 etc. to work…
  • Mxkert

    Like (Post)
    You'll need to use both importers. First you'll need to import the images to assets, then assign then product fields with the appropriate assets. This is a short snippet of how we approached the issue for blog posts. We had all the images stored in a…
  • Thanks for this. I'm also concerned with creating a facility for Members to write to their profiles with images and other text content. Understanding this and implementing this would be a great leap forward for the app. Looking forward to some traction…
  • Mxkert

    Replied to the thread Perch API - Get sku from product.
    Post
    Well I am extending the PerchShop_Order.class.php to send the order through an external API. For that I am using the following code:

    (Code, 16 lines)


    Now I hardcoded the productcode (SKU) and the quantity and it is working fine. But now I have to get…
  • Mxkert

    Thread
    Hello,

    Is it possible to import the images from a product with PerchShopProductImporter instead of the AssetImporter?
    The JSON data is as follows (with multiple images in the array per product):

    (Code, 9 lines)

  • Hello,

    I am importing a lot of assets, but after some time I get a maximum execution time error. The error:
    (Code, 1 line)

    How can I increase this maximum execution time?

    Thanks,
    Mike
  • Mxkert

    Thread
    Hello,

    I am trying to get the sku from a product, using the product id which I am getting from a shop order.
    Could anyone tell me how I can get the sku from the following product:

    (Code, 2 lines)

  • Mxkert

    Replied to the thread Latest blogpost on homepage.
    Post
    You could use something like this:

    (Code, 8 lines)

  • Mxkert

    Replied to the thread Perch Shop - Edit Country List.
    Post
    In the database from the table perch3_shop_countries you could delete all countries, except the UK.
  • Mxkert

    Replied to the thread Spam e-mails.
    Post
    I am using Google Recaptcha for a lot of clients, but some clients keep getting empty spam mails, daily. Also since this week a chinese e-mailadres (*@qq.com) sends 1000+ spam mails to a couple of clients in the course of an hour or so, which recaptcha…
  • Mxkert

    Posted the thread Spam e-mails.
    Thread
    Hello,

    For months on end our clients are receiving spam e-mails. A lot of the spam e-mails are e-mails with all empty fields, even though the form can not be submitted when a field is empty. On the old forum I came across the Akismet option for…
  • Mxkert

    Post
    I guess I will have to wait to be able to exclude if it is coming from queued up emails.
  • Mxkert

    Post
    I was guessing the same, but it is ongoing for two hours now. I have 3074 responses on my form now, all from *qq.com (random number in front) and all with phone number: 8645577844