Jump to content
thirty bees forum

Acer

Members
  • Posts

    345
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Acer

  1. Hi I'm having a similar problem in 30Bz 1.1.0, though for me it was working in 1.08. Also, note that JqZoom has been part of TB since earlier versions and the toggle to enable JqZoom is still available in version 1.1.0. I've created a new thread for this issue
  2. Hi On a fresh install of ThirtyBees 1.1.0, using any "built-in" theme: Naira, Community: Enabling JqZoom for product image is throwing an "Uncaught TypeError: $(...).zoom is not a function" error. Notes: The option to enable JqZoom has been available since the earliest version of 30Bz. This was working for me on 1.08 previously using Community The toggle to enable JqZoom is still in 1.1.0 The JqZoom code is still in product.js of the Community theme Also, it seems that both the jqzoom.js and .css files for JqZoom are being loaded (if I do view source) Please help with a fix if possible. Also, it would be great if we could continue to have this feature available in future versions of ThirtyBees. Error detail: product.js:194 Uncaught TypeError: $(...).zoom is not a function at initZoom (product.js:194) at displayImage (product.js:251) at HTMLAnchorElement.<anonymous> (product.js:290) at HTMLDocument.dispatch (jquery-1.11.0.min.js:3) at HTMLDocument.r.handle (jquery-1.11.0.min.js:3) Thanks in advance Update below * Update: So I've managed to get this "working" by replacing the contents of the 1.1.0 zoom file: "js\jquery\plugins\jqzoom\jquery.jqzoom.js" with the contents of a file that was loaded previously: "modules\ctconfiguration\views\js\vendor\jquery.zoom.min.js". And as if by magic, the error disappears and the zoom functionality works again. However, I suspect that this "fix" is grossly incorrect... It seems that "plugins\jqzoom\jquery.jqzoom.js" was also included in 1.08 previously and that "vendor\jquery.zoom.min.js" was loaded in 1.08 but not in 1.1.0 anymore. Somehow by calling "vendor\jquery.zoom.min.js", the zoom functionally works... but if it's left out, it doesn't work - even if "plugins\jqzoom\jquery.jqzoom.js" is loaded... An explanation and fix for this would be greatly appreciated...
  3. And also, for anyone reading this thread: The caveat or note with this solution is that it Nukes / deletes all Features pertaining to this product - and not just the ones that you're updating. This means that you will need to 'replace' all the product's features when doing an update - you can't just do an update on one feature only. So if you have 4 features on a product and only want to update 1, then you will need to remember to include all 4 features, and not just one in the CSV import when doing an update. If you only have one feature, then it will delete the other 3, and only import 1. This entire solution is geared to adding "updating feature values" with CSV Import to this free module (the module enables TB to have features with multiple values). https://github.com/jdanthinne/advancedfeaturesvalues If you're not using this module or do not need to update features with multiple values using CSV Import, then this solution is not necessary, as TB updates feature values (one value per feature) on import without needing to change any code. It's just with "multiple values per feature" that there is a problem. However, if you are using this module and need to update feature values when doing a CSV import, in \controllers\admin\AdminImportController.php file: you need to add the following (the part in bold) just after "if (!$validateOnly && isset($features['features']) && !empty($features['features'])) {" // Features import $features = get_object_vars($product); if (!$validateOnly && isset($features['features']) && !empty($features['features'])) { if ($forceIds || $matchRef) { $product->deleteFeatures(); } This deletes the target product's features and replaces it with what is specified in the CSV. Full credit to @Jonny for the solution to this problem, obviously 🙂
  4. Hi Jonny This is so strange - probably one of those weird formatting issues... I copied the code directly from the file (and not from your example) and added $product->deleteFeatures(); And now it works! (on initial tests anyway) Weird... I appreciate the reply back and solution, thank you. Will let you know if I encounter any issues with this during more thorough tests... (oh and the text editor I'm using is Sublime Text)
  5. Hi Jonny I've managed to test this today, and unfortunately it doesn't seem to be working... It gives me a 500 error on the CSV Import page when I try to add: if ($forceIds || $matchRef) { $product->deleteFeatures(); } As per above. In debug mode, it gives me the following error. Irrespective of whether I add curly brackets or not (notice your example did not have curly brackets for the if statement...) If I remove the curlies, it gives me an error on the foreach...
  6. Awesome! This helps 🙂 Thanks Jonny 🙂 Will try this later and will let you know.
  7. Ok cool, that's great to hear. By the way: The code above, it looks like it will always delete features (unless I'm mistaken). Is there anyway it will only fire if there are features specified in the CSV?
  8. Thanks for this... We will be using Panda for our site (all this is part of testing our requirements) - as the "Advancedfeaturesvalues" module overrides several files, I'm a bit concerned if it will work with Panda... As I know you haven't used this module before, do you maybe know of a module that does work with Panda - for "multiple feature values" -- for both layered navigation filter and product display (+ product list and comparison screens)? I can only test this on Panda if TB meets our testing requirements, then we will go ahead with TB and a Panda purchase... which makes testing before then a bit challenging in this case...
  9. Hi Jonny This is exactly what I'm looking for - so how do I do this?
  10. Hi Thanks for your reply Jonny. I'm using the native CSV import feature. However, I am using a free module to enable "multiple values for a feature" for both the product screen and the layered navigation filter. I suspect this is what's causing the issue... Kinda sucks that TB doesn't support multiple values for a feature yet - to avoid us using 3rd party modules to enable "basic" functionality... I may now be forced to go the paid route for both "feature value update with CSV" as well as "multiple values for a feature for both layered navigation, product page, comparison, product list and csv import". Perhaps you can recommend any good ones? This is the module I've been using to enable multiple values for a feature: https://github.com/jdanthinne/advancedfeaturesvalues
  11. Hi I've been battling with this one for a bit now. Maybe you guys know the answer? I'm currently testing Product Update with CSV Import, but I'm stuck trying to update or replace the Product's Feature Values. Instead of updating the feature values for this specific product, the system keeps on appending / adding the value to the feature. This is great when you want to have multiple values for a feature (more on this one in another post). However, this is not great when I need to update or replace a product's feature values. For example, I have a feature called "Rental price" and the initial value is "200". If I try to update this to "300", then the values allocated to this product is "200, 300". Is there any way that I can reset all feature values for a specific product with a CSV import? Similar perhaps to "deleting existing images" when doing a product image update? Also, I've tried to do "Custom position", but this does not show up in the filter / layered navigation - which is what I need. Please let me know if there is a solution or some way to do this with CSV import or if there is a good module that allows you to update / replace a product's feature values? Thanks in advance.
  12. Hi Rubben Thanks for encountering this issue and getting a fix 🙂 I appreciate it, as we are planning to use Panda + Panda Blog + Sitemap.xml - I suspect that I was going to run into the same issue... I haven't yet tested your solution, but I've downloaded and kept it for when I get to this point in development. Thanks, I appreciate it big time actually 🙂
  13. It would be helpful if there was information somewhere online that detailed what features the default CSV import functionality has. And if it can do what I need it to do. And if it has bugs or not and if it should even be attempted (there are reports that it has bugs) Asking the forum if it has certain features or not is a legitimate question imo. I will certainly be checking out the actual functionality on a test site. However, it would be helpful if I knew what it can / can't do without having to do trial / error. The time wasted could be spent actually looking for a paid module that fits our requirements.
  14. Hi Toplakd I'll have a look as recommended. However, it would be helpful if you could comment on what I was looking for? Perhaps there's information available online you can point me to? The info I'm looking for: Perhaps you can list all the features that the default import functionality has? Specifically I'm looking for the following: Create categories if they do not exist Product images Related products SEO: Keywords, Description SEO: Specify URL name Delete product Update product price Update product quantity
  15. Powerful and Free? They do walk hand-in-hand. Thirtybees anyone? lol Please see my specifications above. Currently looking for more info. Thanks
  16. I'm still new to 30Bz and just a bit nervous as I've heard of bugs and 'no success / fail per line checks' with the default import functionality in PS 1.6. I suppose not knowing all the features that the TB one has out the box may be contributing to my nervousness. Also, having been burnt by native import tools (i.e. Magento) in the past probably isn't helping either (hence the reason I mentioned Magmi as a solution) Perhaps you can list all the features that the default import functionality has? Specifically I'm looking for the following: Create categories if they do not exist Product images Related products SEO: Keywords, Description SEO: Specify URL name Delete product Update product price Update product quantity Any information and help is appreciated. Thanks!
  17. I'm curious that no one has yet replied to this...
  18. Hi I'm currently looking for a free and powerful CSV Product Import tool for Thirty Bees - similar in functionality to MAGMI - which I used successfully years ago on a Magento store. The functionality I'm looking for is similar to that posted by the original poster above. So far my Google searches have only come across expensive paid modules. Any suggestions? Thanks in advance.
  19. Hi I'm currently looking for a free and powerful CSV Product Import tool for Thirty Bees - similar in functionality to MAGMI - which I used successfully years ago on a Magento store. The functionality I'm looking for is similar to that posted by the original poster above. So far my Google searches have only come across expensive paid modules. Any suggestions? Thanks in advance.
Ă—
Ă—
  • Create New...