Community Forum

If you have questions about my software, chances are this forum has the answers.

You'll need to register before you can post on the forum to ask your question or to answer another one. A reply will be posted to each and every question that is asked so there is no need to double post or bump your post. I do my best to answer promptly but in some cases it may take a day or two. If you bump your post, it may be removed. Bear with me and I`ll get your question answered quickly.

Here are a few tips to help you to get your questions answered more rapidly.

IMPORTANT: Posts in English only. I don't have a translator and I'll be unable to understand your message properly and will probably delete it.
SEARCH: Use the search option to see if your question has been answered on the forum before now or if there is an answer in the documentation of your software.
PERSONAL SUPPORT: If you have purchased a commercial version of any software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
LINKS: Any links posted are not clickable and must be copied / pasted into your browser address bar.

You are not logged in.

#1 zoldos 03-03-2021 09:33:02

Hi David!  I have another template question. smile  I want to remove the "more" link from the product short description.  See screenshot.

I looked in product.tpl.php but couldn't find it.  Can you help?  Thanks! big_smile

#2 msworld 04-03-2021 07:05:15

The actual link is:
content/_theme_default/html/categories/category-full-desc-link.htm

To remove, open the 'control/classes/class.products.php' file and find the 'mc_descriptionMoreLink' function. Change to return just the $text var;

public function mc_descriptionMoreLink($text, $id) {
    return $text;
  }

It is optional via the options (new) config file in 3.9.

#3 zoldos 04-03-2021 07:13:24

Wicked.  Thanks! big_smile

#4 msworld 04-03-2021 07:15:03

The option in the settings controls the text shown. That also now disables it if set to 0, but I'm not sure about 3.8. You can try it:

General Settings > Settings Menu > General Product/Store Options > Max Product Desc Characters on Category Pages

#5 zoldos 04-03-2021 07:18:58

I actually removed references to categories as well as the breadcrumbs.  I only have one product now, and have slimmed down the templates quite a bit.  I also made the header sticky. smile

#6 msworld 04-03-2021 07:30:15

No problem, sounds like you are having fun. lol.

#7 zoldos 04-03-2021 07:33:13

Yes!  I love customization and making my sites look unique. smile

Last edited by zoldos (04-03-2021 07:33:25)

#8 zoldos 04-03-2021 07:45:17

One more question.  I want to move the "Add to basket" button directly next to "Product Information" (or in my case, "View Details") in product short view.  See screenshot. smile

big_smile

#9 msworld 05-03-2021 16:20:03

All the files will be in:
content/_theme_default/html/categories/*

The view details button will be here:
content/_theme_default/html/categories/category-product-link.htm

Add to basket here:
content/_theme_default/html/categories/category-addtobasket-button.htm

Both load in the wrapper files as {product_link} and {en_basket} respectively.

content/_theme_default/html/categories/category-product-list-view.htm
content/_theme_default/html/categories/category-product-grid-view.htm

smile

#10 zoldos 06-03-2021 02:34:03

Awesome, thanks so much! smile

#11 msworld 06-03-2021 10:28:01

You are welcome. smile

Board footer

Maian Script World - Free PHP Software for Personal or Business Use.
© 2003-2021 Maian Script World & David Ian Bennett.

2Checkout.com is an authorized reseller of goods and services provided by Maian Script World

Free PHP Software / Responsive PHP Scripts / Lightweight PHP Software / White Label PHP Software