Hi,
My site is already running a few months and in the beginning all product displays were formatted okay, similar to demo theme.
Today i noticed my /product-tags/ and /product-category/ pages' main container isn't structured the way it should be.
You can witness yourself here : http://couture1.artstanding.be/product-category/swimwear
Indicated divs should be visible side by side, instead they now have parent-child relationship. So some </div> seems to be missing.
No customization on these taxonomy pages have been performed from my side, so i have no idea where this comes from.
Could you have a look at this ?
Thanks.
Hello,
We also cannot know why your website is not well-formatted on Product Category. You can check our demo on https://validator.w3.org/. It shows no error about HTML formatting.
However, we created a template file for all category pages to fix that error.
Thanks!
P/s: If you like our theme and our support service please vote 5* for this theme and leave some good comment on Themeforest. It's very important for our business. It will be the motivation that will make us create more quality theme and good quality customer support.
Hi Khoa,
Thanks a lot for this quick response ! Really appreciate it !
Since the template you seemed to have fixed is located on a copy of my live site, could you point me out the template name so i can bring it over to the live site ?
PS. Is it possible to vote twice 5* on themeforest ? Because i already did that before for your excellent support !
Forgot to mention i already experienced a similar issue, which i solved myself rather 'controversial', because i couldn't find the template that goes with the render attributes on the add-to-cart-form :
As you can see, i have added 5 </div> tags inside commerce-cart-add-to-cart-form.tpl because they were suddenly missing at the end of the rendered $form('attributes').
Not the most clean fix i aknownledge, but i couldn't find immediately the source template(s) behind this attributes form.
Thanks upfront if you could point me to this attributes template too !
PS. It looks more and more like hacky activities are the reason for all this.
Hello,
+ The template file is page--taxonomy.tpl.php(md_orenmode/template).
+ For the latest error above, can you please send me the link of the page which causes that error?
Thank you!
Hi,
1. Copied your page-taxonomy.tpl.php to live site and is now okay. Was this file somehow deleted you think ?
2. http://couture1.artstanding.be/product/benedict-handy is the page now apparantly still missing the add-to-cart (attributes) block. On http://couture.rawdesk.be/product/benedict-handy you can see the page after my dirty fix (adding /div's).
So: this render instruction is no longer returning closed div's : <?php print render($form['attributes']); ?>
Thanks!!
Hello,
1. Copied your page-taxonomy.tpl.php to live site and is now okay. Was this file somehow deleted you think ?
=> No, it was not. There is no page--taxonomy.tpl.php file in our original package that you download from Themeforest. We created that file to fix your error.
2. http://couture1.artstanding.be/product/benedict-handy is the page now apparantly still missing the add-to-cart (attributes) block. On http://couture.rawdesk.be/product/benedict-handy you can see the page after my dirty fix (adding /div's).
=> Please take a look at commerce-cart-add-to-cart-form.tpl.php file. Somehow the ADD TO CART form is nested within the "js-hide" div tag so it is hidden when viewing. Maybe you missed one or more </div>. Please check again on that file.
Thanks!
Hi,
We recieved your email via our contact form
The above code only prints attributes in form "add to cart". This theme does not have a specific file template for the code:
Custom attribute was gennerated above this following code:
Hi Cindy,
At 8am this morning (GMT+1), your site was offline.
It already tried your suggestion before : removing the js-hide classed div, but then somehow another div lower in the form is suddenly appearing and malformating the node-product.tpl. For example indenting the description tabs in the right portion of the page.
See attached screenshot :
But hence, this issue is low prio for me right now since i already bypassed it with my quick and dirty trick.
PS. Where can i find this php code you embedded in your post here above ?
I want to compare it with my version of this code.
Thx!
Paradoxx,
It is in file commerce-cart-add-to-cart-form.tpl.php.