Jump to content
thirty bees forum

DarkHorse

Trusted Members
  • Posts

    22
  • Joined

  • Last visited

  • Days Won

    1

DarkHorse last won the day on April 14 2022

DarkHorse had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

DarkHorse's Achievements

Newbie

Newbie (1/14)

  • Reacting Well Rare
  • First Post
  • Collaborator Rare
  • Week One Done
  • One Month Later

Recent Badges

6

Reputation

  1. I just ditched Storemanager... last straw was activation of my lifetime license was refused when I attempted to install it on a new (replacement) laptop. And I still have not forgotten the roughly week long outage a couple years ago from their licensing server going down. I came to also realize after that - that should I be without internet for an extended period, I would face the same licensing "shutdown" until I reconnected - so NOT independent as they claim. They swore to me that this would never happen when I purchased their highest dollar version, because I wanted POS capability as well. The theory is great, the implementation not so much. Lots of bugs (product position was one they never figured out for me, and when my support expired waiting on this bug fix, they demanded I pay renewal to get the bug fix - the first 3 of which did not work). Anyway, I was forced to ditch Storemanager because of being unable to reinstall on a replacement laptop (even though I had a 2 seat license) when the old C drive began having issues. I would love to see someone do a better job of creating a replacement for that software... but I won't be holding my breath. 😞
  2. I don't understand your approach... You are making structural changes to the data layer to accomplish a modification that should be manipulated in the presentation layer? If so, this is totally against any Client-Server or MVC architecture best practices that I am aware of. This type of modification should be performed within the theme (presentation or view layer) or the controller layer (and only those bits necessary to communicate between the two laters) as there is no need to modify the (information model or) database layer to accomplish this purpose. The appropriate changes to /themes/theme-name/product-list-item.tpl would accomplish this (using a custom theme or a child theme) and likely never cause an issue with future updates.
  3. ^^ Just use wakabayashi's code above ^^ For those who might run across this after TB 1.3.0
  4. While this technique worked in PS 1.6.x for me, it does not work in my configuration of TB 1.3.0 and Panda 1.5.5. Using the Panda 1.5.5 Theme - this caused a different behavior; the breadcrumb had the correct text, but the last category "breadcrumb" displayed contained the url to the product page instead of the category. After digging through Tools.php and productController.php, it dawned on me that the last breadcrumb was being modified somewhere else... enter /themes/panda/breadcrumb.tpl I am including the entire code section so you can see what I commented out. I'm currently pressed for time in this migration effort, so eventually I will come back and clean this up a bit more (beginning line is ~28): {if !empty($path)} {* Extract bradcrumb links from anchors *} {$matchCount = preg_match_all('/<a.+?href="(.+?)"[^>]*>([^<]*)<\/a>/', $path, $matches)} {$breadcrumbs = []} {for $i=0; $i<$matchCount; $i++} {$breadcrumbs[] = ['url' => $matches[1][$i], 'title' => $matches[2][$i]]} {/for} {* Extract the last breadcrumb which is not link, it's plain text or text inside span *} {* $match = preg_match("/>([^<]+)(?:(?:<\/\w+>)*\s*)?$/", $path, $matches) *} {* if !empty($matches[1]) *} {* $breadcrumbs[] = ['url' => '', 'title' => $matches[1]] *} {* elseif !$match && !$matchCount *} {* $breadcrumbs[] = ['url' => '', 'title' => $path] *} {* /if *} {/if} By removing the "Extract the last breadcrumb..." code block, the entire product name and the associated link that was getting added to the last item in the breadcrumb is now removed with no other modifications necessary in the code or the overrides. Hope this helps somebody else out!
  5. The following error appeared while accessing Customer Service Messages in migration site: Warning on line 402 in file controllers/admin/AdminCustomerThreadsController.php [2] count(): Parameter must be an array or an object that implements Countable The following fix at line 402 is required because the initial code checking the $errors array is in reverse order: Original line: if (count($errors) && is_array($errors)) { Corrected line: if (is_array($errors) && count($errors)) {
  6. You need to place your webfonts in the /theme/panda/fonts/ folder and in the /theme/panda/css/autoload/ folder you need to upload a stylesheet that correctly references those fonts. example of part of my /theme/panda/fonts/ folder contents: example of my /theme/panda/css/autoload/fondamento.css file: /* * Fondamento 1.000 by Brian J. Bonislawsky DBA Astigmatic (AOETI) * License - The Font(s) referenced below is/are licensed under the SIL Open Font License, Version 1.1. * Prestashop local source style created and Copyright (c) 2016 by Obewanz - free for use without modifications. */ /* FONT PATH * -------------------------- */ @font-face { font-family: 'fondamentoregular'; src: url('../../fonts/fondamento-regular-webfont.eot'); src: url('../../fonts/fondamento-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../../fonts/fondamento-regular-webfont.woff2') format('woff2'), url('../../fonts/fondamento-regular-webfont.woff') format('woff'), url('../../fonts/fondamento-regular-webfont.ttf') format('truetype'), url('../../fonts/fondamento-regular-webfont.svg#fondamentoregular') format('svg'); font-weight: normal; font-style: normal; } /* assigns this font to the following class(es) to be used within the store by simply referencing the font name as a class */ .fondamento{ font-family:fondamentoregular; } Hope that helps.
  7. Since I don't use github unless forced to, for future reference - a link would be helpful... but I will try to find where to post this anyway.
  8. So I have basically two issues with the module stated above. The first issue is that the review popup is missing the id_product value in the url for the product image: https://mydevelopmentsite/-medium_default/warlord-necropolis-skeletal-warrior-grunt.jpg I really haven't started to debug this yet because depending on the cause it should be fairly easy - just annoying that something this egregiously defective has made it into a released copy of code from the TB Team. The second issue is that the "Reported" reviews list is essentially an exact duplicate of all of the reviews in the tables while the tb_product_comment_report table is actually empty. [Screenshots attached] I have other more pressing issues to fix for my migration first, but thought I would post this here now and see if anyone has found solutions to these issues already. Thanks!
  9. Well, I'm gonna have to throw my current host into this mix... https://www.webhostpython.com/ I have to say, overall, and for the money it costs me, I am quite satisfied with their hosting services. So much so that I have moved a couple of my domain registrations over to them as well. I currently host 4 sites and 6 domains on shared hosting plans. One of those sites receives over 40k visits a month every month, 3 of them are wordpress sites, and my PS/TB site (still migrating) currently has a 14,600+ item catalog, about 300 regular repeat customers plus a few hundred not so regular, a wordpress blog, a forum that was recently discontinued for management reasons, and my own bit.ly style mini-urls processing site. I am renewing all of the above for the 4th year now. If you do check them out, and you end up conversing with James, tell him that Dark Horse sent you.
  10. THANK YOU!!! That was it... Following this thread to the foreach carrier.instance mod lead to the problem being fixed! I have modified the carrier.instance variable display lines which occur outside the scope - after the foreach loops in the following files: order-carrier.tpl, order-carrier-opc-advanced.tpl, and order-carrier-advanced.tpl Now I just have to get my PayPal US, Canada module working and I can do my testing for the final migration. I've put this off since a little before the TB 1.0.0 release because of the technical hurdles, but I'm starting to feel pretty good about migrating from PS1.6.1.4 to TB1.3.0 and Panda 1.3.0 given the progress made in the last week.
  11. I have the encrypted download file that it generates, but that doesn't do me any good. I've migrated everything over but inventory and customer data to a test site for thirty bees using the Panda 1.3.0 theme. Everything I have checked so far on the site appears to be working fine, except the paypal module. so I uninstalled that module and installed the payment by check v2.7.2 just to test processing an order from start to finish - boom! when I viewed the cart (configured with one-page-checkout) I get a 500 server error. With debug on it gives me the following error: Cannot use object of type Carrier as array when rendering smarty template themes/panda/./order-carrier.tpl Honestly, I've hardly ever used the debug feature on PS 1.6, but I'm a bit stuck on this one at the moment.
  12. May be... but how many other people have read the thread between the time it went "dormant" and now without having an opposing position presented regarding the licensing or subscription services?? 😏
  13. I haven't used a newsletter in over a decade... but obviously I am exploring a return to that model. That said, I wouldn't use a subscription service for this purpose under any circumstances. As a matter of fact, I would simply retire and go fishing all day every day if my only option became SAAS or subscription only services... and I hate fishing!
  14. It has not been for 2 years already Typically anything created under the OSL 3.0 license and submitted to the public domain forbids changing license conditions later - especially if ANY of the code was contributed under an open source collaboration. Thus "You cannot place additional restrictions on the licensee's exercise of the license" at a later date. I have written a fair amount of code over the years for open source software, both original stuff and debugging existing code - I don't ever assume to have control over that code once it has been released into the public domain - and neither should you. ...Just sayin'
×
×
  • Create New...