Jump to content

Meddysong

Clients
  • Posts

    2,172
  • Joined

  • Last visited

  • Days Won

    3

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Meddysong

  1. I've just had a thought, Mark. Since Commerce knows a user's location in order to provide the appropriate shipping rates to a product, I could add something to the description to explain to our UK-based customers why we've done what we've done, inviting those who want multiple copies to contact us. What would be the snippet I would need to run the location check, please?  

  2. 1 hour ago, opentype said:

    But this system can also lead to situations where two items could be combined into one package but the system just can’t know it and charges twice. 

    Ah, it's not just us then. Thank you for taking the time to drop me a line.

    1 hour ago, Mark said:

    There's no particular reason you have to give Commerce the correct weight. For example, for any items which exceed the "large letter" dimensions, just tell Commerce that it weighs 1kg, even if it weighs less.

    Yes, that would work. (Except for the scenario where people want to buy multiples of them, I suppose. 10 copies would still weigh under the 2kg cut-off for Small Parcel ordinarily.)

    EasyPost looks dauntingly impressive, but I'm afraid I wouldn't have the faintest clue where to start. Setting the weight to 1kg seems to be the way we'll have to go.

  3. We have a rather silly system here in the UK for our shipping rates. As you might expect, they're banded by weight. As the package weighs more, the price you pay to ship it increases. That side of things is fine.

    However, we have a complicating factor: if your product exceeds certain physical dimensions, then you have to start from a different band. Large Letter in this diagram applies only to packages which don't exceed a certain physical size. If they do, then they're not Large Letters but Small Parcels, even if they don't weigh very much.

    rates.jpg.4be078fedaf3f0bdf24a8134ce953e80.jpg

    In my example, I have a book which weighs 184g. Ordinarily, you would think that the cost would be £1.40 for 2nd class postage.

    Not in this case, however; once it's in an envelope, the book's width slightly exceeds the permitted dimensions to be classed as a Large Letter, and is automatically considered to be a Small Parcel, the starting rate of which is £3.10. (Even though in the official price matrix, a small parcel starts at 1kg. As I said, this is a silly system. So silly, that the firm can't even tabulate it.)

    So, how can I handle this in Commerce? One situation might be to set up a new matrix for these oversized items where the categories Letter and Large Letter aren't present. The problem there is that if a consumer buys this oversized good and a normal good with the usual shipping rate, then this happens:

    rates.jpg.28c5148a52f0ff5282607de5b8a3549e.jpg

    The poor customer is now paying two lots of £3.10, even though the combined weight of these two means that she should only expect to pay that once because the total package is under 2kg. She's not to know that there's a complicating factor here.

    Does anybody have any idea how to work around this scenario within Commerce? I know that @Mark is a Brit so I'm half-hoping that he boy-geniused this with our silly system in mind when developing the app.

  4. 3 hours ago, Justinh4x said:

    It only appears as installed on the plugins section.

    That's exactly where you're supposed to find the settings plugin. There are two files to install. The other file is for the templates.

  5. 3 hours ago, Morrigan said:

    You would have to do it at the block/page level because currently there is no way to do it otherwise. You would add something like this around the block @Jorge Varela

    
    {if \IPS\Member::loggedIn()->language()->bcp47() == 'en-US'}
    Block stuff here for English
    {{endif}}

    Replacing en-US with the language for the respective block.

    Yes, that works. It's also a fair bit to type, so in my site I have it in a shorter form:

    {{if member.language()->id === 1 }}
    	English
    {{else}}
    	Esperanto
    {{endif}}

    en_US in my site has the id 1. You'll have to adjust your code as necessary.

  6. That's normal. It means that there's no new content in that forum. Your users will see the full-colour versions usually unless they've already read everything.

    Do you still want to overwrite that functionality now that you know what it's for? If so, adding the following to your custom.css should work:

    .ipsItemStatus.ipsItemStatus_read {
        opacity: 1;
    }

     

  7. Not a support request, so you might get aggrieved at my already going off-topic, but this looks great! This is another beautiful products added to the Super range. I particularly like the clever idea to create a search box which only checks for results within that particular database. Such a good idea!

  8. This doesn't appear to have been fixed in 4.4, unfortunately. I've just tried it on an untouched default theme. In a couple of my menu items everything is perfect; but it never works at all with Activity.

    As far as I can tell the difference is that there are items in the secondary menu for those items which also have a dropdown menu. The presence of the secondary navbar seems to prevent the break in the hover. In the unsuccessful instance, there is no secondary navbar and the hover state breaks. I'll report it to support in the hope of a fix because I've just lost a couple of hours trying to fix this on my theme. If it doesn't work with the default, then I think it probably lies with IPS to squash that bug.

  9. 2 hours ago, craigf136 said:

    What I’m trying to say is, that the pages category images app in my view, should be doing that by default?

    How could it? Producing that output relies on script being added to Pages template sets. How is the plugin supposed to know where and in which template sets to add the relevant call? Even if it's done by guesswork, what then when users decide that they didn't want it to be used in that way, that their font doesn't suit the image etc?

    I don't think anything unreasonable is being asked here. The plugin makes it possible for users to easily add an image whereever they choose within their Pages databases. They still need to add the relevant code. It's a tool to facilitate customisation. The end user still has to make the changes they desire, it's just a lot easier with this plugin than it was before.

  10. On 3/24/2019 at 10:45 AM, Maxxius said:

    Nobody in their right mind would translate ACP which if I remember correctly from 3.4 days is like 2/3 of the whole suite while forums makes up about 1/3 or total strings.

    My last project was handed over to an admin team which consists of people who natively speak German, French, Japanese, English and Portuguese. Their working language, the only one they have in common, is Esperanto. Am I not in my right mind to have translated the ACP into their common language, bearing in mind that they don't all speak English? 

  11. 10 minutes ago, Sonya* said:

    Additionally I wish I could filter only language strings from one application or plugin. At the moment I can sort by plugin or application but I have 861 pages in the languages translation and it take a lot of time for me to get to the page, where the application or plugin begins. E. g. if it starts on the page 564 I have to find it out first browsing page by page till I get there. 

    Yes, that's exactly my problem. I have only a handful of translations to do for Forums but I don't know in which 2- or 3-page sequence they come among the 300 pages of untranslated strings (mostly Commerce). Locating them is a very slow process.

  12.  

    2 minutes ago, levsha said:

    @OpenType Tell me when to wait for the update for 4.4.0? but then I have all the articles on your mods made, now I can not run out at all ..

     

    4 hours ago, Nathan Explosion said:

    Did you check the compatibility field on the download's page?

  13. A tip for people using Pages Category Images and getting broken images.

    When I started using it, $category->pcimage and {file="$category->pcimage"} were producing full URLs but <img src='{file="$category->pcimage"}'> was only stopping at my Amazon S3 bucket; it didn't contain the full URL with the filename and extension. When I pasted the full URL into my browser, I got an error message.

    The reason is because URLs were being created to my Amazon S3 account, which is where I store my Pages media. Pages Category Images has its own setting in  System > Overview > Files > click Storage Settings, which by default is set to file system, using the server where the suite is installed. This means that my category images were being uploaded to a place on my server whilst the system was looking for them on my S3 account alongside the other Pages media.

    I solved the problem by changing the storage method of Pages Category Images to S3 and within seconds the images were displaying.

×
×
  • Create New...