Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

OzBrowning

Member
  • Posts

    8
  • Joined

  • Last visited

  1. I was trying to use the tags to reduce the amount of data maintenance to be honest. Previously I was manually adding author to the description and manually linking it to the tag. Right now the JSON pull is adding a very small time to load, and it’s asynchronous anyway so the worst case is the author blinks in shortly after load. But generally it’s not noticeable. I think this is the best balance I’m going to find!
  2. Oh, one problem with this method is that all the tags are lower case. This would be problematic for me because the tags are author names with varying capitalisation (e.g. a surname like McCoy). I think I will have to stick to the JSON method, but thanks for this alternative which I expect will be very helpful for others searching for this information.
  3. Thank you both for this! As you say, this is certain to be quicker. I will try to implement it today.
  4. Hi, thanks for the response. I figured out how to do this last night, but it is a little slow. I used jquery to get the json for the current page and then render the item.tags array as a list of HTML a elements, which I then add into the design using jquery .after. I gave the resulting element a class so I can style it using custom css. However this is quite slow, and I think there might be a quicker and easier method so I will keep investigating.
  5. Site URL: https://www.rookspress.com/products/babel Hi, Does anyone know if it is possible to use code injection and jquery to display a list of a product's tags on the product page? Thanks, Oz
  6. Thanks Paul, I was worried about the blanks, I presume that getting it to 'skip over' blanks is not going to be possible as it would require changing the way the product summaries are programmed? If so I'll probably just live with the sold out elements being visible, and use it as incentive to restock!
  7. Hi Tuanphan, not yet. The theme doesn't seem to have an ID for sold-out product blocks, so I think that means I'd have to use jquery which is outside of my expertise.
  8. Site URL: https://www.rookspress.com/featured Hi, is it possible to exclude sold out items from summary blocks on the Wells template? Ideally I would like them to be excluded completely, i.e. no blank spaces. The blocks are on the following page: https://www.rookspress.com/featured Thanks, Oz
×
×
  • Create New...