• Resolved codevesperia

    (@codevesperia)


    Hello,
    I’d like to know if there is a way to change the “Category” label on a catalogue, maybe on a translation file ? (I didn’t find it =/ )
    You can see on my screenshot ( https://image.ibb.co/dSDyQJ/Change_this.png ) the label I want to edit. I’m searching for a free option. If it is a premium-only feature, please let me kow and explain me where I can find it (but I’m pretty sure it’s possible without premium-features, since it’s only a small modification on a text on the code, right?)

    Thank you!

    • This topic was modified 5 years, 10 months ago by codevesperia.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi codevesperia,

    There’s a few ways to do this:

    If you’re a premium user:

    Go to the UPC settings, click “Options” -> “Labelling” and add your new text under the “Sidebar” column options.

    If you’re not a premium user:

    1) You can manually edit the code in Shortcodes.php (note: if you’re not familiar with PHP code, this may not be the best option).

    2) If you have something like Loco Translate installed, you can try clicking “Product Catalog” under the Bundle name, selecting the site language in the list (e.g. “French (France)”).
    From there, search for “Categories:”, click on the listing in the Source text section and change the text in the “French (France) translation:” box below. After that, click the blue Save button.

    Thread Starter codevesperia

    (@codevesperia)

    Well before this I managed to do it with custom CSS with this code :

    #prod-cat-sidebar-category-title->h3{
      text-indent: -9999px;
      line-height: 0; /* Collapse the original line */
    }
    #prod-cat-sidebar-category-title->h3:after {
      content: "ORIGINALNAME:";
      text-indent: 0;
      display: block;
      line-height: initial; /* New content takes up original line height */
    }
    #prod-cat-sidebar-subcategory-title->h3{
      text-indent: -9999px;
      line-height: 0; /* Collapse the original line */
    }
    #prod-cat-sidebar-subcategory-title->h3:after {
      content: "NEWNAME :";
      text-indent: 0;
      display: block;
      line-height: initial; /* New content takes up original line height */
    }

    But I’ll try your second suggestion, it sounds cleaner! Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to edit the Category label’ is closed to new replies.