Author Topic: Random 'W' in all product listings!  (Read 562 times)

fing086

  • Beginner
  • *
  • Posts: 11
  • A beginner
Random 'W' in all product listings!
« on: September 23, 2020, 23:19:40 pm »
Can anyone please point me in the direction of how to get rid of the 'W' that is circled in the attached image.
Its in every product but not part of any description text anywhere.
Even appears on fresh new uncloned products!
I just cant see where its coming from, even when looking at the source from within the browser!
Thanks in advance

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 709
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Random 'W' in all product listings!
« Reply #1 on: September 23, 2020, 23:26:12 pm »
Can you send html code or URL adress?
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

fing086

  • Beginner
  • *
  • Posts: 11
  • A beginner

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3048
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Random 'W' in all product listings!
« Reply #3 on: September 24, 2020, 00:12:18 am »
Someone has edited the template files and left an error in the product details file, probably ;
/templates/your template/html/com_virtuemart/productdetails/default.php

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

fing086

  • Beginner
  • *
  • Posts: 11
  • A beginner
Re: Random 'W' in all product listings!
« Reply #4 on: September 24, 2020, 00:18:27 am »
Ok, thank you very much for your prompt advise.
Ill take a look at that file, no wonder I couldn’t find it... and this is a paid for professional template!
Ill let the template designer know also.


pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 709
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Random 'W' in all product listings!
« Reply #5 on: September 24, 2020, 02:09:55 am »
Quote
Someone has edited the template files and left an error in the product details file, probably ;
/templates/your template/html/com_virtuemart/productdetails/default.php

Yes, without URL and look inside inspect element code, this is  the first most likely option.

But is possible the error is inside implementation paypal, this, I think, was added later.

Definitelly, the error is between "product-short-description" and solution for paypal (custom code putted inside php code for product default template).

Meybe is in this file or inside plugin which put the Paypal code.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3048
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Random 'W' in all product listings!
« Reply #6 on: September 24, 2020, 07:13:04 am »
From what i see this is inside the Short description container...
Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 709
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Random 'W' in all product listings!
« Reply #7 on: September 24, 2020, 11:39:08 am »
nop, after this or maybe this div is have not end element corectly.

But first time I try find problem in paypal code.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

fing086

  • Beginner
  • *
  • Posts: 11
  • A beginner
Re: Random 'W' in all product listings!
« Reply #8 on: September 24, 2020, 11:47:31 am »
Yeah, I already disabled the paypal plugin as that was my first thought.
Rather than mess about, im getting the template author to sort it out as no doubt its an error in the originally supplied files.
Also the site is running really slow and they can look at that as well!

Thanks for pointing me in the right direction and letting me know it wasnt something I was missing or doing wrong :)
Very much appreciated.

fing086

  • Beginner
  • *
  • Posts: 11
  • A beginner
Re: Random 'W' in all product listings!
« Reply #9 on: September 24, 2020, 16:26:43 pm »
A response from the template author:

Using your FTP access we checked the templates files - we checked website without template overrides and a "W" letter is still there. Looking closer into the code generated in web browser a "W" letter comes with PayPal plugin and has nothing to do with the template code.

Where do I go from here as I dont have this issue on other Virtuemart sites I run, both using the authors other templates and by installing Virtuemart separately?

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3048
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Random 'W' in all product listings!
« Reply #10 on: September 24, 2020, 19:20:25 pm »
If it really disappears with PayPal plugin, even though You have said otherwise:
Quote
Yeah, I already disabled the paypal plugin as that was my first thought.

You should check all the settings in backend for the PayPal payment method.

PayPal checkout ? If that is not something controlled from the PayPal settings, You some extra plugin to disable.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

fing086

  • Beginner
  • *
  • Posts: 11
  • A beginner
Re: Random 'W' in all product listings!
« Reply #11 on: September 30, 2020, 12:39:33 pm »
Hi, thanks for the continued advice.
I removed paypal completely and even added another payment method but the W is still there.
In the code for that page (found using Chrome) I found the following

<div class="product-short-description"><span class="module-arrow"></span>
               Acrylic Bookmarks. available in a variety of colours            </div>
                    W<br><div class="product-price" id="productPrice107" data-vm="product-prices">

However, there is no 'W' in the short description as this looks like its pointing to.
All I really need to do (I think) is find the code that controls the product layout pages and hopefully this is where I will find the error, but I dont know which file this could be and 'W' is hard to search for as its not a string of letters!!

The Author is now not responding to my requests to sort this out .

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 709
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Random 'W' in all product listings!
« Reply #12 on: September 30, 2020, 13:18:31 pm »
Quote
All I really need to do (I think) is find the code

Maybe with login to FTP and some money ? :)
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27886
  • Always on vacation
    • Jenkin Hill Internet
Re: Random 'W' in all product listings!
« Reply #13 on: September 30, 2020, 15:02:58 pm »
The problem we have here is that your template is using overrides to the standard template files.

From the location of the "w" it is most likely coming from one of two sublayout files, probably templates/coga/html/com_virtuemart/sublayouts/products.php 

Look in that file after <?php // Product Short Description   where you may find that w somewhere before the prices sublayout is called (by echo shopFunctionsF::renderVmSubLayout('prices',  or silimar).

Otherwise check the prices.php sublayout itself.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.8.5 10338 on Joomla 3.9.22 PHP 7.4.9

fing086

  • Beginner
  • *
  • Posts: 11
  • A beginner
Re: Random 'W' in all product listings!
« Reply #14 on: September 30, 2020, 15:37:18 pm »
I only have addtocart addtocartbar and customfields (php files) and index.html in there and none point to a lone 'W'
Looked in prices.php in com-virtuemart and nothing in there either.

However, what you have said is basically where I am trying to look within code wise.